Explore our components and their usage in detail by visiting our Storybook. The Storybook is automatically updated with every push to the main branch, ensuring you have access to the latest components and documentation.
To start developing with the project, follow these steps:
In your project's root directory, execute the following command:
npm run storybookThis command initiates the application in development mode.
Access the application by opening http://localhost:6006 in your web browser. You'll be able to view and interact with your app's components in Storybook's development environment.
Our UIkit library is hosted on GitHub's npm registry. To use it, you'll need a Personal Access Token (PAT) with the correct permissions.
Generate a PAT: Follow the instructions here to create a new PAT on GitHub. Ensure you select the read:packages scope to allow package downloads.
- Goto https://github.com/settings/apps
- Select Personal access tokens on the left
- Use Token(classic): Click
generate new token (classic) - Make sure to select Read Packages
Configure npm with Your PAT:
Open or create the ~/.npmrc file in your home directory.
Add the following lines, replacing <<YOUR_PAT>> with your actual PAT:
@decide-ai:registry=https://npm.pkg.github.com
//npm.pkg.github.com/:_authToken=<<YOUR_PAT>>
With your PAT configured, you can now add the UIkit library to your project:
yarn add @decide-ai/uikitSome components use the Floating UI library https://floating-ui.com/docs/FloatingOverlay