Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

hoda-react

themesberg9MIT0.0.9TypeScript support: included

:construction: flowbite-react (unreleased) :construction:

Flowbite - Tailwind CSS components <

react, design-system, tailwind, tailwindcss, flowbite, flowbite-react, flowbite-react-components

readme

:construction: flowbite-react (unreleased) :construction:

Flowbite - Tailwind CSS components

Build websites even faster with components on top of React and Tailwind CSS

Discord Total Downloads Latest release Licenese


Screenshot of flowbite-react.com


flowbite-react is an open source collection of UI components, built in React, with utility classes from Tailwind CSS that you can use as a starting point for user interfaces and websites.

Table of Contents

Documentation

Documentation for flowbite-react is not yet finished.

If you want to browse the components, visit flowbite-react.com.

If you want to learn more about Flowbite, visit Flowbite docs.

Getting started

To use flowbite-react, you just need to setup flowbite normally and install flowbite-react from npm.

flowbite can be included as a plugin into an existing Tailwind CSS project.

Require via npm

Make sure that you have Node.js and Tailwind CSS installed.

  1. Install flowbite as a dependency using npm by running the following command:
npm i flowbite flowbite-react
  1. Require flowbite as a plugin inside the tailwind.config.js file:
module.exports = {
  content: [
    ...,
    'node_modules/flowbite-react/**/*.{js,jsx,ts,tsx}'
  ],
  plugins: [..., require('flowbite/plugin')],
};

Components

Alerts Badge Breadcrumbs
Tailwind CSS Alerts Tailwind CSS Badge Tailwind CSS Breadcrumbs
Buttons Button group Cards
Tailwind CSS Buttons Tailwind CSS Button Group Tailwind CSS Cards
Dropdown Forms List group
Tailwind CSS Dropdown Tailwind CSS Forms Tailwind CSS List group
:construction: Typography Modal Tabs
Tailwind CSS Typography Tailwind CSS Modal Tailwind CSS Tabs
Navbar Pagination Timeline
Tailwind CSS Navbar Tailwind CSS Pagination Tailwind CSS Timeline
Progress bar Tables Toast
Tailwind CSS Progress Bar Tailwind CSS Tables Tailwind CSS Toast
Tooltips :construction: Datepicker Spinner
Tailwind CSS Tooltips Tailwind CSS Datepicker Tailwind CSS Spinner
Footer Accordion Sidebar
Tailwind CSS Footer Tailwind CSS Accordion Tailwind CSS Sidebar
Carousel Avatar Rating
Tailwind CSS Carousel Tailwind CSS Avatar Tailwind CSS Rating
Input Field File Input :construction: Search Input
Tailwind CSS Input Field Tailwind CSS File Input Tailwind CSS Search Input
Select Textarea Checkbox
Tailwind CSS Select Tailwind CSS Textarea Tailwind CSS Checkbox
Radio Toggle :construction: Range Slider
Tailwind CSS Radio Tailwind CSS Toggle Tailwind CSS Range Slider
:construction: Floating Label
Tailwind CSS Floating Label

Community

If you need help or just want to discuss about the library join the community on Github:

⌨️ Discuss about Flowbite on GitHub

For casual chatting with others using the library:

💬 Join the Flowbite Discord Server

Contributing

Thank you for your interest in helping! Visit our guide on contributing to get started.

Figma

If you need the Figma files for the components you can check out our website for more information:

🎨 Get access to the Figma design files

The Flowbite name and logos are trademarks of Crafty Dwarf Inc.

📝 Read about the licensing terms

changelog

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

0.3.7 (2022-12-06)

