Description
flowbite-react-icons is the official React package for Flowbite Icons, a free and open-source collection of SVG icons. The package is split into outline and solid endpoints, so each icon matches the naming of its SVG file. A FlowbiteIcons provider sets a global configuration for every icon it wraps, and inline props take precedence over the provider's values. Nested providers inherit values from their parents. Width and height also override the size prop. The icons are server-ready, and the provider's values are rendered on the server and on the client, which the README says avoids hydration warnings in frameworks such as Next.js. For custom SVG icons, the package exposes a BaseIcon component that gives access to the same provider values. BaseIcon applies default values, including the SVG namespace and a 0 0 24 24 viewBox. The README also includes type definitions for the props.…
Highlights
- Official Flowbite icons for React
- Outline and solid icon sets
- Global provider configuration
- Server-ready rendering and BaseIcon
Ratings & Reviews
No ratings yet
Be the first to rate flowbite-react-icons.
People also visit
@icons-pack/react-simple-icons
This package provides the Simple Icons packaged as a set of React components
flowbite-react-icons FAQ
What is flowbite-react-icons?
The official React package for Flowbite Icons, a collection of SVG icons.
What is the difference between outline and solid?
They are two separate endpoints, one for outline icons and one for solid icons, matching the naming of the SVG files.
How do I set one size for every icon?
Use the FlowbiteIcons provider. Inline props on an icon take precedence over the provider's values.
Can I use my own SVG icons?
Yes. The BaseIcon component is exposed, and it gives custom icons the same provider values.
Does it work with server rendering?
Yes. The README says the provider values render on the server and the client, avoiding hydration warnings.
What are the best flowbite-react-icons alternatives?
Popular alternatives to flowbite-react-icons include @deemlol/next-icons, tabler-icons-react and @solar-icons/react. See all flowbite-react-icons alternatives















