npm

@iceberg-dev/ice-ui
TypeScript icon, indicating that this package has built-in type declarations

1.2.46 • Public • Published

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>
);

For detailed documentation on BaseButton and other components, visit the IceUI Storybook.

For development guidelines, refer to the IceUI Documentation.

Readme

Keywords

Package Sidebar

Install

npm i @iceberg-dev/ice-ui

Weekly Downloads

57

Version

1.2.46

License

MIT

Unpacked Size

10.8 MB

Total Files

522

Last publish

Collaborators

  • icbrg-dev