A native input or textarea in the system's well.
Every shadcn style · one file
v2.0 · Updated Oct 13pnpm dlx shadcn@latest add https://notchset.dev/r/text-field.jsonpnpm dlx shadcn@latest add https://notchset.dev/r/text-field.jsonFree, no account or key. One command for every shadcn style. With the @notchset registry added, @notchset/<name> works too.
Works with React 18.3 or 19 on Tailwind CSS v4, in any shadcn project. What's tested
The 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.
Import it and pass your content. The props that matter most are listed next.
"use client";
import * as React from "react";
import { TextArea, TextField } from "@/components/ui/notchset/text-field";
const EMAIL = /^[^\s@]+@[^\s@]+\.[^\s@]{2,}$/;
export default function TextFieldDemo() {
const [email, setEmail] = React.useState("ana@larkspur");
return (
<div className="grid w-full max-w-[560px] grid-cols-2 gap-3.5 max-sm:grid-cols-1">
<TextField label="Deal name" placeholder="Airtable renewal" />
<TextField label="Amount" inputMode="decimal" defaultValue="48,000" hint="In USD, before tax" />
<TextField label="Work email" type="email" value={email} onChange={(e) => setEmail(e.target.value)} error={EMAIL.test(email) ? undefined : "Enter a full address, like ana@larkspur.com"} />
<TextField label="Owner" defaultValue="Ana Ruiz" disabled />
<TextArea fieldClassName="col-span-full" label="Message" placeholder="Write your message…" />
</div>
);
}components/ui/notchset/text-field.tsx
fieldClassName–
stringGive your coding assistant the Markdown guide instead of screenshots.
https://notchset.dev/api/mcp (setup)v2.0.0 · 2026-10-13
Released with the Notchset system.
The same file, at work in a finished app. Open it live and find it on its pages.
Account lifecycle. An account from its first confirmed email to its last export: verify in place, cancel honestly, delete only after the export, and choose what reaches you.
2 free · 4 ProSee the Account lifecycle kit