Home / Snippets / UI Components /

Notification card

One actionable insight: product icon, copy block, and stacked secondary/primary controls.

Widely Supported
uino-js

Quick implementation

.notification-card-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem 1rem;
  border-radius: var(--radius-lg);
  border: 1px solid oklch(0.55 0.12 250 / 0.35);
}
.ncard-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
}

Prompt this to your LLM

aside + status role for inline alerts.

Build a single notification card.

Use .notification-card-demo and .notification-card-card.
aside with role="status", icon, title, paragraph, action row with ghost + primary buttons.
Subtle gradient background.

Return HTML + CSS.

Why this matters in 2026

In-app announcements beat email for policy changes; a card fits between table rows without modal weight.

The logic

Full-width action row keeps thumbs near targets on mobile while preserving left-to-right reading on desktop.

Accessibility & performance

Primary action should be keyboard-last if you mirror visual order; adjust DOM order if “View diff” must come first for SR users.