Switch

A toggle switch component for on/off states.

Installation

npm install fuyukaki-ui

Usage

import { Switch, Label } from 'fuyukaki-ui'

function App() {
  return (
    <div className="flex items-center gap-2">
      <Switch id="airplane" />
      <Label htmlFor="airplane">Airplane mode</Label>
    </div>
  )
}

Examples