Welcome to CRM Design System! This is a modular, reusable component library generated using Hope AI and refined by humans. It demonstrates how to compose a modern design system from independent, reusable UI components, suitable for building scalable web applications.
This project serves as a practical guide to showcase AI-driven development, modular architecture, and rapid delivery with Hope AI.
Browse the components on the Bit Cloud example organization for live previews and documentation of the design system components.
- Component Library: Browse the design system components. Each is a standalone, reusable package.
- Modular Architecture: Components are organized by domain (actions, content, layouts, loaders, navigation, typography, theming) for easy discovery and maintenance.
- Theming: Easily customize the look and feel with a flexible theming system.
- Composability: Build complex UIs by composing simple, well-documented components.
This design system is built with a modern, component-oriented technology stack:
- Monorepo: Bit - For creating, versioning, and composing the design system packages.
- Frontend: React - For building interactive and reusable UI components.
- Development: Vite - For fast component development and preview.
- Styling: CSS Modules - For locally scoped and conflict-free component styles.
- Code standards: Unit tests powered by Vitest. Code consistency and quality enforced by ESLint.
Follow these steps to get the design system running on your local machine.
Make sure you have Bit installed globally on your system.
- Clone the repository (or get the source code).
- Navigate into the project directory:
cd path/to/crm-design
- Install dependencies for all components in the workspace:
bit install
You can develop and preview individual components in isolation using the Bit workspace. This is ideal for building, testing, and documenting design system components:
bit start
This command launches the Bit development server, where you can see, test, and interact with each component in isolation. It's great for development and debugging.
Run unit tests for all components using:
bit test
The directory structure is organized by component domain. This makes the codebase more modular, scalable, and easier to maintain. Key domains include:
actions/
– Actionable UI elements (e.g., buttons)content/
– Content display components (e.g., badge, card)layouts/
– Layout primitives (e.g., flex, page-layout)loaders/
– Loading indicators (e.g., spinner)my-crm-theme/
– Theming and design tokensnavigation/
– Navigation components (e.g., link, tabs)typography/
– Text and heading components
Each component is self-contained with its own source, styles, documentation, tests, and compositions for easy reuse and discovery.