BrickclayDesign System

Toggle

bk-toggle: a form-ready (CVA) on/off switch. toggleClass selects the size token, e.g. toggle-sm / toggle-md.

bk-toggleForms and inputsAngular

Preview

A working preview of Toggle in the Brickclay style. Try it.

Interact with the preview to see events here.

API reference

InputTypeDefaultDescription
labelstring''Visible label.
disabledbooleanfalseDisables toggling.
toggleClassstring'toggle-md'Size token class.
changeEventEmitter<boolean>outputFires on toggle.