Checkbox

Checkbox is a component that allows a user to select an option. It is used to select one or more options from a list. CheckboxField is a wrapper component that provides a label and error message.

Preview


Properties

  • Name
    icon
    Type
    React.ReactElement
    Description

    You can change the icon by passing the icon prop.

  • Name
    bgClassName
    Type
    string
    Description

    You can change the background color by passing the bgClassName prop.

  • Name
    textClassName
    Type
    string
    Description

    You can change the text color by passing the textClassName prop.

  • Name
    variant
    Type
    0
    Description

    You can change the size by passing the variant prop.


inputSize

icon

bgClassName

textClassName