@cogeco-web/oxio-design-system
v0.17.0
Published
The **Oxio Design System** is a collection of reusable UI components built with **React**, **TypeScript**, and **Storybook**, based on our [Figma](INSERT_LINK_HERE) design files. It follows the **Atomic Design** methodology for scalability and consisten
Downloads
49
Readme
Oxio Design System
The Oxio Design System is a collection of reusable UI components built with React, TypeScript, and Storybook, based on our Figma design files.
It follows the Atomic Design methodology for scalability and consistency.
🌎 Environments
- Dev: TBA
- Staging: TBA
- Production: TBA
🔥 Atomic Design
We organize components using Atomic Design principles:
- Atoms: Basic elements (e.g. buttons, inputs)
- Molecules: Groups of atoms (e.g. forms, cards)
- Organisms: Complex UI sections (e.g. headers, footers)
🚀 Installation
Clone the repository:
git clone https://github.com/oxio-design-system.gitInstall dependencies:
yarn installStart Storybook:
yarn storybook
🛠️ Usage
The design system uses Storybook to display and test components in isolation.
To view the components:
yarn storybook📚 This will open Storybook in your browser with all available components.
➕ Adding a New Component
To add a new component to the design system:
Start Storybook locally:
yarn storybookIn the Storybook UI, click the “+” button in the sidebar (usually in the top-right corner).
Select your component type and enter a name. This should create a
YourComponent.stories.tsxfile.Edit the generated files to implement your component.
Be sure to include the correct path in thetitlefield, e.g.:title: 'components/atoms/Button'Your component will automatically appear in the Storybook sidebar.
✅ Tip: Use existing components as references to follow naming, structure, and code style conventions.
🤝 Contributing
Create a new branch:
git checkout -b feature/TOSO-###-XYZMake your changes and commit:
git commit -m "Add MyNewComponent"Push your branch:
git push origin feature/TOSO-###-XYZOpen a Pull Request.
