Skip to content

Badge

Compact label for status, category, or metadata. Supports solid, dot, and ghost variants with Tailwind colors.

Installation

Install Badge from the Fluid Effect UI registry.

Solid

FictionSciencePhilosophyHistoryPoetry

Dot

FictionSciencePhilosophyHistoryPoetry

Ghost

SuccessProcessingPendingFailed

Colors

AccentGrayRedOrangeAmberYellowLimeGreenEmeraldTealCyanBlueIndigoVioletPurpleFuchsiaPinkRose
AccentGrayRedOrangeAmberYellowLimeGreenEmeraldTealCyanBlueIndigoVioletPurpleFuchsiaPinkRose

API Reference

Types come from the public API. A dash indicates no default is documented here.

Badge props

Public source
PropTypeDefault
childrenView.Children<Msg, R>—
variant"ghost" | "solid" | "dot"'solid'
color
Show type
"accent" | "gray" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose"
'gray'
badgeSizeBadgeSize—
sizeSizeVariant'default'
shapeShapeVariant'rounded'
classNamestring—