CraftBook is a versatile React component library developed with TypeScript and styled using TailwindCSS. It offers a collection of reusable UI components to streamline the development of React applications.
You can install CraftBook using either NPM or Yarn. Here are the steps for both:
NPM
npm install craftbook
Yarn
yarn add craftbook
CraftBook uses Storybook for component development and testing. Follow these steps to run the Storybook:
- Ensure you have Node.js and npm installed on your machine.
- Clone the CraftBook repository:
git clone https://github.com/communal/craftbook.git
- Navigate to the project directory:
cd craftbook
- Install dependencies:
npm install
or
yarn
- Start Storybook:
npm run storybook
or
yarn storybook
- Open your browser and visit http://localhost:6006/ to view the CraftBook Storybook, where you can interactively explore and test the components.
We welcome contributions to CraftBook! If you find any issues or have suggestions for improvement, please open an issue or submit a pull request.