Rubics UI
rubics

Checkbox

A toggleable checkbox with optional label.

Installation

rubics add checkbox

Usage

Basic

With Label

Props

NameTypeDefaultDescription
checkedbooleanfalseChecked state
onCheckedChange(val: boolean) => void-Toggle handler
labelstring-Label text
disabledbooleanfalseDisables interaction