Your go-to React UI library with all the essential tools.
Run the following command in your project's root directory
npm i @iceberg-dev/ice-ui
Usage
import ReactDOM from 'react-dom/client';
import { BaseButton, palette, shadows, typography } from "@iceberg-dev/ice-ui";
import { createTheme, ThemeProvider } from "@mui/material";
// Create a theme using ice-ui styles
const theme = createTheme({
palette,
typography,
shadows
});
// Wrap your app with ThemeProvider and use ice-ui components
ReactDOM.createRoot(document.getElementById('root')!).render(
<ThemeProvider theme={theme}>
<BaseButton>hello</BaseButton>
</ThemeProvider>
);