Skip to content

zimmerman-team/zimmerman-design-system

Repository files navigation

Zimmerman Design System

Zimmerman Design System is a design system library that provides reusable UI components and styles shared across projects in the Zimmerman organization.

Table of Contents

  1. Installation
  2. Peer Depenedencies
  3. usage
  4. storybook

Installation

To install the Zimmerman Design System, run the following command: yarn add zimmerman-design-system

Peer dependencies

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

Usage

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.

Storybook

You can view all components in the design system and their props on Storybook:

View Storybook

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •