Zimmerman Design System is a design system library that provides reusable UI components and styles shared across projects in the Zimmerman organization.
To install the Zimmerman Design System, run the following command:
yarn add zimmerman-design-system
Ensure you have the following peer dependencies installed in your project:
{
"@emotion/react": "^11.13.3",
"@emotion/styled": "^11.13.0",
"@mui/material": "^5.16.7",
"react": "^18.3.1",
"react-dom": "^18.3.1"
}
You can install all peer dependencies with:
npm install @emotion/react@^11.13.3 @emotion/styled@^11.13.0 @mui/material@^5.16.7 react@^18.3.1 react-dom@^18.3.1
To use the components from the Zimmerman Design System in your project, first import the components you need:
import { Button } from "zimmerman-design-system";
function App() {
return (
<Button
filled
label="my button"
radius="rounded"
backgroundColor="pink"
color="black"
size="small"
/>
);
}
Make sure to wrap your application with any necessary providers that the design system requires.
You can view all components in the design system and their props on Storybook: