Inputs
Vertical brightness slider
Vertical brightness slider: A tall pill slider that fills with light from the bottom as you drag, resists past either end and springs back on release.
Using Vertical brightness slider
Vertical brightness slider uses the inline preview frame with a dark theme setting.
Customize the preview
These controls are passed to the demo. Defaults and limits describe the preview; consult the implementation for its full prop API.
| Control | Type | Default | Preview limits |
|---|---|---|---|
value | number | 70 | From 0 to 100; step 1 |
accentColor | color | #F5C542 | No additional limit in the metadata. |
icon | select | sun | Options: sun, moon, volume |
Which frameworks are available for Vertical brightness slider?
Vertical brightness slider is available for React, Vue, Svelte, Astro, HTML. The live preview uses React; the source observations below apply to index.tsx. Check the selected port before relying on the same interactions.
What does Vertical brightness slider depend on?
The React metadata lists these npm dependencies beyond React: motion, clsx.
What accessibility details are visible in Vertical brightness slider?
The React source for Vertical brightness slider includes: attributes and handlers (aria-hidden, aria-label, aria-orientation, aria-valuemax, aria-valuemin, aria-valuenow, onKeyDown, tabIndex); explicit roles (slider); key comparisons (ArrowDown, ArrowLeft, ArrowRight, ArrowUp, End, Home). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.
How does Vertical brightness slider handle reduced motion?
Vertical brightness slider reads the motion preference in its React source through useReducedMotion(). Check the full implementation, shared styles and selected port with reduced motion enabled; these observations do not establish that every animation stops.