free UI sections and components / app UI
notification list
By Andrea Buttarelli, founder of Feega · Free · Svelte, React, Vue, Astro, HTML
Inbox-style list with unread dots, actor, action, time and a mark-all link.
code
<section class="fl-notification-list" aria-label="Notifications">
<header><h2>Notifications <span>3</span></h2><a href="#">Mark all as read</a></header>
<ul>
<li class="unread"><a href="#"><span class="fl-avatar" aria-hidden="true">NS</span><span class="text"><b>Name Surname</b> commented on <b>Pricing page</b></span><time>2m</time></a></li>
<li class="unread"><a href="#"><span class="fl-avatar" aria-hidden="true">FL</span><span class="text"><b>First Last</b> published <b>Home</b></span><time>1h</time></a></li>
<li class="unread"><a href="#"><span class="fl-avatar sys" aria-hidden="true"><svg class="fl-px" viewBox="0 0 9 8" aria-hidden="true"><path d="M4 0h1v1h-1zM3 1h1v1h-1zM4 1h1v1h-1zM5 1h1v1h-1zM2 2h1v1h-1zM3 2h1v1h-1zM5 2h1v1h-1zM6 2h1v1h-1zM2 3h1v1h-1zM3 3h1v1h-1zM5 3h1v1h-1zM6 3h1v1h-1zM1 4h1v1h-1zM2 4h1v1h-1zM3 4h1v1h-1zM5 4h1v1h-1zM6 4h1v1h-1zM7 4h1v1h-1zM1 5h1v1h-1zM2 5h1v1h-1zM3 5h1v1h-1zM4 5h1v1h-1zM5 5h1v1h-1zM6 5h1v1h-1zM7 5h1v1h-1zM0 6h1v1h-1zM1 6h1v1h-1zM2 6h1v1h-1zM3 6h1v1h-1zM5 6h1v1h-1zM6 6h1v1h-1zM7 6h1v1h-1zM8 6h1v1h-1zM0 7h1v1h-1zM1 7h1v1h-1zM2 7h1v1h-1zM3 7h1v1h-1zM4 7h1v1h-1zM5 7h1v1h-1zM6 7h1v1h-1zM7 7h1v1h-1zM8 7h1v1h-1z" /></svg></span><span class="text"><b>Build</b> failed on <b>Blog index</b></span><time>3h</time></a></li>
<li><a href="#"><span class="fl-avatar" aria-hidden="true">AE</span><span class="text"><b>Alex Example</b> invited you to <b>Website</b></span><time>Yesterday</time></a></li>
</ul>
</section>
<style>
.fl-notification-list{font-family:var(--feega-font);font-size:var(--feega-text-body);line-height:1.5;letter-spacing:var(--feega-tracking);color:var(--feega-fg);background:var(--feega-bg);-webkit-font-smoothing:antialiased}
:where(.fl-notification-list) *,:where(.fl-notification-list) *::before,:where(.fl-notification-list) *::after{box-sizing:border-box}
:where(.fl-notification-list) :is(h1,h2,h3,h4,p,ul,ol,figure,blockquote,dl,dd){margin:0}
:where(.fl-notification-list) a{color:inherit;text-decoration:none}
:where(.fl-notification-list) :focus-visible{outline:2px solid var(--feega-focus);outline-offset:3px}
.fl-px{display:block;flex:none;width:1em;height:auto;fill:currentColor;shape-rendering:crispEdges}
.fl-avatar{display:inline-grid;flex:none;place-items:center;width:32px;height:32px;border-radius:var(--feega-radius-full);background:var(--feega-surface);color:var(--feega-fg-muted);font-size:var(--feega-text-xs);font-weight:600;letter-spacing:0}
.fl-notification-list{max-width:30rem;margin:var(--feega-space-6) var(--feega-gutter);overflow:hidden;border-radius:var(--feega-radius-lg);background:var(--feega-raised);box-shadow:var(--feega-shadow-float),inset 0 0 0 1px var(--feega-line)}
.fl-notification-list header{display:flex;justify-content:space-between;align-items:center;gap:var(--feega-space-3);padding:var(--feega-space-4) var(--feega-space-4) var(--feega-space-3)}
.fl-notification-list h2{display:inline-flex;align-items:center;gap:8px;font-size:1rem;font-weight:600;letter-spacing:-0.02em}
.fl-notification-list h2 span{padding:0 7px;border-radius:var(--feega-radius-full);background:var(--feega-accent);color:var(--feega-accent-fg);font-size:11px;line-height:18px}
.fl-notification-list header a{color:var(--feega-fg-muted);font-size:var(--feega-text-sm)}
.fl-notification-list header a:hover{color:var(--feega-fg)}
.fl-notification-list ul{margin:0;padding:0 6px 6px;list-style:none}
.fl-notification-list li a{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:start;gap:var(--feega-space-3);padding:12px 12px 12px 22px;border-radius:var(--feega-radius-md);font-size:var(--feega-text-sm);transition:background-color var(--feega-dur-fast) var(--feega-ease)}
.fl-notification-list li a:hover{background:var(--feega-surface)}
.fl-notification-list .unread a::before{content:"";position:absolute;top:24px;left:8px;width:6px;height:6px;border-radius:var(--feega-radius-full);background:var(--feega-accent)}
.fl-notification-list .text{color:var(--feega-fg-muted);line-height:1.4}
.fl-notification-list .text b{color:var(--feega-fg);font-weight:500}
.fl-notification-list li:not(.unread) .text{opacity:0.75}
.fl-notification-list .sys{background:var(--feega-danger-soft);color:var(--feega-danger)}
.fl-notification-list .sys .fl-px{width:12px}
.fl-notification-list time{color:var(--feega-fg-subtle);font-size:var(--feega-text-xs);white-space:nowrap}
@media (prefers-reduced-motion:reduce){:where([class^="fl-"]) *,:where([class^="fl-"]) *::before,:where([class^="fl-"]) *::after{animation:none!important;transition:none!important}}
</style>
import './NotificationList.css';
export function NotificationList() {
return (
<section className="fl-notification-list" aria-label="Notifications">
<header><h2>Notifications <span>3</span></h2><a href="#">Mark all as read</a></header>
<ul>
<li className="unread"><a href="#"><span className="fl-avatar" aria-hidden="true">NS</span><span className="text"><b>Name Surname</b> commented on <b>Pricing page</b></span><time>2m</time></a></li>
<li className="unread"><a href="#"><span className="fl-avatar" aria-hidden="true">FL</span><span className="text"><b>First Last</b> published <b>Home</b></span><time>1h</time></a></li>
<li className="unread"><a href="#"><span className="fl-avatar sys" aria-hidden="true"><svg className="fl-px" viewBox="0 0 9 8" aria-hidden="true"><path d="M4 0h1v1h-1zM3 1h1v1h-1zM4 1h1v1h-1zM5 1h1v1h-1zM2 2h1v1h-1zM3 2h1v1h-1zM5 2h1v1h-1zM6 2h1v1h-1zM2 3h1v1h-1zM3 3h1v1h-1zM5 3h1v1h-1zM6 3h1v1h-1zM1 4h1v1h-1zM2 4h1v1h-1zM3 4h1v1h-1zM5 4h1v1h-1zM6 4h1v1h-1zM7 4h1v1h-1zM1 5h1v1h-1zM2 5h1v1h-1zM3 5h1v1h-1zM4 5h1v1h-1zM5 5h1v1h-1zM6 5h1v1h-1zM7 5h1v1h-1zM0 6h1v1h-1zM1 6h1v1h-1zM2 6h1v1h-1zM3 6h1v1h-1zM5 6h1v1h-1zM6 6h1v1h-1zM7 6h1v1h-1zM8 6h1v1h-1zM0 7h1v1h-1zM1 7h1v1h-1zM2 7h1v1h-1zM3 7h1v1h-1zM4 7h1v1h-1zM5 7h1v1h-1zM6 7h1v1h-1zM7 7h1v1h-1zM8 7h1v1h-1z" /></svg></span><span className="text"><b>Build</b> failed on <b>Blog index</b></span><time>3h</time></a></li>
<li><a href="#"><span className="fl-avatar" aria-hidden="true">AE</span><span className="text"><b>Alex Example</b> invited you to <b>Website</b></span><time>Yesterday</time></a></li>
</ul>
</section>
);
}
.fl-notification-list{font-family:var(--feega-font);font-size:var(--feega-text-body);line-height:1.5;letter-spacing:var(--feega-tracking);color:var(--feega-fg);background:var(--feega-bg);-webkit-font-smoothing:antialiased}
:where(.fl-notification-list) *,:where(.fl-notification-list) *::before,:where(.fl-notification-list) *::after{box-sizing:border-box}
:where(.fl-notification-list) :is(h1,h2,h3,h4,p,ul,ol,figure,blockquote,dl,dd){margin:0}
:where(.fl-notification-list) a{color:inherit;text-decoration:none}
:where(.fl-notification-list) :focus-visible{outline:2px solid var(--feega-focus);outline-offset:3px}
.fl-px{display:block;flex:none;width:1em;height:auto;fill:currentColor;shape-rendering:crispEdges}
.fl-avatar{display:inline-grid;flex:none;place-items:center;width:32px;height:32px;border-radius:var(--feega-radius-full);background:var(--feega-surface);color:var(--feega-fg-muted);font-size:var(--feega-text-xs);font-weight:600;letter-spacing:0}
.fl-notification-list{max-width:30rem;margin:var(--feega-space-6) var(--feega-gutter);overflow:hidden;border-radius:var(--feega-radius-lg);background:var(--feega-raised);box-shadow:var(--feega-shadow-float),inset 0 0 0 1px var(--feega-line)}
.fl-notification-list header{display:flex;justify-content:space-between;align-items:center;gap:var(--feega-space-3);padding:var(--feega-space-4) var(--feega-space-4) var(--feega-space-3)}
.fl-notification-list h2{display:inline-flex;align-items:center;gap:8px;font-size:1rem;font-weight:600;letter-spacing:-0.02em}
.fl-notification-list h2 span{padding:0 7px;border-radius:var(--feega-radius-full);background:var(--feega-accent);color:var(--feega-accent-fg);font-size:11px;line-height:18px}
.fl-notification-list header a{color:var(--feega-fg-muted);font-size:var(--feega-text-sm)}
.fl-notification-list header a:hover{color:var(--feega-fg)}
.fl-notification-list ul{margin:0;padding:0 6px 6px;list-style:none}
.fl-notification-list li a{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:start;gap:var(--feega-space-3);padding:12px 12px 12px 22px;border-radius:var(--feega-radius-md);font-size:var(--feega-text-sm);transition:background-color var(--feega-dur-fast) var(--feega-ease)}
.fl-notification-list li a:hover{background:var(--feega-surface)}
.fl-notification-list .unread a::before{content:"";position:absolute;top:24px;left:8px;width:6px;height:6px;border-radius:var(--feega-radius-full);background:var(--feega-accent)}
.fl-notification-list .text{color:var(--feega-fg-muted);line-height:1.4}
.fl-notification-list .text b{color:var(--feega-fg);font-weight:500}
.fl-notification-list li:not(.unread) .text{opacity:0.75}
.fl-notification-list .sys{background:var(--feega-danger-soft);color:var(--feega-danger)}
.fl-notification-list .sys .fl-px{width:12px}
.fl-notification-list time{color:var(--feega-fg-subtle);font-size:var(--feega-text-xs);white-space:nowrap}
@media (prefers-reduced-motion:reduce){:where([class^="fl-"]) *,:where([class^="fl-"]) *::before,:where([class^="fl-"]) *::after{animation:none!important;transition:none!important}}
<template>
<section class="fl-notification-list" aria-label="Notifications">
<header><h2>Notifications <span>3</span></h2><a href="#">Mark all as read</a></header>
<ul>
<li class="unread"><a href="#"><span class="fl-avatar" aria-hidden="true">NS</span><span class="text"><b>Name Surname</b> commented on <b>Pricing page</b></span><time>2m</time></a></li>
<li class="unread"><a href="#"><span class="fl-avatar" aria-hidden="true">FL</span><span class="text"><b>First Last</b> published <b>Home</b></span><time>1h</time></a></li>
<li class="unread"><a href="#"><span class="fl-avatar sys" aria-hidden="true"><svg class="fl-px" viewBox="0 0 9 8" aria-hidden="true"><path d="M4 0h1v1h-1zM3 1h1v1h-1zM4 1h1v1h-1zM5 1h1v1h-1zM2 2h1v1h-1zM3 2h1v1h-1zM5 2h1v1h-1zM6 2h1v1h-1zM2 3h1v1h-1zM3 3h1v1h-1zM5 3h1v1h-1zM6 3h1v1h-1zM1 4h1v1h-1zM2 4h1v1h-1zM3 4h1v1h-1zM5 4h1v1h-1zM6 4h1v1h-1zM7 4h1v1h-1zM1 5h1v1h-1zM2 5h1v1h-1zM3 5h1v1h-1zM4 5h1v1h-1zM5 5h1v1h-1zM6 5h1v1h-1zM7 5h1v1h-1zM0 6h1v1h-1zM1 6h1v1h-1zM2 6h1v1h-1zM3 6h1v1h-1zM5 6h1v1h-1zM6 6h1v1h-1zM7 6h1v1h-1zM8 6h1v1h-1zM0 7h1v1h-1zM1 7h1v1h-1zM2 7h1v1h-1zM3 7h1v1h-1zM4 7h1v1h-1zM5 7h1v1h-1zM6 7h1v1h-1zM7 7h1v1h-1zM8 7h1v1h-1z" /></svg></span><span class="text"><b>Build</b> failed on <b>Blog index</b></span><time>3h</time></a></li>
<li><a href="#"><span class="fl-avatar" aria-hidden="true">AE</span><span class="text"><b>Alex Example</b> invited you to <b>Website</b></span><time>Yesterday</time></a></li>
</ul>
</section>
</template>
<style scoped>
.fl-notification-list{font-family:var(--feega-font);font-size:var(--feega-text-body);line-height:1.5;letter-spacing:var(--feega-tracking);color:var(--feega-fg);background:var(--feega-bg);-webkit-font-smoothing:antialiased}
:where(.fl-notification-list) *,:where(.fl-notification-list) *::before,:where(.fl-notification-list) *::after{box-sizing:border-box}
:where(.fl-notification-list) :is(h1,h2,h3,h4,p,ul,ol,figure,blockquote,dl,dd){margin:0}
:where(.fl-notification-list) a{color:inherit;text-decoration:none}
:where(.fl-notification-list) :focus-visible{outline:2px solid var(--feega-focus);outline-offset:3px}
.fl-px{display:block;flex:none;width:1em;height:auto;fill:currentColor;shape-rendering:crispEdges}
.fl-avatar{display:inline-grid;flex:none;place-items:center;width:32px;height:32px;border-radius:var(--feega-radius-full);background:var(--feega-surface);color:var(--feega-fg-muted);font-size:var(--feega-text-xs);font-weight:600;letter-spacing:0}
.fl-notification-list{max-width:30rem;margin:var(--feega-space-6) var(--feega-gutter);overflow:hidden;border-radius:var(--feega-radius-lg);background:var(--feega-raised);box-shadow:var(--feega-shadow-float),inset 0 0 0 1px var(--feega-line)}
.fl-notification-list header{display:flex;justify-content:space-between;align-items:center;gap:var(--feega-space-3);padding:var(--feega-space-4) var(--feega-space-4) var(--feega-space-3)}
.fl-notification-list h2{display:inline-flex;align-items:center;gap:8px;font-size:1rem;font-weight:600;letter-spacing:-0.02em}
.fl-notification-list h2 span{padding:0 7px;border-radius:var(--feega-radius-full);background:var(--feega-accent);color:var(--feega-accent-fg);font-size:11px;line-height:18px}
.fl-notification-list header a{color:var(--feega-fg-muted);font-size:var(--feega-text-sm)}
.fl-notification-list header a:hover{color:var(--feega-fg)}
.fl-notification-list ul{margin:0;padding:0 6px 6px;list-style:none}
.fl-notification-list li a{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:start;gap:var(--feega-space-3);padding:12px 12px 12px 22px;border-radius:var(--feega-radius-md);font-size:var(--feega-text-sm);transition:background-color var(--feega-dur-fast) var(--feega-ease)}
.fl-notification-list li a:hover{background:var(--feega-surface)}
.fl-notification-list .unread a::before{content:"";position:absolute;top:24px;left:8px;width:6px;height:6px;border-radius:var(--feega-radius-full);background:var(--feega-accent)}
.fl-notification-list .text{color:var(--feega-fg-muted);line-height:1.4}
.fl-notification-list .text b{color:var(--feega-fg);font-weight:500}
.fl-notification-list li:not(.unread) .text{opacity:0.75}
.fl-notification-list .sys{background:var(--feega-danger-soft);color:var(--feega-danger)}
.fl-notification-list .sys .fl-px{width:12px}
.fl-notification-list time{color:var(--feega-fg-subtle);font-size:var(--feega-text-xs);white-space:nowrap}
@media (prefers-reduced-motion:reduce){:where([class^="fl-"]) *,:where([class^="fl-"]) *::before,:where([class^="fl-"]) *::after{animation:none!important;transition:none!important}}
</style>
---
---
<section class="fl-notification-list" aria-label="Notifications">
<header><h2>Notifications <span>3</span></h2><a href="#">Mark all as read</a></header>
<ul>
<li class="unread"><a href="#"><span class="fl-avatar" aria-hidden="true">NS</span><span class="text"><b>Name Surname</b> commented on <b>Pricing page</b></span><time>2m</time></a></li>
<li class="unread"><a href="#"><span class="fl-avatar" aria-hidden="true">FL</span><span class="text"><b>First Last</b> published <b>Home</b></span><time>1h</time></a></li>
<li class="unread"><a href="#"><span class="fl-avatar sys" aria-hidden="true"><svg class="fl-px" viewBox="0 0 9 8" aria-hidden="true"><path d="M4 0h1v1h-1zM3 1h1v1h-1zM4 1h1v1h-1zM5 1h1v1h-1zM2 2h1v1h-1zM3 2h1v1h-1zM5 2h1v1h-1zM6 2h1v1h-1zM2 3h1v1h-1zM3 3h1v1h-1zM5 3h1v1h-1zM6 3h1v1h-1zM1 4h1v1h-1zM2 4h1v1h-1zM3 4h1v1h-1zM5 4h1v1h-1zM6 4h1v1h-1zM7 4h1v1h-1zM1 5h1v1h-1zM2 5h1v1h-1zM3 5h1v1h-1zM4 5h1v1h-1zM5 5h1v1h-1zM6 5h1v1h-1zM7 5h1v1h-1zM0 6h1v1h-1zM1 6h1v1h-1zM2 6h1v1h-1zM3 6h1v1h-1zM5 6h1v1h-1zM6 6h1v1h-1zM7 6h1v1h-1zM8 6h1v1h-1zM0 7h1v1h-1zM1 7h1v1h-1zM2 7h1v1h-1zM3 7h1v1h-1zM4 7h1v1h-1zM5 7h1v1h-1zM6 7h1v1h-1zM7 7h1v1h-1zM8 7h1v1h-1z" /></svg></span><span class="text"><b>Build</b> failed on <b>Blog index</b></span><time>3h</time></a></li>
<li><a href="#"><span class="fl-avatar" aria-hidden="true">AE</span><span class="text"><b>Alex Example</b> invited you to <b>Website</b></span><time>Yesterday</time></a></li>
</ul>
</section>
<style>
.fl-notification-list{font-family:var(--feega-font);font-size:var(--feega-text-body);line-height:1.5;letter-spacing:var(--feega-tracking);color:var(--feega-fg);background:var(--feega-bg);-webkit-font-smoothing:antialiased}
:where(.fl-notification-list) *,:where(.fl-notification-list) *::before,:where(.fl-notification-list) *::after{box-sizing:border-box}
:where(.fl-notification-list) :is(h1,h2,h3,h4,p,ul,ol,figure,blockquote,dl,dd){margin:0}
:where(.fl-notification-list) a{color:inherit;text-decoration:none}
:where(.fl-notification-list) :focus-visible{outline:2px solid var(--feega-focus);outline-offset:3px}
.fl-px{display:block;flex:none;width:1em;height:auto;fill:currentColor;shape-rendering:crispEdges}
.fl-avatar{display:inline-grid;flex:none;place-items:center;width:32px;height:32px;border-radius:var(--feega-radius-full);background:var(--feega-surface);color:var(--feega-fg-muted);font-size:var(--feega-text-xs);font-weight:600;letter-spacing:0}
.fl-notification-list{max-width:30rem;margin:var(--feega-space-6) var(--feega-gutter);overflow:hidden;border-radius:var(--feega-radius-lg);background:var(--feega-raised);box-shadow:var(--feega-shadow-float),inset 0 0 0 1px var(--feega-line)}
.fl-notification-list header{display:flex;justify-content:space-between;align-items:center;gap:var(--feega-space-3);padding:var(--feega-space-4) var(--feega-space-4) var(--feega-space-3)}
.fl-notification-list h2{display:inline-flex;align-items:center;gap:8px;font-size:1rem;font-weight:600;letter-spacing:-0.02em}
.fl-notification-list h2 span{padding:0 7px;border-radius:var(--feega-radius-full);background:var(--feega-accent);color:var(--feega-accent-fg);font-size:11px;line-height:18px}
.fl-notification-list header a{color:var(--feega-fg-muted);font-size:var(--feega-text-sm)}
.fl-notification-list header a:hover{color:var(--feega-fg)}
.fl-notification-list ul{margin:0;padding:0 6px 6px;list-style:none}
.fl-notification-list li a{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:start;gap:var(--feega-space-3);padding:12px 12px 12px 22px;border-radius:var(--feega-radius-md);font-size:var(--feega-text-sm);transition:background-color var(--feega-dur-fast) var(--feega-ease)}
.fl-notification-list li a:hover{background:var(--feega-surface)}
.fl-notification-list .unread a::before{content:"";position:absolute;top:24px;left:8px;width:6px;height:6px;border-radius:var(--feega-radius-full);background:var(--feega-accent)}
.fl-notification-list .text{color:var(--feega-fg-muted);line-height:1.4}
.fl-notification-list .text b{color:var(--feega-fg);font-weight:500}
.fl-notification-list li:not(.unread) .text{opacity:0.75}
.fl-notification-list .sys{background:var(--feega-danger-soft);color:var(--feega-danger)}
.fl-notification-list .sys .fl-px{width:12px}
.fl-notification-list time{color:var(--feega-fg-subtle);font-size:var(--feega-text-xs);white-space:nowrap}
@media (prefers-reduced-motion:reduce){:where([class^="fl-"]) *,:where([class^="fl-"]) *::before,:where([class^="fl-"]) *::after{animation:none!important;transition:none!important}}
</style>
<section class="fl-notification-list" aria-label="Notifications">
<header><h2>Notifications <span>3</span></h2><a href="#">Mark all as read</a></header>
<ul>
<li class="unread"><a href="#"><span class="fl-avatar" aria-hidden="true">NS</span><span class="text"><b>Name Surname</b> commented on <b>Pricing page</b></span><time>2m</time></a></li>
<li class="unread"><a href="#"><span class="fl-avatar" aria-hidden="true">FL</span><span class="text"><b>First Last</b> published <b>Home</b></span><time>1h</time></a></li>
<li class="unread"><a href="#"><span class="fl-avatar sys" aria-hidden="true"><svg class="fl-px" viewBox="0 0 9 8" aria-hidden="true"><path d="M4 0h1v1h-1zM3 1h1v1h-1zM4 1h1v1h-1zM5 1h1v1h-1zM2 2h1v1h-1zM3 2h1v1h-1zM5 2h1v1h-1zM6 2h1v1h-1zM2 3h1v1h-1zM3 3h1v1h-1zM5 3h1v1h-1zM6 3h1v1h-1zM1 4h1v1h-1zM2 4h1v1h-1zM3 4h1v1h-1zM5 4h1v1h-1zM6 4h1v1h-1zM7 4h1v1h-1zM1 5h1v1h-1zM2 5h1v1h-1zM3 5h1v1h-1zM4 5h1v1h-1zM5 5h1v1h-1zM6 5h1v1h-1zM7 5h1v1h-1zM0 6h1v1h-1zM1 6h1v1h-1zM2 6h1v1h-1zM3 6h1v1h-1zM5 6h1v1h-1zM6 6h1v1h-1zM7 6h1v1h-1zM8 6h1v1h-1zM0 7h1v1h-1zM1 7h1v1h-1zM2 7h1v1h-1zM3 7h1v1h-1zM4 7h1v1h-1zM5 7h1v1h-1zM6 7h1v1h-1zM7 7h1v1h-1zM8 7h1v1h-1z" /></svg></span><span class="text"><b>Build</b> failed on <b>Blog index</b></span><time>3h</time></a></li>
<li><a href="#"><span class="fl-avatar" aria-hidden="true">AE</span><span class="text"><b>Alex Example</b> invited you to <b>Website</b></span><time>Yesterday</time></a></li>
</ul>
</section>
.fl-notification-list{font-family:var(--feega-font);font-size:var(--feega-text-body);line-height:1.5;letter-spacing:var(--feega-tracking);color:var(--feega-fg);background:var(--feega-bg);-webkit-font-smoothing:antialiased}
:where(.fl-notification-list) *,:where(.fl-notification-list) *::before,:where(.fl-notification-list) *::after{box-sizing:border-box}
:where(.fl-notification-list) :is(h1,h2,h3,h4,p,ul,ol,figure,blockquote,dl,dd){margin:0}
:where(.fl-notification-list) a{color:inherit;text-decoration:none}
:where(.fl-notification-list) :focus-visible{outline:2px solid var(--feega-focus);outline-offset:3px}
.fl-px{display:block;flex:none;width:1em;height:auto;fill:currentColor;shape-rendering:crispEdges}
.fl-avatar{display:inline-grid;flex:none;place-items:center;width:32px;height:32px;border-radius:var(--feega-radius-full);background:var(--feega-surface);color:var(--feega-fg-muted);font-size:var(--feega-text-xs);font-weight:600;letter-spacing:0}
.fl-notification-list{max-width:30rem;margin:var(--feega-space-6) var(--feega-gutter);overflow:hidden;border-radius:var(--feega-radius-lg);background:var(--feega-raised);box-shadow:var(--feega-shadow-float),inset 0 0 0 1px var(--feega-line)}
.fl-notification-list header{display:flex;justify-content:space-between;align-items:center;gap:var(--feega-space-3);padding:var(--feega-space-4) var(--feega-space-4) var(--feega-space-3)}
.fl-notification-list h2{display:inline-flex;align-items:center;gap:8px;font-size:1rem;font-weight:600;letter-spacing:-0.02em}
.fl-notification-list h2 span{padding:0 7px;border-radius:var(--feega-radius-full);background:var(--feega-accent);color:var(--feega-accent-fg);font-size:11px;line-height:18px}
.fl-notification-list header a{color:var(--feega-fg-muted);font-size:var(--feega-text-sm)}
.fl-notification-list header a:hover{color:var(--feega-fg)}
.fl-notification-list ul{margin:0;padding:0 6px 6px;list-style:none}
.fl-notification-list li a{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:start;gap:var(--feega-space-3);padding:12px 12px 12px 22px;border-radius:var(--feega-radius-md);font-size:var(--feega-text-sm);transition:background-color var(--feega-dur-fast) var(--feega-ease)}
.fl-notification-list li a:hover{background:var(--feega-surface)}
.fl-notification-list .unread a::before{content:"";position:absolute;top:24px;left:8px;width:6px;height:6px;border-radius:var(--feega-radius-full);background:var(--feega-accent)}
.fl-notification-list .text{color:var(--feega-fg-muted);line-height:1.4}
.fl-notification-list .text b{color:var(--feega-fg);font-weight:500}
.fl-notification-list li:not(.unread) .text{opacity:0.75}
.fl-notification-list .sys{background:var(--feega-danger-soft);color:var(--feega-danger)}
.fl-notification-list .sys .fl-px{width:12px}
.fl-notification-list time{color:var(--feega-fg-subtle);font-size:var(--feega-text-xs);white-space:nowrap}
@media (prefers-reduced-motion:reduce){:where([class^="fl-"]) *,:where([class^="fl-"]) *::before,:where([class^="fl-"]) *::after{animation:none!important;transition:none!important}}
tokens.css, the shared file every template reads
:root,
[data-theme="light"] {
color-scheme: light;
--feega-bg: #f7f6f2;
--feega-surface: #efede7;
--feega-raised: #ffffff;
--feega-input: #ffffff;
--feega-fg: #121212;
--feega-fg-muted: #5c5a55;
--feega-fg-subtle: #6d6a63;
--feega-line: #e2dfd7;
--feega-line-strong: #cdc9bf;
--feega-dot: #d3cfc5;
--feega-accent: #ff4f00;
--feega-accent-hover: #ff6a26;
--feega-accent-fg: #121212;
--feega-accent-soft: #ffe8dc;
--feega-accent-text: #b83800;
--feega-danger: #c0231a;
--feega-danger-fg: #ffffff;
--feega-danger-soft: #fde6e3;
--feega-success: #12703a;
--feega-success-soft: #e0f3e6;
--feega-focus: #ff4f00;
--feega-overlay: rgb(18 18 18 / 0.4);
--feega-shadow: 0 1px 2px rgb(18 18 18 / 0.05), 0 8px 24px -8px rgb(18 18 18 / 0.12);
--feega-shadow-float: 0 2px 4px rgb(18 18 18 / 0.06), 0 24px 48px -12px rgb(18 18 18 / 0.22);
--feega-radius-xs: 2px;
--feega-radius-sm: 6px;
--feega-radius-md: 10px;
--feega-radius-lg: 16px;
--feega-radius-full: 999px;
--feega-font: "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
--feega-font-display: var(--feega-font);
--feega-font-mono: "Fragment Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
--feega-tracking: -0.02em;
--feega-tracking-tight: -0.05em;
--feega-text-xs: 0.75rem;
--feega-text-sm: 0.875rem;
--feega-text-body: 1rem;
--feega-text-lg: clamp(1.0625rem, 1.6vw, 1.25rem);
--feega-text-xl: 1.5rem;
--feega-text-title: clamp(2.5rem, 6vw, 4.5rem);
--feega-text-display: clamp(3rem, 9.5vw, 7rem);
--feega-ease: cubic-bezier(0.16, 1, 0.3, 1);
--feega-dur-fast: 160ms;
--feega-dur: 420ms;
--feega-space-1: 0.25rem;
--feega-space-2: 0.5rem;
--feega-space-3: 0.75rem;
--feega-space-4: 1rem;
--feega-space-6: 1.5rem;
--feega-space-8: 2rem;
--feega-space-12: 3rem;
--feega-space-16: 4rem;
--feega-space-section: clamp(4.5rem, 11vw, 9rem);
--feega-gutter: clamp(1rem, 4vw, 2rem);
--feega-max-width: 76rem;
}
@media (prefers-color-scheme: dark) {
:root:not([data-theme="light"]) {
color-scheme: dark;
--feega-bg: #050505;
--feega-surface: #121212;
--feega-raised: #1a1a1a;
--feega-input: #0d0d0d;
--feega-fg: #f0eee9;
--feega-fg-muted: #a3a09a;
--feega-fg-subtle: #8a877f;
--feega-line: #232323;
--feega-line-strong: #363636;
--feega-dot: #2c2c2c;
--feega-accent: #ff5a14;
--feega-accent-hover: #ff7333;
--feega-accent-fg: #121212;
--feega-accent-soft: #2b1206;
--feega-accent-text: #ff7a3d;
--feega-danger: #ff6b5e;
--feega-danger-fg: #121212;
--feega-danger-soft: #2e0f0c;
--feega-success: #4cc47a;
--feega-success-soft: #0d2617;
--feega-focus: #ff5a14;
--feega-overlay: rgb(0 0 0 / 0.7);
--feega-shadow: 0 1px 2px rgb(0 0 0 / 0.5), 0 8px 24px -8px rgb(0 0 0 / 0.6);
--feega-shadow-float: 0 2px 4px rgb(0 0 0 / 0.5), 0 24px 48px -12px rgb(0 0 0 / 0.8);
}
}
[data-theme="dark"] {
color-scheme: dark;
--feega-bg: #050505;
--feega-surface: #121212;
--feega-raised: #1a1a1a;
--feega-input: #0d0d0d;
--feega-fg: #f0eee9;
--feega-fg-muted: #a3a09a;
--feega-fg-subtle: #8a877f;
--feega-line: #232323;
--feega-line-strong: #363636;
--feega-dot: #2c2c2c;
--feega-accent: #ff5a14;
--feega-accent-hover: #ff7333;
--feega-accent-fg: #121212;
--feega-accent-soft: #2b1206;
--feega-accent-text: #ff7a3d;
--feega-danger: #ff6b5e;
--feega-danger-fg: #121212;
--feega-danger-soft: #2e0f0c;
--feega-success: #4cc47a;
--feega-success-soft: #0d2617;
--feega-focus: #ff5a14;
--feega-overlay: rgb(0 0 0 / 0.7);
--feega-shadow: 0 1px 2px rgb(0 0 0 / 0.5), 0 8px 24px -8px rgb(0 0 0 / 0.6);
--feega-shadow-float: 0 2px 4px rgb(0 0 0 / 0.5), 0 24px 48px -12px rgb(0 0 0 / 0.8);
}
what it is
Notification list is a free app UI piece. Inbox-style list with unread dots, actor, action, time and a mark-all link. It is tagged notifications, list and inbox.
It is markup and CSS only, with no script in any version.
Size per version: Svelte 1 file, 37 lines; React 2 files, 41 lines; Vue 1 file, 39 lines; Astro 1 file, 40 lines; HTML 2 files, 35 lines.
tokens this template reads
| Token | Controls | Uses |
|---|---|---|
| --feega-fg | main text | 3 |
| --feega-fg-muted | secondary text | 3 |
| --feega-radius-full | fully round pills and buttons | 3 |
| --feega-space-3 | spacing step 3 | 3 |
| --feega-accent | the brand colour on primary actions | 2 |
| --feega-space-4 | spacing step 4 | 2 |
| --feega-surface | quiet panels and chips | 2 |
| --feega-text-sm | small text size | 2 |
| --feega-text-xs | the smallest text size | 2 |
| --feega-accent-fg | text on top of the accent | 1 |
| --feega-bg | the page background | 1 |
| --feega-danger | destructive actions and errors | 1 |
To restyle it, set any of these custom properties on :root, or on an ancestor of the template to change it in one place only. For example, --feega-accent changes the brand colour in light and dark alike. Add the shared tokens.css once per project.
fonts
It uses Inter Tight (400, 500, 600) from Google Fonts. Without them the font tokens fall back to a system stack.
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Inter+Tight:wght@400;500;600&display=swap" />insert with Feega
Open Add, then Library, and click Insert or drag it into your running app. Feega writes the component, tokens and fonts for your framework. One undo. how it works
Free VS Code extension. No account, no AI.
get feega →