The shadcn Input, plus a full field with label, counter, hint and error states.
Import it and pass your content. The props that matter most are listed next.
"use client";
import { Input, InputField } from "@/components/ui/notchset/input";
export function InputExample() {
return (
<>
<InputField
label="Agent name"
prefix="@"
maxLength={32}
helper="Shown in runs and traces"
validate={(v) => (/^[a-z0-9-]+$/.test(v) ? null : "Lowercase, 0–9 and - only")}
preview={(v) => `/agents/${v}`}
/>
<Input placeholder="run_8f3a1c92" />
</>
);
}Input–
as shadcnThe bare input: className, type and every native prop.
InputField label–
ReactNodeThe label (a real <label>).
value / defaultValue / onValueChange–
string / (value) => voidThe value.
prefix–
ReactNodeA fixed prefix before the value ("@").
maxLength–
numberAlso shows the counter ("08/32").
validate–
(value) => string | nullAn error to show, checked on every change; sets aria-invalid.
preview–
(value) => stringA live reading of a valid value.
helper–
stringThe helper while empty, or the reason while disabled.
clearable–
booleanThe clear key. Default true; Esc also clears.
Inputdata-slot="input"
The input.
InputFielddata-slot="input-field"
The instrument's box: prefix, input, clear key and trace.
Helperdata-slot="input-helper"
The live helper line.
components/ui/notchset/input.tsx
pnpm dlx shadcn@latest add https://notchset.dev/r/input.jsonpnpm dlx shadcn@latest add https://notchset.dev/r/radix-nova/input.jsonFree, no account or key. Use the command for your project's primitives: a radix-*, new-york or default style in components.json is Radix, a base-* style is Base UI. With the @notchset registry added, @notchset/<name> picks for you.
pnpm add @base-ui/react@^1The CLI adds the styles to the CSS file named in components.json (tailwind.css). Check that it points at your global stylesheet, that the project uses Tailwind CSS v4, and that the file is imported in your root layout. Installed by hand: paste styles.css into that file.
Give your coding assistant the Markdown guide instead of screenshots.
https://notchset.dev/api/mcp (setup)v1.0.0 · 2026-10-02
First release