Components
Blueprint Panel
Technical measurement-grid container surface with schematic grid lines, corner registration ticks, and dimension annotations.
Blueprint Panel
A container surface with a technical, schematic aesthetic — a measurement grid behind the content, L-shaped registration ticks in each corner, and optional mono label / dimension annotations. Built on the vandoko-shape-tokens corner-shape idiom (--shape-radius) and themed entirely through var(--border) / var(--brand-cyan) tokens. Wrap any content to give it a blueprint frame.
Preview
Loading preview...
Installation
Terminal
$npx shadcn@latest add @vandoko/blueprint-panelInstalls the vandoko-shape-tokens base for the
corner-shape profile. The panel renders correctly even without it (border-radius fallback).
Usage
import { BlueprintPanel } from "@/components/blueprint-panel";
export default function Page() {
return (
<BlueprintPanel label="VDK-PANEL-01" dimension="240 × 160">
<p>Any content gets a schematic measurement frame.</p>
</BlueprintPanel>
);
}Props
| Prop | Type | Default | Notes |
|---|---|---|---|
label | string | — | Mono schematic label, top-left |
dimension | string | — | Dimension annotation, top-right |
gridSize | number | 24 | Measurement-grid cell size in px (≥ 4) |
showCornerTicks | boolean | true | Render the L-shaped corner registration ticks |
showGrid | boolean | true | Render the measurement grid |
Features
- Measurement grid — Radial-masked grid lines via
--blueprint-grid(defaults offvar(--border)) - Corner registration ticks — L-shaped cyan ticks via
--blueprint-tick - Dimension annotations — Mono
label/dimensioncallouts via--blueprint-annotation - Shape-token aware — Corner profile follows
--shape-radiusfromvandoko-shape-tokens - Token-only theming — No oklch literals; new
--blueprint-*tokens ship via the registry
Lineage
| Property | Value |
|---|---|
| Source | @vandoko/blueprint-panel |
| Curated | 2026-06-06 |
| License | MIT |
| Dependencies | vandoko-shape-tokens (registry) |