Bonfire SDK
Empowering web3 organizations with cutting-edge AI-powered tools for smarter decision-making and stronger communities. ✨
Getting Started
Install dependencies and start developing components
yarn install # install depedencies
yarn storybook # run storybook
yarn build # build the library
yarn publish # publish the library
You can also use the built-in site to test or document your components
yarn dev:site # site dev mode
yarn build:site # build site
yarn preview:site #priview built site
Using the library
-
Install peer dependencies: React & ReactDOM, Tailwind CSS and Headless UI
-
Install the component library
yarn add @bonfire-labs/bonfire-ai
-
In your project root, import the library CSS file
import { Chat } from "@bonfire-labs/bonfire-ai"; import "@bonfire-labs/bonfire-ai/dist/style.css"; <Chat organization="[Your Organization Name]" />;