import { useId } from 'react'
import { Input } from '@/registry/new-york/ui/input'
import { Label } from '@/registry/new-york/ui/label'
const InputRequiredDemo = () => {
const id = useId()
return (
<div className='w-full max-w-xs space-y-2'>
<Label htmlFor={id} className='gap-1'>
Required input <span className='text-destructive'>*</span>
</Label>
<Input id={id} type='email' placeholder='Email address' required />
</div>
)
}
export default InputRequiredDemo
npx shadcn@latest add @shadcn-studio/input-03import { Input03 } from "@/components/input-03"<Input03 />