kosori

Input

An input lets a user enter text.

Input wraps the Base UI Input primitive and marks it with data-slot.

Installation

npx shadcn@latest add @kosori/input

Example

input-example.tsx
input-example
import { Input } from '@/components/ui/input';

const InputExample = () => (
  <Input className='max-w-sm' placeholder='kosori' type='text' />
);

export default InputExample;

On this page