ZuploZuplo
LoginStart for Free
  • Documentation
  • API Reference
Getting Started
Concepts
API Management
AI Gateway
MCP Gateway
MCP Server
Developer Portal
    Overview
    Getting Started
      Updating VersionsNode Modules & CustomizationZuplo Branding
      Configuration
      Writing
      OpenAPI
      Authentication
      Integrations
      Guides
      Extending
      Components
        General
        Documentation
        Form
          ButtonCheckboxSliderSwitchLabel
        Utility
    Development
    Deploying & Source Control
    Analytics
    Observability
    Networking & Infrastructure
    Account Management
    Programming API
    Build with AI
    Zuplo CLI
    Migration Guides
    Platform LimitsVersion Support PolicySecuritySupportTrust & ComplianceChangelog
    powered by Zuplo
    Form

    Checkbox

    A checkbox component built on Radix UI primitives for boolean input.

    Import

    Code
    import { Checkbox } from "zudoku/ui/Checkbox";

    Basic Usage

    Code
    <Checkbox />

    With Label

    Code
    <div className="flex items-center space-x-2"> <Checkbox id="terms" /> <Label htmlFor="terms">Accept terms and conditions</Label> </div>

    Checked State

    Code
    <div className="flex items-center space-x-2"> <Checkbox id="terms2" defaultChecked /> <Label htmlFor="terms2">Accept terms and conditions</Label> </div>

    Disabled State

    Code
    <div className="flex items-center space-x-2"> <Checkbox id="terms3" disabled /> <Label htmlFor="terms3">Accept terms and conditions</Label> </div>

    Features

    • Accessibility: Full keyboard navigation and screen reader support
    • Indeterminate State: Supports indeterminate state for partial selections
    • Controlled/Uncontrolled: Can be used with or without state management
    • Customizable: Easy to style with className prop
    Edit this page
    Last modified on October 1, 2026
    ButtonSlider
    On this page
    • Import
    • Basic Usage
    • With Label
    • Checked State
    • Disabled State
    • Features
    React
    React
    React
    React
    React