Featured Icon

Static featured icon shell with chrome variants, semantic colors, sizes, shape, and a plain glyph mode.

Also known as: feature icon, icon badge, icon shell, featured glyph, status icon

Installation

Install with the CLI, or copy the component source into your project.

Add featured-icon (npm)

npx --yes -p github:itsvigneshv/default-file-ui#main df-ui add featured-icon

Default

Soft tinted shell at lg for easier scanning. Default API size is md.

Variants

Chrome treatments from soft through plate, plus plain. Shown at lg for comparison.

soft
halo
filled
outline
surface
plate
plain

Colors

Semantic accents on the soft variant at lg.

brand
muted
success
warning
destructive

Sizes

Container steps from 12px (2xs) to 62px (3xl).

2xs12px
xs16px
sm24px
md32px
lg40px
xl48px
2xl56px
3xl62px

Shape override

Each chrome variant has a default shape. Pass shape to override. Shown at lg.

soft square
filled circle
outline square

Plain

Bare glyph sized for any surface. Inherits the surrounding text color, so ink plates stay matched to text-brand-ink-foreground in light and dark. glyphShadow helps on busy plates.

Plain on card
Plain on ink

Chrome overrides

Turn elevation off, set radius, grow the glyph with iconSize, or override background, border, and icon color. Shown at lg unless noted.

shadow off
radius md
iconSize xl
custom chrome

Properties

Static featured icon shell for empty states, feature rows, and status marks. Pass any icon as children. Variants supply chrome recipes; override background, border, icon color, icon size, radius, and elevation shadow when you need a custom look.