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.
| Control | Type | Default | Preview limits |
|---|---|---|---|
label | text | Get started | Up to 24 characters |
accent | color | #38BDF8 | No additional limit in the metadata. |
glow | number | 0.75 | From 0 to 1; step 0.05 |
radius | number | 25 | From 8 to 32; step 1 |
paddingX | number | 24 | From 12 to 48; step 2 |
topLight | boolean | true | No 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.