Dev Design Library

Switch

A setting that is on or off and takes effect at once: a sunk pill track with a raised thumb that slides on the part spring; on, the track fills soft green.

Switch preview
Library
Metal UI
Framework
React + SwiftUI
Type
ui
License
MIT
Dependencies
@base-ui/react@^1.8.0
Files
  • packages/metalui/src/components/switch/switch.tsx
Source
https://github.com/vijayksingh/metalui

Categories

More from Metal UI