use-design-system/Switch

Community

Control UI elements with Switch.

Authortokijh
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides detailed instructions on how to use the Switch component for toggling states in a user interface, ensuring consistent design and user experience.

Core Features & Use Cases

  • Controlled Component: The Switch is designed exclusively for controlled usage, requiring checked and onValueChange props.
  • Size Variants: Supports 'small' and 'medium' sizes to fit different UI contexts.
  • Accessibility: Includes aria-label for screen reader support.
  • Use Case: Implement a notification settings page where users can toggle individual notification types on or off using the Switch component.

Quick Start

Use the Switch component with a size of 'small' and a checked state of true.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: use-design-system/Switch
Download link: https://github.com/tokijh/minapp/archive/main.zip#use-design-system-switch

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.