Domed Grid
A wide isometric grid backdrop — 9x9 cuboids forming a soft domed plateau with a terracotta-checkered center. Designed to sit behind hero/CTA copy as a dimmed decorative layer.
Preview
Generate with AI
Want to create this component using AI? Copy the prompt below and paste it into any LLM (ChatGPT, Claude, etc.):
Installation
npx shadcn@latest add https://uiregistry.cappychat.com/registry/domed-grid.jsonInstall dependencies
npm i clsx tailwind-mergeAdd util file
lib/utils.ts
import { ClassValue, clsx } from "clsx";
import { twMerge } from "tailwind-merge";
export function cn(...inputs: ClassValue[]) {
return twMerge(clsx(inputs));
}Copy the source code
components/AIapplicationsComponents/domed-grid.tsx
Usage
Drop it into a dark rounded card — the grid centers itself and scales to the container:
import DomedGrid from "@/components/AIapplicationsComponents/domed-grid";
export function Page() {
return (
<section className="relative overflow-hidden rounded-2xl border border-neutral-300/60 dark:border-[#262626] bg-white dark:bg-[#0A0A0A] h-[420px]">
<div className="absolute inset-0 flex items-center justify-center">
<DomedGrid />
</div>
</section>
);
}Features
- Pure inline SVG — no dependencies, decorative
aria-hiddenlayer - True 2:1 isometric projection with painter's-algorithm occlusion
- 9×9 domed plateau with radial height falloff
- Terracotta-checkered center ~3×3 over a near-black outer field
- Full opacity by default — dim it from the wrapper (
opacity-[0.45]) so the component stays reusable
Props
| Prop | Type | Default | Description |
|---|---|---|---|
className | string | - | Extra classes on the SVG |
gridSize | number | 9 | N×N grid dimension |
unit | number | 20 | Iso projection unit |
maxHeight | number | 1.6 | Dome peak height |
falloff | number | 0.45 | Higher = flatter dome |
brandRadius | number | 1.5 | Cells from center that receive the brand checker |
Customization
Wider brand checker
<DomedGrid brandRadius={2.5} />Flatter dome
<DomedGrid falloff={0.7} />Spine Cluster
An isometric 3x3x3 cuboid cluster with an emerald vertical spine running base-to-cap, rendered as pure inline SVG.
Biometric Security
An animated biometric security component with fingerprint scanning, sequential path-by-path fill animation, tilted shine effect, and pulse animations, perfect for showcasing secure login experiences.
