Spotlight Logo
An isometric SVG mark whose outline lights up around the cursor, after the X login page.
shadcn registry · install below
Move your cursor anywhere. Press the mark.
Installation
pnpm dlx shadcn@latest add https://www.sudhanshuxsingh.in/r/spotlight-logo.jsonNeeds a project with shadcn/ui set up. The source lands in your codebase, ready to edit.
Usage
import { SpotlightLogo } from "@/components/ui/spotlight-logo";
export function Hero() {
return (
<figure className="mx-auto w-64">
<SpotlightLogo />
</figure>
);
}
// Wide variant: the mark lies flat on the floor.
<SpotlightLogo orientation="lie" />
// Bring your own mark: polygons on a unit grid (x right, y down).
<SpotlightLogo glyphs={[[[0, 0], [4, 0], [4, 4], [0, 4]]]} depth={1} />