Install and configure React
Install the design system
npm install "@root-axis/design-system"
Setting up your files
In the style of your component, or a global style file
@import "@root-axis/design-tokens"
In the jsx file you want to import the components
import "@root-axis/design-system"
Done!
Now you can do whatever you want with the component
import { useState } from 'react' function App() { const [count, setCount] = useState(0); <ra-button onClick={() => setCount((count) => count + 1)}> count is {count} </ra-button> }