Design System - Button Component
This design system project focuses on building a button component with different variants and customizable properties. The component will be showcased in Storybook and the changes will be published to Chromatic for review and feedback.
Task Details
- Task: Build a design system - Button component
- Variants:
- Primary: Has a background that matches the border.
- Secondary: Has a white background with a border that matches the text color.
- Text: Has no background and no outline. Shows an underline when hovered over.
- Sizes: The component should have 3 different sizes.
- Color Prop: The component should accept a color prop with 3 values.
Deployed Storybook
The latest version of the Storybook for the button component has been deployed to Chromatic. You can access it by following this link: Design System
Please review and provide feedback on the deployed Storybook.
Getting Started
Follow the steps below to set up and run the project.
Prerequisites
- Node.js (version X.X.X)
- npm (version X.X.X)
Installation
- Clone the repository:
git clone git@github.com:a7mad1112/Button-Design-System.git
- Navigate to the project directory:
cd button-design-system
- Install the dependencies:
npm install
Usage
- Start the Storybook development server:
npm run storybook
- Access Storybook in your browser at http://localhost:6006.
Acknowledgements
I am grateful to Foothill Technology Solutions for providing me with the opportunity to participate in this internship cycle,
and for their support throughout the development of this project.
On this page
Contributors
Created June 7, 2023
Updated June 7, 2023
