ortaui

Input

Pill text input on a surface fill. Focus brings the border and the page fill.

Installation#

npx shadcn add @ortaui/input

Examples#

Default#

States#

API reference#

PropTypeDefaultDescription
surface"default" | "raised"autoLook 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.
typestring"text"Native input type.
classNamestring-Merged with the component classes via cn().