Dev Design Library

Badge

Displays a small indicator positioned relative to another element, commonly used for notification counts, status dots, and labels.

Badge preview
Library
HeroUI
Framework
React
Type
component
License
Apache-2.0
Install
npm install @heroui/react
Files
  • packages/react/src/components/badge/badge.tsx
  • packages/react/src/components/badge/index.ts
  • packages/styles/src/index.ts
  • packages/styles/src/utils/index.ts
  • packages/styles/src/components/index.ts
  • packages/react/src/utils/dom.tsx
  • packages/react/src/utils/compose.ts
Source
https://github.com/heroui-inc/heroui

Categories

More from HeroUI