Isometric Grid
ProNewA triangular grid for diagrams, schematics and technical surfaces.
Installation
pnpm dlx shadcn@latest add @viewport/isometric-grid
First time? Add the @viewport registry to components.json. Setup takes one minute.
Usage
The code behind the preview above comes with Truffle Pro.
Props
| Prop | Type | Default |
|---|---|---|
| size | numberLength of one triangle edge in CSS pixels. | 28 |
| className | stringUse text color utilities to tint the lines. | — |
| style | CSSProperties | — |
Accessibility
- Decorative and hidden from assistive technology.
- Ignores pointer events and is hidden in forced-colors mode.
- Static and requires no browser JavaScript to paint.