No Analytics Yet
A copy-paste empty states component in pure HTML & CSS. Zero dependencies, framework-agnostic, MIT-licensed.
Empty StatesHTMLCSSany framework
No analytics yet
Data appears once tracking starts
Copy into your project
HTML
<!-- No Analytics Yet -->
<div class="nuda-es2-chart" role="status" aria-label="No analytics yet">
<div class="nuda-es2-chart__scene" aria-hidden="true">
<span class="nuda-es2-chart__bar nuda-es2-chart__bar--1"></span>
<span class="nuda-es2-chart__bar nuda-es2-chart__bar--2"></span>
<span class="nuda-es2-chart__bar nuda-es2-chart__bar--3"></span>
<span class="nuda-es2-chart__bar nuda-es2-chart__bar--4"></span>
<span class="nuda-es2-chart__bar nuda-es2-chart__bar--5"></span>
<span class="nuda-es2-chart__axis"></span>
</div>
<h3 class="nuda-es2-chart__title">No analytics yet</h3>
<p class="nuda-es2-chart__sub">Data appears once tracking starts</p>
</div>CSS
.nuda-es2-chart {
display: flex;
flex-direction: column;
align-items: center;
gap: 10px;
padding: 20px;
text-align: center;
width: 100%;
max-width: 220px;
}
.nuda-es2-chart__scene {
position: relative;
width: 120px;
height: 64px;
display: flex;
align-items: flex-end;
justify-content: center;
gap: 8px;
padding-bottom: 2px;
}
.nuda-es2-chart__axis {
position: absolute;
left: 0;
right: 0;
bottom: 0;
height: 1px;
background: rgba(255,255,255,.14);
}
.nuda-es2-chart__bar {
width: 12px;
height: 44px;
border-radius: 3px 3px 0 0;
background: rgba(228,255,84,.16);
transform-origin: bottom;
animation: nuda-es2-chart-grow 2.6s ease-in-out infinite;
}
.nuda-es2-chart__bar--1 {
animation-delay: 0s;
}
.nuda-es2-chart__bar--2 {
animation-delay: .15s;
}
.nuda-es2-chart__bar--3 {
animation-delay: .3s;
}
.nuda-es2-chart__bar--4 {
animation-delay: .45s;
}
.nuda-es2-chart__bar--5 {
animation-delay: .6s;
}
.nuda-es2-chart__title {
font: 600 13px ui-sans-serif,system-ui;
color: #fafafa;
margin: 0;
}
.nuda-es2-chart__sub {
font: 400 11px ui-sans-serif,system-ui;
color: #a0a0a8;
margin: 0;
}
@keyframes nuda-es2-chart-grow {
0%,100% {
transform: scaleY(.35);
opacity: .5;
}
50% {
transform: scaleY(1);
opacity: .9;
}
}
@media (prefers-reduced-motion:reduce) {
.nuda-es2-chart__bar {
animation: none !important;
transform: scaleY(.6);
opacity: .7;
}
}
How to use No Analytics Yet
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.