Skip to content

No Bookmarks

A copy-paste empty states component in pure HTML & CSS. Zero dependencies, framework-agnostic, MIT-licensed.

Empty StatesHTMLCSSany framework
No bookmarks
Save items to revisit later

Copy into your project

HTML
<div class="nuda-empbm">
  <svg viewBox="0 0 24 24" fill="none" stroke="currentColor"
       stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round">
    <path class="nuda-empbm__path"
          d="M19 21l-7-5-7 5V5a2 2 0 012-2h10a2 2 0 012 2z" />
  </svg>
  <div class="nuda-empbm__title">No bookmarks</div>
  <div class="nuda-empbm__sub">Save items to revisit later</div>
</div>
CSS
.nuda-empbm {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px;
  text-align: center;
  width: 100%;
  max-width: 220px;
  color: #63636e;
}

.nuda-empbm svg {
  width: 42px;
  height: 42px;
  margin-bottom: 8px;
  overflow: visible;
}

.nuda-empbm__path {
  stroke-dasharray: 80;
  stroke-dashoffset: 80;
  animation: _empBmDraw 2s ease forwards;
}

.nuda-empbm__title {
  color: #fafafa;
  font-size: 13px;
  font-weight: 600;
}

.nuda-empbm__sub {
  color: #a0a0a8;
  font-size: 11px;
  margin-top: 2px;
}

@keyframes _empBmDraw {
  to {
    stroke-dashoffset: 0;
  }
}

@media (prefers-reduced-motion:reduce) {
  .nuda-empbm__path {
    stroke-dashoffset: 0;
    animation: none;
  }
}

How to use No Bookmarks

Paste the HTML where you need it and the CSS into a global stylesheet (or a <style> tag). Every class is prefixed nuda- so it never collides with Tailwind or your own styles. Tweak the CSS custom properties to match your design system.

Works in React, Vue, Svelte, Astro, Next.js, Nuxt, Laravel Blade, Django, Rails — or a single .html file. No npm install, no build step.

More empty states components

← Browse all NudaUI components