Switch

Toggle between 2 states.

Installation

pnpm add @base-ui/react motion

Examples

Implement this component in your project using Yumma CSS and Base UI.

Base


Static

Open and close instantly, without animation.