Obeyaka UI component library (Mantine 8, React, TS)
npm install obeyaka-web-uiReact + Mantine 8 component library.
``bash`
npm i obeyaka-web-ui
Peer deps:
`bash`
npm i react react-dom @mantine/core @mantine/hooks @mantine/emotion
`tsx
import { ObeyakaUIProvider, GridSection } from "obeyaka-web-ui";
import "@mantine/core/styles.css";
function App() {
return (
header: "My Section",
subheader: "Description here",
}}
rows={[...]}
/>
);
}
`
Set theme at the provider level, and all components will automatically use it:
`tsx`
{/ All ImageLoader components will use "dark" theme automatically /}
rows={[
{
cols: [
{
card: {
content:
},
},
],
},
]}
/>
You can still override theme at the component level:
`tsx`
`bash``
npm run storybook
npm run build