Components
Input Group
Add addons, buttons, and helper content to inputs.
Loading
Installation
pnpm dlx shadcn@latest add @toui/input
Alignment
Inline start
Loading
Inline end
Loading
Block start
Loading
Block end
Loading
Examples
Icon
Loading
Text
Loading
Button
Loading
KDB
Loading
Dropdown
Loading
Spinner
-- needs Spinner component --
Textarea
Loading
API Reference
This component extends the native HTML <input> element with additional styling and size variants.
Input
This component is a custom implementation that extends the native HTML <input> element with the following custom props:
| Prop | Type | Default |
|---|---|---|
variant | ||
className |
Credits
- Built with Radix UI Slot.
- Built with React Aria.