Installation
Let's install MerelyUI in your project
Framework setup
Below are guides for installing MerelyUI for various frameworks
Install@merely-ui/react
npm i @merely-ui/react
Add Provider
After installing Merely UI, you need to wrap root of your application in
MerelyProvider
import { MerelyProvider } from "@merely-ui/react"
createRoot(document.getElementById('root')!).render(
<StrictMode>
<MerelyProvider>
<App />
</MerelyProvider>
</StrictMode>
)
Play!
Now you can play with MerelyUI components!
import { Flex, Button } from "@merely-ui/react"
export const App = () => {
return (
<Flex>
<Button>Click me!</Button>
<Button>Click me!</Button>
</Flex>
)
}