Bug Fixes

  • toast: ToastToggle must have className (#471) (5618b21)

0.3.6 (2022-12-02)

Features

0.3.5 (2022-11-17)

Features

0.3.4 (2022-11-06)

Bug Fixes

  • DarkThemeToggle: should toggle the theme with usePreferences is false (#417) (#424) (37244ff)

0.3.3 (2022-11-04)

Features

  • breadcrumbitem: add forwardRef to breadcrumb item (#421) (0e4ae62)
  • sidebaritem: add forwardRef to sidebar item (#420) (faca797), closes #397

0.3.2 (2022-10-22)

Features

  • classname: more missing classnames access (#406) (9e40115)

0.3.1 (2022-10-22)

Features

  • classname: all components with classname access (#405) (99b4ceb)

Bug Fixes

0.3.0 (2022-10-22)

0.2.1 (2022-10-19)

Features

Bug Fixes

0.2.0 (2022-10-11)

Bug Fixes

  • button: reduce the thickness of button outline (#376) (5ef0aef)
  • storybook: fix welcome page (#377) (d2518ad)

0.1.12 (2022-10-07)

Bug Fixes

  • Button doesn't fit to its parent width (#370) (15571aa)

0.1.11 (2022-09-13)

Bug Fixes

  • package: minimal react version is 18 (#344) (bc4fea7)
  • pagination: fix next button icon misalignment (#346) (0dd10d3), closes #330

0.1.10 (2022-08-21)

Bug Fixes

  • component: use 1st letter of text in collapsed Sidebar.Item with no icon (#338) (103d173), closes #81

0.1.9 (2022-08-19)

0.1.8 (2022-08-17)

Bug Fixes

  • component: add missing display name for checkbox, radio and select (#328) (8c307aa)

0.1.7 (2022-08-11)

0.1.6 (2022-08-11)

Bug Fixes

0.1.5 (2022-08-01)

Bug Fixes

  • component: remove "All Rights Reserved" from <Footer.Copyright> (#317) (c6524ee)

0.1.4 (2022-07-31)

Bug Fixes

  • component: display text only on Sidebar.Item tooltip (#315) (9af5d13), closes #258
  • theme: add z-index to Dropdown floating component (#314) (77cb356), closes #308

0.1.4 (2022-07-31)

0.1.3 (2022-07-06)

0.1.2 (2022-07-05)

0.1.1 (2022-07-05)

Bug Fixes

  • component: Remove type="button" when not a <button> (#217) (8c7012e)

0.1.0 (2022-06-30)

⚠ BREAKING CHANGES

  • inputs: Adding theme support to the component blocks the access to className property directly

  • fix(inputs): fix wrong default color name from base to gray

  • inputs: adds theme support to TextInput and FileInput (#246) (366a119)

0.0.27 (2022-06-21)

Features

Bug Fixes

  • nanoid requires Node crypto module (#185) (da59ccc)
  • a11y: Use darker text for Breadcrumb.Items, resolves #102 (b6fcf6a)
  • build: Change yarn lint command to actually lint files (#183) (3471318)
  • carousel: carousel size depends on parent size (#241) (279eab4)
  • component: add displayName to TextInput (#219) (cb5ca89)
  • component: add forwardRef to TextInput (#212) (596a445)
  • component: Allow Card to have href (#194) (3be9786)
  • component: Allow Carousels to fill height, resolves #168 (#208) (9ccf0c2)
  • type: Generate FlowbiteTheme.d.ts to builds (#182) (097d875)
  • update typo on Footer.Link from Gihub to Github (#210) (7ca9fcc)

0.0.26 (2022-06-13)

Features

Bug Fixes

  • nanoid requires Node crypto module (#185) (da59ccc)
  • a11y: Use darker text for Breadcrumb.Items, resolves #102 (b6fcf6a)
  • build: Change yarn lint command to actually lint files (#183) (3471318)
  • component: add displayName to TextInput (#219) (cb5ca89)
  • component: add forwardRef to TextInput (#212) (596a445)
  • component: Allow Card to have href (#194) (3be9786)
  • component: Allow Carousels to fill height, resolves #168 (#208) (9ccf0c2)
  • component: Remove default export from Breadcrumb (#150) (511a86c)
  • Replace old colors on Alerts page & stories (#156) (4619168)
  • type: Generate FlowbiteTheme.d.ts to builds (#182) (097d875)
  • update typo on Footer.Link from Gihub to Github (#210) (7ca9fcc)
  • You may want the label to be the number 0 (#157) (396d8f3)

0.0.25 (2022-05-20)

Bug Fixes

0.0.24 (2022-05-15)

0.0.23 (2022-05-12)

0.0.22 (2022-05-10)

Bug Fixes

  • refactor sidebar item to accept a component as wrapper (#96) (c934624)

0.0.21 (2022-05-10)

Features

Bug Fixes

  • docs: Update README Components links to new URL pattern (#84) (39c2d91)
  • fix Carousel styles (78060ea)
  • improving flow handling (#86) (dc8af66)
  • refactor sidebar item to accept a component as wrapper (1c964eb)

0.0.20 (2022-05-02)

0.0.19 (2022-05-02)

Features

  • adds more alert stories (a99abc9)
  • adds the addicional (bcd268e)
  • build: Upgrade @popperjs/* to @floating-ui/react-* (#67) (9ba11ef), closes #57 #69
  • component: Add alt attribute to Avatars (d803781)
  • content: Add example Avatar with alt (b619076)
  • content: Add example Card with image with alt text (7410610)

Bug Fixes

0.0.18 (2022-04-20)

Features

  • add ability to drag to scroll for the Carousel component (eb91078)
  • adds avatar group (c1c3d48)
  • adds the avatar component to the storybook (e2f3a22)

Bug Fixes

  • fix Carousel controls clicking behavior (3fa9180)
  • improvement the dropdown stories (1ab98cc)
  • remove unused import from Avatar.tsx (ebe43ff)

0.0.17 (2022-04-14)

Features

Bug Fixes

  • add missing dark class names of the progress component (09cfef4)
  • add missing label prop usage in the Button component (5e8c291)
  • added 700 duration to Duration type (efd4611)
  • added PropsWithChildren (3090117)
  • added testid, merged imports, added duration record (c5c9cd5)
  • avatar bordered (432d9f5)
  • correctly renamed toast to Toast (fd5d162)
  • correctly renamed Toast.tsx to index.tsx (53881df)
  • exclude storybook stories while building the library (648b110)
  • export Size type and merged imports (55c9cdf)
  • fix Button component styling (c0683cf)
  • imported Size type from RatingContext (bd8ebbb)
  • make arrow prop of Dropdown component much understandable (cc1beff)
  • make label prop of Button component as ReactNode (59cee65)
  • removed svg component props (195b67e)
  • removed Toast.tsx from src/ (0f0c362)
  • removed unneeded imports (249e40e)
  • removed unneeded imports from stories (a731a2c)
  • replaced star svg with HiStar icon (259f345)
  • set tooltipArrow prop as false by default for the Dropdown component (35ad443)
  • simplify routes array (52cb973)

0.0.16 (2022-04-08)

Features

Bug Fixes

  • added border for dark mode (cfdf462)
  • changed navbar logo display name (a0caa49)
  • changed Navbar.Logo to Navbar.Brand (5ecee8b)
  • misspelled NavbarComponent (ad183a8)
  • removed commit for Tab component (629d86c)
  • removed linter ignore (950921a)
  • removed linter ignore for hidden className (7fe9e3e)
  • removed test link (129c9e2)
  • removed typo around a className (d3fcd0f)

0.0.15 (2022-03-21)

0.0.14 (2022-03-21)

Features

  • refactor ListGroup component (0f18211)

Bug Fixes

  • fix ListGroup component (5eda5ed)

0.0.13 (2022-03-17)

Features

Bug Fixes

  • fix Button styling (c4aad36)
  • fix onclick func and button focus in dark mode (a8b6c92)
  • refactor Accordion component (96dc14c)

0.0.12 (2022-03-13)

Features

  • add Button group component (1f8b8fd)

0.0.11 (2022-03-13)

Features

  • add light prop to Spinner component (0590d66)

Bug Fixes

  • Remove extra icon content from Button component (2762b55)

0.0.10 (2022-03-13)

Features

Bug Fixes

0.0.9 (2022-03-12)

Features

  • add Card component (6c3d067)
  • add spinner component (61c417d)
  • use react-icons icons library (236ba62)
  • use tooltips when sidebar is collapsed (17ecd1a)

0.0.8 (2022-03-12)

Features

  • add spinner component (f712228)
  • use react-icons icons library (236ba62)

0.0.7 (2022-03-12)

Features

  • use react-icons icons library (236ba62)

0.0.6 (2022-03-12)

Features

Bug Fixes

  • Edit Accordion.tsx (1110731)
  • use React state instead of data-* attributes in Sidebar.tsx (3942ddd)

0.0.5 (2022-03-05)

Features

  • Add Badges and Breadcrumb (7b7b288)

0.0.4 (2022-03-02)

Bug Fixes

0.0.3 (2022-03-02)

Features

0.0.2 (2022-02-28)

0.0.1 (2022-02-28)