Copy a template's code
Take any template as HTML, CSS, SCSS or React, or a mobile screen as React Native.
Every template in System preview comes with its code, written in your own tokens rather than hard-coded values.
- HTML: the page's markup, with the same class names as its styles.
- CSS: your tokens as custom properties for light and dark, then only the rules the template uses.
- SCSS: the same styles written as Sass, with your tokens as variables and maps, shared mixins and nesting.
- React: the template as a component, with its parts as components of their own.
- React Native: for mobile app templates, a screen built from View, Text and a StyleSheet, with your colours, spacing and fonts as constants and Tabler's React Native icons.
- Figma, SVG, PNG and JPG: for handing a screen back to design or into a deck.
Open a template, switch the view to Code, choose a tab and Copy. You can also Download the open file, every file at once as a .zip, or the whole page as a single HTML file.