K
@kana-consultant/ui-kit v0.2.0 · docs

Primitives

Switch

Controlled or uncontrolled toggle. Use for instant settings, not form submissions.

Basic

Single toggle
const [on, setOn] = useState(true)

<Switch checked={on} onCheckedChange={setOn} />
<Label>Email notifications</Label>

Settings group

Stacked toggles

Task updates, mentions, assignments.

Summary of activity every Monday.

Product announcements and news.