Input 8

PreviousNext

An input field with fully rounded borders for a modern appearance

Docs
shadcn-studiocomponent

Preview

Loading preview…
registry/new-york/components/input/input-08.tsx
import { useId } from 'react'

import { Input } from '@/registry/new-york/ui/input'
import { Label } from '@/registry/new-york/ui/label'

const InputRoundedDemo = () => {
  const id = useId()

  return (
    <div className='w-full max-w-xs space-y-2'>
      <Label htmlFor={id}>Rounded input</Label>
      <Input id={id} type='email' placeholder='Email address' className='rounded-full' />
    </div>
  )
}

export default InputRoundedDemo

Installation

npx shadcn@latest add @shadcn-studio/input-08

Usage

import { Input08 } from "@/components/input-08"
<Input08 />