Skip to content

a7mad1112/Button-Design-System

Repository files navigation

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

  1. Clone the repository:
  git clone [email protected]:a7mad1112/Button-Design-System.git
  1. Navigate to the project directory:
cd button-design-system
  1. Install the dependencies:
npm install

Usage

  1. Start the Storybook development server:
npm run storybook
  1. 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.

foothil

Releases

No releases published

Packages

No packages published