Develop ultra fast with Prismane 🎉

Checkbox API

Learn about the Checkbox component's props and CSS classes.

Import

import { CheckboxProps } from "@prismane/core";

Props

Checkbox extends Flex , Transition and PrismaneFieldComponent component's props.

NameTypeDescriptionDefault
indeterminatebooleanToggles the state of the checkbox.false

CSS

Checkbox extends Flex , Transition components' CSS classes.

RuleGlobal ClassDescription
root.PrismaneCheckbox-rootThe container of the checkbox component.
root.PrismaneCheckbox-activeThe container of the checkbox component based on it's value.
thumb.PrismaneCheckbox-thumbThe thumb container of the checkbox component.
label.PrismaneCheckbox-labelThe label container of the checkbox component.
error.PrismaneCheckbox-errorThe error container of the checkbox component.