Files to copy
The page is loaded from /landing-pages/kage.html on your own domain, so that file has
to be somewhere the app serves static files from: public/ in Vite and Next, static/
in SvelteKit.
cp -R node_modules/@designcodeio/threeui/lib-dist/assets/landing-pages public/
Without it the component renders an empty box.
Size
The component is 100% of its parent's width and height and has no size of its own, so a parent with no height renders nothing. A box around 720px tall suits a full page like this one.
Props
All optional. The defaults below are what the snippet renders.
| Prop | Values | Default |
|---|---|---|
headingFont | onest, instrument-serif, newsreader, geist | onest |
bodyFont | onest, geist, newsreader, instrument-serif | onest |
headingWeight | 400, 500, 600, 700 | 400 |
bodyWeight | 300, 400, 500, 600 | 300 |
primaryColor | a hex color | #e0231c |
headingSize | 30 to 72 | 46 |
bodySize | 13 to 24 | 17 |
headingLetterSpacing | -0.06 to 0.12 | -0.012 |
className and style pass through to the root element.