Toggle

Examples
Toggle off
Theme: seekAnz
Theme: seekBusiness
Theme: jobsDbRebrand
Theme: jobsDb
Theme: jobStreet
Theme: jobStreetClassic
Theme: wireframe
Code:
<Toggle id="id" label="Toggled off" on={false} />
Toggle on
Theme: seekAnz
Theme: seekBusiness
Theme: jobsDbRebrand
Theme: jobsDb
Theme: jobStreet
Theme: jobStreetClassic
Theme: wireframe
Code:
<Toggle id="id" label="Toggled on" on={true} />
Right aligned
Theme: seekAnz
Theme: seekBusiness
Theme: jobsDbRebrand
Theme: jobsDb
Theme: jobStreet
Theme: jobStreetClassic
Theme: wireframe
Code:
<Toggle align="right" id="id" label="Aligned right" on={true} />
Justified
Theme: seekAnz
Theme: seekBusiness
Theme: jobsDbRebrand
Theme: jobsDb
Theme: jobStreet
Theme: jobStreetClassic
Theme: wireframe
Code:
<Toggle align="justify" id="id" label="Justified" on={true} />

Required props

id
string
label
ReactNode
on
boolean
onChange
ChangeHandler

Optional props

align
"left" | "right" | "justify"

Further References