Reveal Light Button
buttonhtmlreactvue
Live
Rendered live with React 19.2.7
reveal-light-btn.tsxplain css only
import './reveal-light-btn.css';
interface RevealLightBtnProps {
label: string;
disabled?: boolean;
}
export function RevealLightBtn({ label, disabled = false }: RevealLightBtnProps) {
return (
<button className="reveal-light-btn" type="button" disabled={disabled || undefined}>
<span className="reveal-light-btn__label">{label}</span>
</button>
);
}
dependencies
react@19.2.7the dialect you are reading
Built on Astro: the stage mounts the exhibit's actual React or Vue file as a live island. Pick the framework and the stage, the code and the dependency list agree.
Fluent Reveal on a dark ground: a radial light rises under the pointer's side, revealing a hairline border that was always there and a soft wash that was not. The CSS-only version centres the light by hover zone rather than tracking the pointer — stated, not disguised.
The rule that survives every fashion cycle: the light never substitutes for focus. The focus ring is separate, always visible, and unmoved by the hover theatre around it.