Featured Icon

The Untitled-UI-style icon-in-a-decorative-container, used atop empty states and alerts. Six themes, five colours, four sizes.

$bunx shadcn@latest add @nx-ui/featured-icon
Registry item

Primary usage

A single icon in a soft, colour-tinted rounded container — the default light theme, brand colour, medium size.

Six themes

light (soft tint), gradient (glowing pill), dark (embossed chip), modern (neutral card), modern-neue (soft emboss) and outline (target reticle) — all token-driven so they flip in dark mode.

light
gradient
dark
modern
modern-neue
outline

Themes × colours

The full matrix: six themes down, five semantic colours across, shown at the large size.

brandgrayerrorwarningsuccesslightgradient
dark
modern
modern-neue
outline

Sizes

Four sizes — sm, md, lg, xl — shown here in the gradient theme.

Semantic colours in context

Pick the colour that matches the message: warning for a moisture alert, error for a failed collection, success for a completed batch.

In an empty state

The canonical placement: centred atop a card's title and description, drawing the eye before any copy.

No collections scheduled
Riverside Waste Movement has no pickups booked this week. Schedule one to keep bins moving off site.

API reference

Exported parts and their props, extracted from the component source.

PropTypeDefaultDescription
iconReact.ComponentType<{ className?: string }> | React.ReactNode
colorColor"brand"
sizeSize"md"
themeTheme"light"

…extends React.ComponentProps<"div">