❤️ Support our project - Your donation helps us continue developing awesome tools!


Docs
Toggle

Toggle

A two-state button that can be either on or off.

A toggle component.

Installation

npx nyxbui@latest add toggle

Usage

import { Toggle } from "~/components/ui/toggle"
<Toggle>Toggle</Toggle>

Examples

Default

A toggle component.

Outline

A toggle component using the outline variant.

With Text

A toggle component with text.

Small

A small toggle component.

Large

A large toggle component.

Disabled

A disabled toggle component.