Buttons
Travelling knob follow button
Travelling knob follow button: An outlined pill whose round knob rolls to the far end on hover, painting an accent track behind it and sliding a follower count into view; clicking keeps the followed state and bumps the count.
Using Travelling knob follow button
Travelling knob follow button uses the inline preview frame with a light/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 |
|---|---|---|---|
label | text | Follow | Up to 20 characters |
count | text | 1.2k | Up to 10 characters |
accent | color | #7C5CFF | No additional limit in the metadata. |
travelMs | number | 500 | From 200 to 1200; step 20 |
followed | boolean | false | No additional limit in the metadata. |
Which frameworks are available for Travelling knob follow button?
Travelling knob follow button 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 Travelling knob follow button depend on?
The React metadata lists these npm dependencies beyond React: clsx.
What accessibility details are visible in Travelling knob follow button?
The React source for Travelling knob follow button includes: native elements (button); attributes and handlers (aria-hidden, aria-pressed). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.
How does Travelling knob follow button handle reduced motion?
Travelling knob follow button reads the motion preference in its React source through matchMedia(prefers-reduced-motion). Check the full implementation, shared styles and selected port with reduced motion enabled; these observations do not establish that every animation stops.