Skip to content
syntaqx

Components · Forms

Checkbox

shadcn's Checkbox. Inside a Field it wires itself up, so the FieldLabel beside it names and toggles it.

Treat every line as its own value.

Installation

npx shadcn@latest add https://www.syntaqx.com/r/checkbox.json

Changes from shadcn

It installs over shadcn's Checkbox and keeps its API, variants and data-slots, so code written for it keeps working. On top of that:

  • Inside a Field it picks up its id, description and state.