Skip to content

LabeledToggle

A Toggle wrapped in a label

Properties

Property Required Type Description
color No str (one of: primary, secondary, accent, neutral, success, warning, info, error)
size No str (one of: xs, sm, md, lg, xl)
Any additional properties No any

Children

Accepts any HTML content

Examples

<{LabeledToggle}>

</{LabeledToggle}>