Skip to content
AJS InnovationsUI

Components

Checkbox & switch

Selection controls for forms and local interface preferences.

Interactive local example · fictional data

The Code tab contains this preview’s complete source, including sample data and interaction state. Load the package stylesheet and Switzer font as described in the installation guide. Additional layout utilities require Tailwind CSS in your application.

API reference

PropTypeDefault
checked / defaultCheckedbooleanfalse
onCheckedChange(checked) => void
disabledbooleanfalse

Primitives also accept their underlying HTML or Radix props. Full types are included with the package.

Behavior & accessibility

  • Radix supplies keyboard interaction and form integration.
  • Switch is a library extension, not an independently observed member-screen control.

Reference

Companion primitives using the measured tokens