Blueprint Hero
A blueprint-style product hero that draws itself in.
Features
- •A preloader that draws — Construction lines go down first, then over a hundred strokes draw the car: body, glass, doors, ten-spoke wheels with drilled discs, vents and wing, then the dimension lines, while a counter runs.
- •Depth after the scan — A scan line sweeps across and adds light to the bodywork, a shoulder highlight, dark glass and lit spokes, and the guide lines fade away.
- •Crosshair cursor — Hairlines follow the mouse across the whole hero with a live X / Y readout and an optional label; markers on the car show notes on hover.
- •A complete section — Brand, navigation, headline and description in a clean framed layout on a blueprint grid, stacking neatly on phones.
- •Your words, your colours — Every text is a prop, paper, ink and accent colours are yours, and you can swap the drawing for your own side-on image.
- •Considerate — aria-busy while loading, onReady when the hero is in, and with reduced motion it appears at once with no preloader.
Props API Reference
12 configurable props| Prop | Type | Default | Description |
|---|---|---|---|
| brand / navItems | string / (string | { label, href })[] | "Nine Eleven" / 4 links | Top bar brand and links. |
| headline / description | string | set | The bottom row's heading and paragraph. |
| ctaLabel / ctaHref | string | "Configure yours" / "#" | The highlighted link at the end of the navigation. |
| tagline / specs | string / [label, value][] | set | Shown while the preloader draws: a line bottom left and a spec block bottom right. |
| image | string | undefined | Your own side-on image, shown in place of the drawing after the preloader. |
| paperColor / inkColor / accentColor | string | "#0A0A0A" / "#F2F2F2" / "#FFFFFF" | Background, lines and text, and the progress line, markers and cursor dot. |
| preloader / duration | boolean / number | true / 3.6 | Draw the car before the hero appears, and how many seconds it takes. |
| cursor / cursorLabel | boolean / string | true / "Hover the markers" | Crosshair cursor (mouse only) and its label; empty hides the label. |
| showDimensions / showNotes | boolean | true | Dimension lines, and the markers with notes. |
| fontFamily / monoFontFamily | string | Inter / system mono | CSS font stacks. |
| onReady | () => void | undefined | Called when the preloader has finished and the hero is in. |
| className / style | string / CSSProperties | undefined | On the section; it fills its parent (at least 520 px tall). |