a2ui-shadcn logoa2ui-shadcn
DocsPlayground

Resources

  • Documentation
  • Playground
  • A2UI Protocol

Community

  • GitHub
  • Issues
  • shadcn/ui

More

  • Tailwind CSS
  • Next.js
  • React

a2ui-shadcn.shahnazar.me

Created by Reza Shahnazar

Getting Started

  • Introduction
  • Installation
  • Usage

Components

  • Components
    Layout
    ColumnRowCard
    Content
    Text
    Input
    TextFieldCheckBox
    Interactive
    Button
    Feedback
    Badge

Reactivity & Actions

  • Actions
  • Transport

Styling

  • Theming
  • RTL Support

Advanced

  • Custom Components
  • API Reference
  1. Home
  2. /Docs
  3. /Components
  4. /Checkbox
Input

CheckBox

A checkbox input for boolean selection with support for checked, unchecked, and indeterminate states.

Properties

NameTypeRequiredDescription
idstringYesUnique identifier for the component
labelstringNoLabel text next to checkbox
checkedboolean | { path: string }NoChecked state or data binding
disabledbooleanNoDisable the checkbox

Examples

Basic Checkbox

Simple checkbox with label

Preview
json

Checkbox List

Multiple checkboxes for selections

Preview
json
Back to Components