Performance
PassFrame rate: 60 fps average, p5 59.9 · Long tasks: 0 tasks, 0 ms total, longest 0 ms · Source gzip 1.7 KB · Runtime 1.5 KB
terrible-otter-19MITCardUiverse.io
A card built with plain HTML and CSS by Yaya12085. Collected from Uiverse.io under the MIT licence and shown here live.
Quality report
The grade and score come from automated checks run at build or test time. If a check did not run, it is marked Not tested — numbers are never invented.
Frame rate: 60 fps average, p5 59.9 · Long tasks: 0 tasks, 0 ms total, longest 0 ms · Source gzip 1.7 KB · Runtime 1.5 KB
Issues 1 · Screen reader: Needs attention
No continuous motion
No overflow
Frame rate and long-task figures were measured in headless Chromium with software WebGL. They are only comparable between components on this site, and do not represent real devices.
Not applicable: no visible animation at rest. Hover-triggered animation was not tested.

Checked Nov 15, 2026 · Figures come from an automated script, not from hand-written samples.
Shown at real size.
The copy starts with the licence notice. Keep it when you use the code.
<div class="card">
<div class="header">
<span class="icon">
<svg fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
<path clip-rule="evenodd" d="M18 3a1 1 0 00-1.447-.894L8.763 6H5a3 3 0 000 6h.28l1.771 5.316A1 1 0 008 18h1a1 1 0 001-1v-4.382l6.553 3.276A1 1 0 0018 15V3z" fill-rule="evenodd"></path>
</svg>
</span>
<p class="alert">New message!</p>
</div>
<p class="message">
Lorem ipsum dolor sit amet consectetur adipisicing elit. Ipsam ea quo unde
vel adipisci blanditiis voluptates eum. Nam, cum minima?
</p>
<div class="actions">
<a class="read" href="">
Take a Look
</a>
<a class="mark-as-read" href="">
Mark as Read
</a>
</div>
</div>/* From Uiverse.io by Yaya12085 - Tags: alert, notification, card */
.card {
max-width: 320px;
border-width: 1px;
border-color: rgba(219, 234, 254, 1);
border-radius: 1rem;
background-color: rgba(255, 255, 255, 1);
padding: 1rem;
}
.header {
display: flex;
align-items: center;
grid-gap: 1rem;
gap: 1rem;
}
.icon {
flex-shrink: 0;
display: flex;
align-items: center;
justify-content: center;
border-radius: 9999px;
background-color: rgba(96, 165, 250, 1);
padding: 0.5rem;
color: rgba(255, 255, 255, 1);
}
.icon svg {
height: 1rem;
width: 1rem;
}
.alert {
font-weight: 600;
color: rgba(107, 114, 128, 1);
}
.message {
margin-top: 1rem;
color: rgba(107, 114, 128, 1);
}
.actions {
margin-top: 1.5rem;
}
.actions a {
text-decoration: none;
}
.mark-as-read, .read {
display: inline-block;
border-radius: 0.5rem;
width: 100%;
padding: 0.75rem 1.25rem;
text-align: center;
font-size: 0.875rem;
line-height: 1.25rem;
font-weight: 600;
}
.read {
background-color: rgba(59, 130, 246, 1);
color: rgba(255, 255, 255, 1);
}
.mark-as-read {
margin-top: 0.5rem;
background-color: rgba(249, 250, 251, 1);
color: rgba(107, 114, 128, 1);
transition: all .15s ease;
}
.mark-as-read:hover {
background-color: rgb(230, 231, 233);
}Controls · HTML · CSS · JS
Edit the code and tune it with the controls. The preview updates as you type.

This component runs from a bundled build, so its script is read-only here. Edit the HTML and CSS; the full source is in the Code tab.
Edit every component live, tune it with controls, download the full source and copy the advanced prompts.
$49 one-timePlaceholder price
Test mode: no real payment is taken.
Free: preview, copy buttons and the lesson notes.
A white card with a blue icon, New message, a short preview and Take a Look and mark as read actions, clear and polite.
In-app notifications, inbox alerts and activity feeds.
Change the 320px max width, the 1rem radius, the rgba(219,234,254,1) border and the action link colours.
Build a "New message alert card" component in plain HTML, CSS and JavaScript (no framework). A white card with a blue icon, New message, a short preview and Take a Look and mark as read actions, clear and polite. Use it for: In-app notifications, inbox alerts and activity feeds. Expose these controls: Change the 320px max width, the 1rem radius, the rgba(219,234,254,1) border and the action link colours. Support light and dark themes, respect prefers-reduced-motion with a still frame, keep text readable and controls keyboard accessible. Write original code; do not copy from paid or restricted component libraries.
A longer prompt with tuning, accessibility and integration steps.