Skip to main content

EquaSwitch

Last Verified: 2026-05-20 | Storybook source: equa-patternlib-nextjs/stories/EquaSwitch.stories.tsx, Line: 6

Purpose

Binary switch controls for settings and preferences.

Storybook

StoryReference
DefaultStorybook
With LabelStorybook
SizesStorybook
Label PositionsStorybook
Custom ColorStorybook
DisabledStorybook
GroupStorybook
Settings ExampleStorybook
All VariantsStorybook

API And Props

Prop or ControlSourceNotes
sizeStorybook controlSee source story for accepted values
labelPositionStorybook controlSee source story for accepted values
disabledStorybook controlSee source story for accepted values
Sources:
  • equa-patternlib-nextjs/src/components/switch/switch.tsx, Line: 5
  • equa-patternlib-nextjs/src/components/switch/index.ts
  • equa-patternlib-nextjs/stories/EquaSwitch.stories.tsx, Line: 6

Figma

UNVERIFIED — requires Figma node assignment

Screenshots

StateAsset
Equa dark themeEquaSwitch dark theme
Light themeEquaSwitch light theme

Usage Notes

  • Prefer this component over local one-off UI for matching product states.
  • Keep new variants represented in Storybook before adding docs references here.
  • Use token-backed colors, spacing, radius, and shadows from Foundations.

Accessibility Notes

  • Preserve keyboard and focus behavior from the source component.
  • Any icon-only controls must provide an accessible label in consuming product code.
  • Validate color contrast in both Equa dark and light theme screenshots before release.