Svbstrate
  • Overview
  • Theming
  • Styling
  • React
  • React Native
  • CSS
  • Core
Powered by GitBook
On this page

React

import { create, Provider, Box } from '@svbstrate/react'

const svbstrate = create({
    ...theme,
})

function App() {
    return (
        <Provider svbstrate={svbstrate}>
            <Box color='primary' p={[20, 40, 60]}>Hello world</Box>
        </Provider>
    )
}
PreviousStylingNextReact Native

Last updated 1 year ago