- Components
- Forms
Input
Pill text input on a surface fill. Focus brings the border and the page fill.
Installation#
npx shadcn add @ortaui/inputExamples#
Default#
States#
API reference#
| Prop | Type | Default | Description |
|---|---|---|---|
| surface | "default" | "raised" | auto | Look on a panel. Unset: raised (page fill + border) inside any [data-surface] container. "raised" forces it anywhere; "default" keeps the muted fill even inside a surface. |
| type | string | "text" | Native input type. |
| className | string | - | Merged with the component classes via cn(). |