Text Input Floating
A production-scale, light + dark Text Input Floating component. Copy-paste via the CLI; you own the code.
npx lerpa-cli add text-input-floatingUsage
import { TextInputFloating } from "@lerpa/ui";
<TextInputFloating />Props
| Prop | Type | Default | Description |
|---|---|---|---|
| label | string | — | |
| defaultValue | string | — | |
| type | "text" | "email" | "url" | "tel" | — | |
| accent | string | — | |
| error | string | — | |
| hint | string | — | |
| icon | string | — |
Accessibility
- Keyboard accessible interactive elements.
- Respects prefers-reduced-motion where animated.
- Color is never the only signal.