Skip to content
Menu

Buttons

Edge light pill

Edge light pill: A glossy pill lit by a blurred bar along its top rim and a bloom beneath its foot that swells and brightens on hover.

Using Edge light pill

Edge light pill 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
labeltextGet startedUp to 24 characters
accentcolor#38BDF8No additional limit in the metadata.
glownumber0.75From 0 to 1; step 0.05
radiusnumber25From 8 to 32; step 1
paddingXnumber24From 12 to 48; step 2
topLightbooleantrueNo additional limit in the metadata.
Which frameworks are available for Edge light pill?

Edge light pill 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 Edge light pill depend on?

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

What accessibility details are visible in Edge light pill?

The React source for Edge light pill includes: native elements (button); attributes and handlers (aria-hidden). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.

How does Edge light pill handle reduced motion?

Edge light pill 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.

Connect your agent

Related open components