All registry items
primitives/r/tonal-input.json

Tonal Form Controls

Calm labeled input (default & pill search), select, and textarea with semantic error states.

Tonal Form Controls

Toggle Tablet or Mobile for real isolated iframe breakpoints, or switch to Code for full source.

@tonal-tokensclsxtailwind-mergelucide-react

Lowercase letters and hyphens recommended.

Installation

npx shadcn@latest add https://tonal.harlo.dev/r/tonal-input.json

Dependencies

Tonal Registry Dependencies
npm Packages
clsxtailwind-mergelucide-react

Usage

import { TonalInput, TonalSelect } from "@/components/tonal/input";

<TonalInput label="Project name" placeholder="e.g. Tonal Docs Edge" />

Props & Tokens API

PropTypeDefaultDescription
labelstring—Visible accessible label linked via htmlFor.
variant"default" | "pill""default"Standard rounded field or cool tonal pill search input.
hintstring—Muted helper text.
errorstring—Semantic danger border + error message.
leadingIconReactNode—Optional left icon slot.