Skip to content
Menu

Buttons

Orbiting rim light button

Orbiting rim light button: A dark pill whose one pixel rim is lit from behind by a slowly turning cone of colour, spinning faster while the button is held.

Using Orbiting rim light button

Orbiting rim light button 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.

ControlTypeDefaultPreview limits
labeltextOpen consoleUp to 24 characters
accentcolor#7C5CFFNo additional limit in the metadata.
spinSecondsnumber5From 1 to 12; step 0.5
rimBlurnumber4From 0 to 20; step 1
haloSizenumber8From 0 to 24; step 1
Which frameworks are available for Orbiting rim light button?

Orbiting rim light 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 Orbiting rim light button depend on?

The React metadata lists these npm dependencies beyond React: motion, clsx.

What accessibility details are visible in Orbiting rim light button?

The React source for Orbiting rim light button includes: attributes and handlers (aria-hidden, onKeyDown, onKeyUp); key comparisons (Enter, Space). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.

How does Orbiting rim light button handle reduced motion?

Orbiting rim light button reads the motion preference in its React source through useReducedMotion(). Preference-dependent expressions in index.tsx: reduced ? "transition-none" : "transition-transform duration-500 ease-out"; reduced ? { duration: 0 } : { duration: pressed ? fastSeconds : idleSeconds, ease: "linear", repeat: Infinity }; rotate: reduced ? 0 : 360. Check the full implementation, shared styles and selected port with reduced motion enabled; these observations do not establish that every animation stops.

Connect your agent

Related open components