custom-ui-library Tailwind Templates

Custom Ui Library

A UI Library of Custom Tailwind Components for HY Affiliate Orgs

This is the custom UI Library built in NextJS and TailwindCSS The documentation of this UI Library is supported by Storybook

Getting Started

Install Dependencies

npm i
#or
yarn add
#or
pnpm i #recommended

Run the storybook server:

npm storybook
# or
yarn storybook
# or
pnpm storybook

Open http://localhost:6006 with your browser to see the result.

You can start adding components by writing .tsx files in the src/components/ directory.

To enable storybook support for the newly written components, you will have to add a respective .stories.tsx file for your component.

A simple example for a button has been done. Use that as a reference to add more components to the library!

Learn More

To learn more about Next.js, take a look at the following resources:

Top categories

Loading Svelte Themes