Components
Loading preview...
Displays a form input field, input groups, number input spinners, date input, date time input, time inputs, etc.
npx shadcn@latest add https://21st.dev/r/sean0205/inputimport { Input } from '@/components/ui/input';
export default function InputDemo() {
return (
<div className="w-80">
<Input type="text" placeholder="Readonly" readOnly={true} value="Readonly input" />
</div>
);
}