Traken UI

Checkbox

The `Button` component is a versatile UI element used to trigger actions or navigate users. It supports various visual styles, sizes, and interaction enhancements.

Features

  • Custom Label content
  • Configurable colors, variants, and shapes
  • Mouse event handling support

Variant


Colors


Sizes


Radius


Label Strike


Props

PropTypeDefaultDescription
classNamestringAdditional class names for styling.
disabledbooleanfalseDisables the checkbox if true.
color"base" | "primary" | "secondary" | "success" | "warning" | "danger""base"Color theme of the checkbox.
rounded"sm" | "md" | "lg" | "xl" | "full" | "none""md"Border radius of the checkbox.
size"sm" | "md" | "lg" | "xl""md"Size of the checkbox.
labelstringLabel displayed next to the checkbox.
strikebooleanfalseIf true, strikes through the label.

On this page