Getting Started with React
Install @tremolo-ui/react
- Install tremolo-ui
- npm
- Yarn
- pnpm
npm install @tremolo-ui/react
yarn add @tremolo-ui/react
pnpm add @tremolo-ui/react
- Install dependecies
- npm
- Yarn
- pnpm
npm install react react-dom @emotion/react
yarn add react react-dom @emotion/react
pnpm add react react-dom @emotion/react
First Step
Below is an example of a simple knob component.
Live Editor
function App() { const [value, setValue] = useState(64) return ( <div> <Knob value={value} min={0} max={100} size={50} onChange={(v) => setValue(v)} /> <p>value: {value}</p> </div> ) }
Result
Loading...
Check out the look and feel in the storybook!