Toggle

A button that toggles between on and off states.

  • Can be controlled or uncontrolled

  • Multiple variants and sizes

  • Full keyboard navigation

  • Respects reduce motion

Installation

Loading...

Usage

<Toggle />

Examples

Outline

With Text

Sizes

API Reference

Toggle

PropTypeDefault
size
enum
"default"
variant
enum
"default"
reduceMotion
boolean
false

Support all Root Radix API