search ESC

Checkbox & Radio

Custom-styled checkboxes and radio buttons with sizes, color variants, soft / outlined MUI-style variants, label placement, card-style cards, and ripple effect.

Checkboxes — States
Checkbox Sizes
Checkbox Colors

Color variants

With contextual labels — label color matches when checked

Radio Buttons — States

Vertical Group (Default)

Inline Layout

Without Label

Radio Sizes
Radio Colors

Color variants

With contextual labels

Soft / Muted Variants

Soft variants have a subtle tinted background and colored icon when checked — inspired by Material UI.

Soft Checkboxes

Soft Radios

Outlined Variants

Outlined variants show only border and icon colors — no filled background when checked.

Outlined Checkboxes

Outlined Radios

Label Placement

Control where the label sits relative to the control — end (default), start, top, or bottom.

Checkbox label positions

Radio label positions

Card Style Checkbox & Radio

Selectable card-style controls for rich selection interfaces like plan pickers.

Card Checkboxes

Card Radios

Ripple Effect

Add a MUI-style ripple halo on hover via the lp-checkbox-ripple / lp-radio-ripple modifier.

Checkbox with ripple

Radio with ripple

CSS reference
ClassPurpose
.lp-checkbox / .lp-radioBase wrapper label
.lp-checkbox-box / .lp-radio-circleVisual control (sibling to the hidden input)
.lp-checkbox-label / .lp-radio-labelLabel text (required for contextual-label variant)
.lp-checkbox-sm / -lg, .lp-radio-sm / -lgSize variants
.lp-checkbox-{primary|secondary|success|danger|warning|info}Filled color variants (same for radio)
.lp-checkbox-soft-{color}Soft / muted variant (tinted bg + colored icon)
.lp-checkbox-outlined-{color}Outlined variant (transparent bg, colored border + icon)
.lp-checkbox-label-contextualLabel color matches the variant when checked
.lp-checkbox-label-{start|end|top|bottom}Label placement relative to the control
.lp-checkbox-card / .lp-radio-cardCard-style clickable wrapper with title + description
.lp-checkbox-card-{color} / .lp-radio-card-{color}Card color variants (applied when checked)
.lp-checkbox-ripple / .lp-radio-rippleMUI-style pulse halo on hover