Feature description
Add a DaffBadgeComponent to @daffodil/design. Badges are small status descriptors for UI elements — compact indicators (a count, a short status word, or a status dot) that attach to or sit alongside another element such as an icon, avatar, button, nav item, or product card.
Proposed API:
Use case
- As a store builder, I'd like to be able to show a count on a cart or notifications icon (e.g. number of items) without hand-rolling positioning and theming.
- As a store builder, I'd like to be able to mark a product or list item with a short status ("New", "Sale", "Out of stock") in a consistent, themeable way.
Prior work
No response
Daffodil version
0.93.0
Additional context
No response
Feature description
Add a
DaffBadgeComponentto@daffodil/design. Badges are small status descriptors for UI elements — compact indicators (a count, a short status word, or a status dot) that attach to or sit alongside another element such as an icon, avatar, button, nav item, or product card.Proposed API:
Use case
Prior work
No response
Daffodil version
0.93.0
Additional context
No response