Checkbox

A control that allows the user to toggle between checked and not checked.

Required for condenser microphones

Installation

CLI

Install the component using the StarUI CLI:

star add checkbox

Examples

States

All visual states — unchecked, checked, indeterminate, error text, and custom indicator styling

Compile-time only — icon and data-state are fixed at render

Input level exceeds safe range

Uses indicator_cls to tint the check icon

Form Validation

Required checkboxes that gate form submission with all_() signal logic

Session Prep

Complete required checks before recording

All channels reading between -18 and -12 dBFS

No HVAC, phones, or foot traffic

Disabled States

Required buses locked as disabled, optional buses interactive with active count

Bus Routing

Configure audio bus assignments

Required

Main stereo output

Engineer-to-talent communication

Optional

Progress Tracking

Reactive strikethrough styling and progress bar driven by checkbox signals

Take Tracker

Pre-session setup tasks

Completed: ((($cb_take_mic + $cb_take_hp) + $cb_take_gain) + $cb_take_ref) of 4

Select All

Bulk selection with select-all toggle and destructive batch action

Session Takes

Review and discard recordings

3:42

4:18

2:55

1:36

Grouped Filters

Grouped checkboxes with reset and active summary via collect()

Export Settings

Configure output format and options

Format

Sample Rate

Metadata

Selected:

API Reference

Props

Prop Type Default Description
checked bool | None None Initial checked state
signal str | Signal auto-generated Signal name for reactive state management
indeterminate bool False Show indeterminate state (minus icon). Use for parent checkboxes when some children are selected
disabled bool False Disables the checkbox and blocks pointer events
required bool False Marks as required for form validation. CheckboxWithLabel appends a red asterisk
name str | None None Name attribute for form submission
value str | None 'on' Value submitted with forms when checked
label str - Label text (CheckboxWithLabel only)
helper_text str | None None Muted text below the label (CheckboxWithLabel only)
error_text str | None None Destructive text below the control. Sets aria-invalid on the checkbox (CheckboxWithLabel only)
cls str '' Additional CSS classes
indicator_cls str '' Additional CSS classes for the check/minus icon overlay
label_cls str '' Additional CSS classes for the label element (CheckboxWithLabel only)
checkbox_cls str '' Additional CSS classes for the inner checkbox (CheckboxWithLabel only)
Component Description
Checkbox Standalone checkbox control. Renders a native input with an icon overlay. Compose with Label for manual layout
CheckboxWithLabel Convenience wrapper that composes Checkbox + Label + helper text + error text with standard spacing