Nighthawk

Checkbox

Preview

Rounded checkbox

Switch

Demo code

Inputs

OptionTypeDefault valuePossible values
enabledbooleanfalsetrue/false
typeenumdefaultdefault/rounded/switch
sizeenummediumsmall/medium/large

Outputs

EventTypeValue
onStateChangebooleanEmits the 'checked' value state

Style Variables