{"id":30310353,"url":"https://github.com/themesberg/flowbite-react-icons","last_synced_at":"2025-08-17T14:11:16.766Z","repository":{"id":209347868,"uuid":"723802288","full_name":"themesberg/flowbite-react-icons","owner":"themesberg","description":"Flowbite React Icon library is the official collection of SVG icons, provided freely and as open-source","archived":false,"fork":false,"pushed_at":"2025-03-22T09:54:04.000Z","size":1179,"stargazers_count":10,"open_issues_count":0,"forks_count":3,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-08-11T23:59:18.503Z","etag":null,"topics":["flowbite","icons","react","svg"],"latest_commit_sha":null,"homepage":"https://flowbite.com/icons/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/themesberg.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-11-26T19:56:46.000Z","updated_at":"2025-05-14T07:37:33.000Z","dependencies_parsed_at":"2024-03-23T13:40:07.419Z","dependency_job_id":"a2f51090-8e90-4da5-96b9-72dc74289f2b","html_url":"https://github.com/themesberg/flowbite-react-icons","commit_stats":null,"previous_names":["themesberg/flowbite-react-icons"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/themesberg/flowbite-react-icons","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/themesberg%2Fflowbite-react-icons","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/themesberg%2Fflowbite-react-icons/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/themesberg%2Fflowbite-react-icons/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/themesberg%2Fflowbite-react-icons/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/themesberg","download_url":"https://codeload.github.com/themesberg/flowbite-react-icons/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/themesberg%2Fflowbite-react-icons/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270856775,"owners_count":24657700,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-17T02:00:09.016Z","response_time":129,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["flowbite","icons","react","svg"],"created_at":"2025-08-17T14:11:13.182Z","updated_at":"2025-08-17T14:11:16.760Z","avatar_url":"https://github.com/themesberg.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# flowbite-react-icons\n\nOfficial React package of [Flowbite Icons](https://flowbite.com/icons/).\n\n## Installation\n\n```bash\n# npm\nnpm i flowbite-react-icons\n\n# yarn\nyarn add flowbite-react-icons\n\n# pnpm\npnpm add flowbite-react-icons\n\n# bun\nbun add flowbite-react-icons\n```\n\n## Usage\n\nThe icons are separated into `outline` and `solid` endpoints to enable having a one-to-one parity with the svg file naming convention.\n\n### Outline\n\n```tsx\n// outline\n\nimport { AngleDown } from \"flowbite-react-icons/outline\";\n\nfunction Component() {\n  return \u003cAngleDown /\u003e;\n}\n```\n\n### Solid\n\n```tsx\n// solid\n\nimport { AngleDown } from \"flowbite-react-icons/solid\";\n\nfunction Component() {\n  return \u003cAngleDown /\u003e;\n}\n```\n\n## Provider\n\n`FlowbiteIcons` is the context provider that extends the `FlowbiteIconProps` interface and is used to set a global config for all icons that it wraps.\n\n### Usage\n\n```tsx\nimport { FlowbiteIcons } from \"flowbite-react-icons\";\nimport {\n  AngleDown,\n  AngleLeft,\n  AngleRight,\n  AngleUp,\n} from \"flowbite-react-icons/outline\";\n\nfunction Component() {\n  return (\n    // all will have 48px `width` and `height`\n    \u003cFlowbiteIcons size={48}\u003e\n      \u003cAngleDown /\u003e\n      \u003cAngleLeft /\u003e\n      \u003cAngleRight /\u003e\n      \u003cAngleUp /\u003e\n    \u003c/FlowbiteIcons\u003e\n  );\n}\n```\n\n### Nesting\n\n`FlowbiteIcons` context provider can be nested and it inherits values from parent contexts, allowing easy decoupled composability.\n\n```tsx\nimport { FlowbiteIcons } from \"flowbite-react-icons\";\nimport { AngleDown } from \"flowbite-react-icons/outline\";\n\nfunction Component() {\n  return (\n    \u003cFlowbiteIcons size={48}\u003e\n      \u003cAngleDown /\u003e {/* [width, height] = 48 */}\n      \u003cFlowbiteIcons color=\"red\"\u003e\n        \u003cAngleDown /\u003e {/* [width, height] = 48; color = red; */}\n      \u003c/FlowbiteIcons\u003e\n    \u003c/FlowbiteIcons\u003e\n  );\n}\n```\n\n### Props priority\n\nInline props take precedence over what is provided by the `FlowbiteIcons` context provider.\n\n```tsx\nimport { FlowbiteIcons } from \"flowbite-react-icons\";\nimport { AngleDown } from \"flowbite-react-icons/outline\";\n\nfunction Component() {\n  return (\n    \u003cFlowbiteIcons size={48}\u003e\n      \u003cAngleDown /\u003e {/* [width, height] = 48 */}\n      \u003cFlowbiteIcons size={16}\u003e\n        \u003cAngleDown /\u003e {/* [width, height] = 16 */}\n      \u003c/FlowbiteIcons\u003e\n    \u003c/FlowbiteIcons\u003e\n  );\n}\n```\n\nNote: `width` and `height` also take precedence over `size` prop.\n\n```tsx\nimport { FlowbiteIcons } from \"flowbite-react-icons\";\nimport { AngleDown } from \"flowbite-react-icons/outline\";\n\nfunction Component() {\n  return (\n    \u003cFlowbiteIcons size={48}\u003e\n      \u003cAngleDown /\u003e {/* [width, height] = 48 */}\n      \u003cFlowbiteIcons height={16}\u003e\n        \u003cAngleDown /\u003e {/* width = 48, height = 16 */}\n      \u003c/FlowbiteIcons\u003e\n    \u003c/FlowbiteIcons\u003e\n  );\n}\n```\n\nOverride with inline icon props:\n\n```tsx\nimport { FlowbiteIcons } from \"flowbite-react-icons\";\nimport { AngleDown } from \"flowbite-react-icons/outline\";\n\nfunction Component() {\n  return (\n    \u003cFlowbiteIcons size={48}\u003e\n      \u003cAngleDown /\u003e {/* [width, height] = 48 */}\n      \u003cAngleDown size={16} /\u003e {/* [width, height] = 16 */}\n    \u003c/FlowbiteIcons\u003e\n  );\n}\n```\n\n## SSR (Server-side rendering)\n\nAll icons are server-ready including `FlowbiteIcons` context provider. Values set in `FlowbiteIcons` will be both **rendered on the server and on the client** avoiding client-side hydration warning (eg: Next.js issue).\n\n`FlowbiteIcons` is a polymorphic context allowing it to run both on server and client with the same data.\n\n## Bring your icon\n\nNeed more custom SVG icons but don't want to lose the `FlowbiteIcons` context provider powers as well as all your global config settings?\n\n=\u003e `BaseIcon` component is also exposed giving access to the `FlowbiteIcons` context provider values.\n\nCreate\n\n```tsx\n// circle-user-icon.tsx\n\nimport { BaseIcon } from \"flowbite-react-icons\";\n\nexport function CircleUserIcon() {\n  return (\n    \u003cBaseIcon\n      fill=\"none\"\n      strokeWidth=\"2\"\n      strokeLinecap=\"round\"\n      strokeLinejoin=\"round\"\n    \u003e\n      \u003ccircle cx=\"12\" cy=\"12\" r=\"10\" /\u003e\n      \u003ccircle cx=\"12\" cy=\"10\" r=\"3\" /\u003e\n      \u003cpath d=\"M7 20.662V19a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v1.662\" /\u003e\n    \u003c/BaseIcon\u003e\n  );\n}\n```\n\nUsage\n\n```tsx\n// page.tsx\n\nimport { FlowbiteIcons } from \"flowbite-react-icons\";\nimport { CircleUserIcon } from \"./circle-user-icon\";\n\nfunction Component() {\n  return (\n    \u003cFlowbiteIcons size={48}\u003e\n      \u003cCircleUserIcon /\u003e\n    \u003c/FlowbiteIcons\u003e\n  );\n}\n```\n\n## Default values\n\n`BaseIcon` applies the following default values to props:\n\n| name    | value                      |\n| ------- | -------------------------- |\n| xmlns   | http://www.w3.org/2000/svg |\n| viewBox | 0 0 24 24                  |\n\n## Types\n\n```ts\nexport interface FlowbiteIconProps extends SVGProps\u003cSVGSVGElement\u003e {\n  /**\n   * Sets both `width` and `height`\n   *\n   * @default 24\n   */\n  size?: number;\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthemesberg%2Fflowbite-react-icons","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthemesberg%2Fflowbite-react-icons","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthemesberg%2Fflowbite-react-icons/lists"}