GuideRequirement & Installation

Requirement

Web Minimum Requirement

Requirement
Nodev22.11.0

Installation

To manually set up Biofarma UI in your project, follow the steps below.

Register the Package (Web)

Add the following lines to your package.json file manually:

"dependencies": {
  // other dependencies
  
  "bio-bind-ui": "",
  "bind-ui-icon": "" // required for icon dependencies
}

Build the Project

To build the project, use one of the following commands:

Using npm:

npm install
npm run build

Using yarn:

yarn install
yarn run build

Use it!

start using the package in your project:

import { Accordion } from 'bio-bind-ui';
<Accordion
  items={[
    {
      title: 'Title',
      content: 'Content',
    },
  ]}
  style={{}}
  mode='light'
  id='accordion'
  variant='none'
  expandedIndexes=[]
  onExpandedIndexes={(expandedIndexes: number[]) => }
/>
BIND © Biofarma Innovate Next-level Design .