A reusable, scalable, and accessible design system for building consistent user interfaces across MatchHat products. Built with React, TypeScript, Tailwind CSS, and Storybook.
- Component Library: A comprehensive set of UI components (buttons, forms, modals, navigation, etc.)
- Theming: Easily customizable with Tailwind CSS.
- Accessibility: Components follow accessibility best practices.
- Documentation: Interactive documentation and examples via Storybook.
- TypeScript Support: Fully typed components for better developer experience.
Install the package using your preferred package manager:
npm install @matchhat/design-system
# or
yarn add @matchhat/design-system
# or
pnpm add @matchhat/design-systemImport components into your project:
import { Button, Input, Modal } from '@matchhat/design-system';
function App() {
return (
<div>
<Button>Click me</Button>
<Input placeholder="Type here..." />
<Modal isOpen={true}>Hello, world!</Modal>
</div>
);
}Make sure your project is set up with Tailwind CSS. You can customize the design system by extending the Tailwind config.
To view and interact with all components:
npm run storybooksrc/
components/
ui/
button/
input/
modal/
...
form/
...
stories/
tailwind.css
index.ts
- Fork the repository.
- Create a new branch:
git checkout -b feature/your-feature - Make your changes and commit:
git commit -m 'Add new feature' - Push to the branch:
git push origin feature/your-feature - Open a pull request.
npm run dev– Start development servernpm run build– Build the librarynpm run storybook– Launch Storybooknpm run lint– Lint the codebase
Made with ❤️ by the MatchHat team.