InstallationPrepare 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
1
Clone our starter kit
2
Initialize your Subframe project
This one-time installation will setup your project settings and theme in your code base.
3
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>
4
Start building
Complete our or and start exporting your designs to code!