NES Slab
buttonhtmlreactvue
Live
Rendered live with React 19.2.7
nes-slab.tsxplain css only
import './nes-slab.css';
interface NesSlabProps {
label: string;
disabled?: boolean;
}
export function NesSlab({ label, disabled = false }: NesSlabProps) {
return (
<button className="nes-slab" type="button" disabled={disabled || undefined}>
<span className="nes-slab__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.
A chunky pixel frame drawn with clip-path stair-steps, a hard offset press, and zero anti-aliasing tricks — the jaggy is the point, and smoothing it would sand off the reference.
The discipline is in what stays modern: the font keeps its token, the focus ring keeps its visibility, and the NES grammar lives entirely in the geometry. A heritage skin borrows a look, not a decade's accessibility.