Spotlight Grid
A grid of dark tiles that share one light.
$149 once · every Pro piece
Customize
notes
dense
The 1px gaps between tiles are the grid's own background, which carries a single radial light at the pointer, so neighbouring edges catch it together and warm toward the accent within about 160px while the faces pass a trace of it. The pointer moves two CSS variables on the root and nothing else; focusing a tile glides the light onto it.
Install
npx shadcn@latest add @obsyde/spotlight-gridNeeds your licence key · Get Pro
Usage
Import it from where the CLI puts it, or copy the files below by hand.
import { SpotlightGrid } from '@/components/obsyde/ember/spotlight-grid/SpotlightGrid';
export function Example() {
return (
<SpotlightGrid />
);
}
Files
What you get with Pro: plain React, TypeScript and CSS, with no dependencies.
ember/spotlight-grid/SpotlightGrid.tsxcomponentember/spotlight-grid/spotlight-grid-demo.cssstylesember/spotlight-grid/spotlight-grid.cssstylesember/spotlight-grid/SpotlightGridDemo.tsxdemoember/shared/accent.tssharedember/shared/spring.tssharedember/shared/ember.cssshared
API
| Prop | Type | Default |
|---|---|---|
accentAccent | 'ember' | 'volt' | 'arc' | 'ember' |
radiusLight radius (px) | number | 160 |
columnsColumns | number | 3 |
minTileMin tile width (px) | number | 160 |
tileHeightTile height (px) | number | 148 |
layoutLayout | 'notes' | 'dense' | 'notes' |