Docs Components
To use components of vallium, you simply have to import them from the valliumui package.
All components are exported from the valliumui package so you can simple import them like this:
import { Button } from 'valliumui';To use the simply use them like any other react component.
Demo.tsx
import { useState } from "react"
import { Button } from "valliumui";
export function Counter() {
const [count, setCount] = useState(0);
return <div>
<p>You clicked {number} times!</p>
<Button onClick={() => setCount(count + 1)}>Click me!</Button>
</div>
}Demo
You clicked 0 times!