This is a collection of reusable UI components for DreameStore Storefront.
You can install these UI components using PNPM as your package manager. If you don't have PNPM installed, you can do so by running:
npm install -g pnpm
Once you have PNPM installed, you can add niko0xdev/dreame-ui
to your project using the following command:
pnpm install niko0xdev/dreame-ui
To use these UI components in your project, you can import them like any other package:
import { Button, Input, Card } from "niko0xdev/dreame-ui";
// Now you can use the UI components in your code.
We use Storybook for developing and showcasing our UI components. To start the Storybook development environment, follow these steps:
-
Clone the Repository:
git clone https://github.com/DreameStore/ui.git cd dreame-store-ui
-
Install Dependencies:
Make sure you have PNPM installed. If not, install it globally with:
npm install -g pnpm
Then, install the project dependencies:
pnpm install
-
Start Storybook:
Run the following command to start Storybook:
pnpm run sb
Storybook will start, and you can view your UI components in a development environment in your web browser at
http://localhost:6006/
.
This project is licensed under the BSD-3 License. See the LICENSE file for details.