The primary purpose of this library is to create a single source of truth for all UI components. This ensures visual and functional consistency across our applications. Our vision is to establish a shared design language and streamline development workflows, making it easier for teams to build high-quality, scalable, and maintainable products. By using these components, developers can adhere to design standards without manual checks, reducing design debt and improving collaboration between design and development teams.
The primary purpose of this Background & ChatSDKX is to create a single source of truth for all UI components. This ensures visual and functional consistency across our applications. Our vision is to establish a shared design language and streamline development workflows, making it easier for teams to build high-quality, scalable, and maintainable products. By using these components, developers can adhere to design standards without manual checks, reducing design debt and improving collaboration between design and development teams.
The primary purpose of this library is to create a single source of truth for all UI components. This ensures visual and functional consistency across our applications. Our vision is to establish a shared design language and streamline development workflows, making it easier for teams to build high-quality, scalable, and maintainable products. By using these components, developers can adhere to design standards without manual checks, reducing design debt and improving collaboration between design and development teams.
A design system is the single source of truth which groups all the elements that will allow the teams to design, realize and develop a product. - Audrey Hacq
The primary purpose of this library is to create a single source of truth for all UI components. This ensures visual and functional consistency across our applications. Our vision is to establish a shared design language and streamline development workflows, making it easier for teams to build high-quality, scalable, and maintainable products. By using these components, developers can adhere to design standards without manual checks, reducing design debt and improving collaboration between design and development teams.
<div className="flex items-center">
<Button
variant="ghost"
className="hover:bg-transparent md:hidden"
onClick={() => setIsSidebarOpen(!isSidebarOpen)}
>
<Menu />
</Button>
<Link href="/" className="font-medium leading-loose text-2xl text-primary">
{siteConfig.name}
</Link>
</div>Our library is built on a set of core principles to ensure its long-term success and usability. These principles guide our decision-making and component development:
To begin using this library, follow these simple steps.
Installation: Install the library in your project using a package manager.
npm install @your-organization/component-libraryImporting Components: Import the desired components into your application files.
import { Button, Card } from '@your-organization/component-library';Usage: Use the components in your JSX or HTML code.
<button variant="primary" onClick="{handleLogin}">Log In</button>
<Card>
<h2>Welcome!</h2>
<p>This is a sample card component.</p>
</Card>The library's file structure is organized to be intuitive and easy to navigate.
/src
├── /components
│ ├── /Button
│ │ ├── Button.js
│ │ ├── Button.stories.js
│ │ └── Button.test.js
│ ├── /Card
│ │ ├── Card.js
│ │ ├── Card.stories.js
│ │ └── Card.test.js
│ └── index.js
├── /styles
│ └── variables.scss
└── index.js
src/components: Contains individual folders for each component.src/components/Button: Each component folder includes the component file (.js), a Storybook file (.stories.js) for documentation, and a test file (.test.js).src/styles: Holds global styles, such as design tokens and variables.index.js: Exports all components, making them easily accessible.We welcome contributions from the community! Before submitting a pull request, please read our contribution guidelines. This ensures a smooth collaboration process and helps maintain the library's quality.