Glow Focus
A purple glow ring applied to focus states on inputs, cards, and buttons. Provides clear, accessible focus indication using the primary color.
Input Focus
Click or tab into the input below to see the glow focus ring.
Card Focus
For keyboard-navigable cards, apply the glow on :focus-visible to avoid showing it on mouse clicks.
Button Focus
Focus Token Values
Guidelines
- Never remove focus outlines without providing a visible alternative.
- Use
:focus-visibleover:focuswhen possible to avoid glow on mouse clicks. - The glow ring must have sufficient contrast against the background.
- Keep the ring width consistent at 3px across all components.
- For elements with existing box-shadows, layer the focus ring on top with a comma-separated value.