A 3D board of metal pins that push words out in relief
| Name | Type | Default | Description |
|---|---|---|---|
words | string[] | ["BUILD", "SHIP", "REPEAT"] | Words the pins push out, one after another. Short, bold words read best. |
src | string | — | An image to press into the pins instead of words, like a logo. Bright areas stand tallest. The image host must allow cross-origin use. |
columns | number | 64 | Pins across the board. Rows follow from the aspect ratio. |
depth | number | 1.5 | How far the raised pins stand out. |
interval | number | 3800 | Milliseconds between words while autoplaying. |
autoplay | boolean | true | Moves to the next word on its own, rippling the pins across from left to right. |
tilt | number | 0.5 | How far the camera looks down on the board. 0 is straight on. |
turn | number | 0.35 | How far the camera swings to the side. Negative values swing the other way. |
pressure | number | 1 | How deep the pointer presses the pins in. |
reach | number | 1 | Size of the area the pointer presses. |
recovery | number | 1 | How long pressed pins take to rise again. Higher is slower, like memory foam. |
aspect | number | 16 / 9 | Width to height ratio of the board. |
weight | number | 900 | Font weight used to draw the words. Heavy weights read best in pins. |
intro | boolean | true | The board fades in and the pins rise into the first word in a wave. Off, or with reduced motion, the word is already there. |
theme | "auto" | "light" | "dark" | "auto" | Auto picks a light or dark board from the background behind it. |
pinColor | string | brushed silver | Colour of the metal pins. |
boardColor | string | from theme | Colour of the board. |
ref | { next, show } | — | Moves to the next word, or shows a word by index, from your own code. |
className | string | — | Classes for the root element. |
style | CSSProperties | — | Inline styles for the root element. |
wordsstring[]Words the pins push out, one after another. Short, bold words read best.
["BUILD", "SHIP", "REPEAT"]srcstringAn image to press into the pins instead of words, like a logo. Bright areas stand tallest. The image host must allow cross-origin use.
—columnsnumberPins across the board. Rows follow from the aspect ratio.
64depthnumberHow far the raised pins stand out.
1.5intervalnumberMilliseconds between words while autoplaying.
3800autoplaybooleanMoves to the next word on its own, rippling the pins across from left to right.
truetiltnumberHow far the camera looks down on the board. 0 is straight on.
0.5turnnumberHow far the camera swings to the side. Negative values swing the other way.
0.35pressurenumberHow deep the pointer presses the pins in.
1reachnumberSize of the area the pointer presses.
1recoverynumberHow long pressed pins take to rise again. Higher is slower, like memory foam.
1aspectnumberWidth to height ratio of the board.
16 / 9weightnumberFont weight used to draw the words. Heavy weights read best in pins.
900introbooleanThe board fades in and the pins rise into the first word in a wave. Off, or with reduced motion, the word is already there.
truetheme"auto" | "light" | "dark"Auto picks a light or dark board from the background behind it.
"auto"pinColorstringColour of the metal pins.
brushed silverboardColorstringColour of the board.
from themeref{ next, show }Moves to the next word, or shows a word by index, from your own code.
—classNamestringClasses for the root element.
—styleCSSPropertiesInline styles for the root element.
—