Components
Checkbox

Checkbox

Import

import { VKCheckbox } from "@vivakits/react-components";

Size

The Checkbox component comes with 3 different sizes that you can change it using the size prop.

Color

The Checkbox component comes with 7 different colors that you can change it using the color prop. It has both solid and outline variant

Rounded

The shape of the Checkbox component can be updated using rounded prop

API Reference

AttributeTypeDescriptionDefault
childrenReactNodeDisplays checkbox content -
colorprimarysecondaryaccentsuccesswarningdangerChanges checkbox colorprimary
roundeddefaultnonexssmmdlgfulllChanges checkbox the border radiusprimary
sizesmmdlgxlChanges checkbox sizemd