Skip to content
Menu

Buttons

Light pool button

Light pool button: A lit tube-sign button that spills a blurred pool of its own colour onto the surface beneath it and swaps figure for ground when hovered or focused.

Using Light pool button

Light pool 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
labeltextGo liveUp to 24 characters
accentcolor#38BDF8No additional limit in the metadata.
intensitynumber1From 0.2 to 2; step 0.05
poolSizenumber1From 0 to 2; step 0.05
invertOnHoverbooleantrueNo additional limit in the metadata.
Which frameworks are available for Light pool button?

Light pool 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 Light pool button depend on?

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

What accessibility details are visible in Light pool button?

The React source for Light pool button includes: native elements (button); 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 Light pool button handle reduced motion?

Light pool 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.

Connect your agent

Related open components