Input
A single-line text input, styled to match the rest of the registry. Plain native attributes (disabled, not isDisabled) since it wraps react-aria-components' bare Input rather than a higher-level field primitive.
Installation
CLI
Manual
- 1
Register the @fma-ui namespace in components.json (once)
components.json{ "registries": { "@fma-ui": "https://ui.fmartinsandre.dev.br/r/{name}.json" } } - 2
Add the item
pnpm dlx shadcn@latest add @fma-ui/inputFiles land in
components/fma-ui/input.tsx; npm and registry dependencies are installed along with them.
Dependencies
- npm
- cn@^0.4.0react-aria-components@^1.21.1
- Registry
- None