@iceberg-dev/ice-ui
v1.2.46
Published
A versatile and modern React UI library crafted by @iceberg-dev. Enhance your web applications with sleek and customizable components designed for seamless integration and stunning user experiences.
Downloads
786
Readme
Ice-UI
Your go-to React UI library with all the essential tools.
How to Install
Run the following command in your project's root directory
npm i @iceberg-dev/ice-ui
Docs
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>
);