Skip to content

FeaturedIcon

An icon inside a tinted circle, used to headline empty, success, and error states, dialogs, and feature callouts.

<FeaturedIcon color="accent" icon={Sparkles} size="md" />
<div className={styles.row}>
{sizes.map(size => (
<FeaturedIcon key={size} {...args} size={size} />
))}
</div>
accent
success
error
warning
info
blue
cyan
gray
green
orange
pink
purple
red
teal
yellow
<div className={styles.grid}>
{colors.map(color => (
<div className={styles.colorItem} key={color}>
<FeaturedIcon {...args} color={color} />
<Text>{color}</Text>
</div>
))}
</div>
<div className={styles.row}>
<FeaturedIcon {...args} color="success" icon={Check} />
<FeaturedIcon {...args} color="error" icon={X} />
<FeaturedIcon {...args} color="warning" icon={TriangleAlert} />
<FeaturedIcon {...args} color="info" icon={Info} />
</div>

Response link unavailable

This link is no longer valid. Please use the link from your most recent reminder.
<Card className={styles.card}>
<EmptyState
actions={<Button label="Return home" variant="primary" />}
description="This link is no longer valid. Please use the link from your most recent reminder."
illustration={<FeaturedIcon color="error" icon={X} size="lg" />}
title="Response link unavailable"
/>
</Card>

An icon inside a tinted circle, used to headline empty, success, and error states, dialogs, and feature callouts.

PropTypeDefaultDescription
aria-labelstring—Accessible label. When omitted the icon is treated as decorative and hidden from assistive technology.
classNamestring—Additional CSS class names applied to the root element.
color"error" | "info" | "success" | "warning" | "red" | "orange" | "yellow" | "green" | "teal" | "cyan" | "blue" | "purple" | "pink" | "gray" | "accent"'accent'Color of the tinted background and icon.
data-testidstring—Test ID applied to the root element.
icon*IconComponent—Lucide icon component to render.
refRef<HTMLSpanElement>—Ref forwarded to the root element.
size"sm" | "md" | "lg"'md'Size of the circle; the icon scales with it.
styleCSSProperties—Inline styles applied to the root element.