Installation Prepare your local environment. Subframe generates React code written in Typescript and styled with Tailwind CSS. We work with any framework that uses React and Typescript.
Setup Initialize your Subframe project This one-time installation will setup your project settings and theme in your code base. Load fonts Fonts are set by your theme and will be used in your Subframe components and pages. Add the following to your <head>
tag in src/app/layout.tsx
: Changing the fonts in your theme will require updating these links.
1 < head >
2 < link rel = " preconnect " href = " https://fonts.googleapis.com " />
3 < link rel = " preconnect " href = " https://fonts.gstatic.com " crossOrigin = " anonymous " />
4 < link href = " https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap " rel = " stylesheet " />
5 </ head >
Start building Complete our quickstart guide or design a page and start exporting your designs to code!