nalarx-ui
Components

Input

A single-line text input with the shared ink focus ring.

bunx shadcn@latest add @nalarx/input

Usage

Pair it with Field for a label, a hint and an error.

import { Input } from "@/components/ui/nx/Input";

<Input aria-label="Search agents" placeholder="Search" />

States

Sizes

md (36px) for forms. sm (32px) lines up with md buttons in toolbars and filters.

Props

Every Base UI Input prop, plus size ("sm" | "md", default "md"). Mark an invalid value with aria-invalid.

Replaces

The input of NxInput (web) and the Platform's base/Input.tsx (use size="sm" to keep its 32px).

On this page