Checkbox

  • Used for selecting multiple values from several options.
  • If you use only one checkbox, it is the same as using Switch to toggle between two states. The difference is that Switch will trigger the state change directly, but Checkbox just marks the state as changed and this needs to be submitted.

Install

import {Checkbox} from '@xsolla/uikit'

Examples

Error

API

PropertyDescriptionTypeDefault
inputconfig for redux-form or basic checkboxobject{}
namecheckbox namestringnull
appearancecan be set to primary, flattenstringprimary
labellabel for checkboxReact.Nodenull
tooltiptooltip for checkboxstringnull
disabledset the disabled status of checkboxboolfalse