A reusable atomic design system library built with React, Tailwind CSS, Radix UI, and Storybook. MyAtomicDesign helps you create consistent, scalable, and reusable UI components for your projects.
To install MyAtomicDesign in your project, use npm or yarn:
npm install my-atomic-design
# or
yarn add my-atomic-design
Start using the pre-built components in your React project:
import React from "react";
import Button from "my-atomic-design/Button";
const App = () => (
<div>
<Button variant="primary" size="medium">
Click Me
</Button>
</div>
);
export default App;
To see all available components, their variations, and examples, run Storybook:
npm run storybook
Open your browser and visit http://localhost:6006 to view the Storybook interface.
Button
primary
, secondary
, outline
, danger
small
, medium
, large
icons
before or after text and an isLoading
state.Icon
small
, medium
, large
.Clone the repository:
git clone https://github.com/your-username/my-atomic-design.git
cd my-atomic-design
Install dependencies:
npm install
Start the development server:
npm start
Launch Storybook:
npm run storybook
Contributions are welcome! If you’d like to contribute:
git checkout -b feature/my-feature
).git commit -m 'Add new feature'
).git push origin feature/my-feature
).This project is licensed under the MIT License. See the LICENSE file for details.