←Components Directory
FIG. 32/Overlays/10 DISTINCT SPECS
Tooltips & Popovers
Hover-activated tooltips and rich popovers mixing instant 0ms hints and smooth animated slides for toolbars, metrics, user profiles, and dev tools.
01 / Instant Toolbar Shortcuts
Linear · Instant 0msLoading preview…
<div class="flex flex-col items-center pt-14 pb-4 text-center text-slate-900 dark:text-zinc-100">
<div class="inline-flex items-center gap-1.5 rounded-2xl border border-slate-200 dark:border-zinc-800 bg-white dark:bg-zinc-900 p-1.5 shadow-sm text-black dark:text-zinc-100">
<div class="group relative">
<button type="button" aria-label="Quick Search" class="flex h-9 w-9 items-center justify-center rounded-xl text-slate-600 dark:text-zinc-300 hover:bg-slate-100 dark:hover:bg-zinc-800 hover:text-slate-900 dark:hover:text-zinc-100 focus:outline-none focus:ring-2 focus:ring-indigo-500">
<svg class="h-4 w-4" fill="none" stroke="currentColor" stroke-width="2" viewBox="0 0 24 24"><circle cx="11" cy="11" r="8"/><path d="m21 21-4.3-4.3"/></svg>
</button>
<div class="pointer-events-none invisible absolute bottom-full left-1/2 z-20 mb-2 -translate-x-1/2 whitespace-nowrap rounded-lg bg-zinc-900 dark:bg-white px-2.5 py-1.5 text-[11px] font-medium text-white dark:text-slate-950 opacity-0 shadow-lg group-hover:visible group-hover:opacity-100 group-focus-within:visible group-focus-within:opacity-100">
Quick Search <kbd class="ml-1 rounded bg-slate-900/[0.07] dark:bg-white/15 px-1.5 py-0.5 font-mono text-[10px]">⌘K</kbd>
<span class="absolute left-1/2 top-full -mt-1 h-2 w-2 -translate-x-1/2 rotate-45 bg-white dark:bg-zinc-900 border border-slate-200 dark:border-white/15 text-black dark:text-zinc-100"></span>
</div>
</div>
<div class="group relative">
<button type="button" aria-label="New Comment" class="flex h-9 w-9 items-center justify-center rounded-xl text-slate-600 dark:text-zinc-300 hover:bg-slate-100 dark:hover:bg-zinc-800 hover:text-slate-900 dark:hover:text-zinc-100 focus:outline-none focus:ring-2 focus:ring-indigo-500">
<svg class="h-4 w-4" fill="none" stroke="currentColor" stroke-width="2" viewBox="0 0 24 24"><path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"/></svg>
</button>
<div class="pointer-events-none invisible absolute bottom-full left-1/2 z-20 mb-2 -translate-x-1/2 whitespace-nowrap rounded-lg bg-zinc-900 dark:bg-white px-2.5 py-1.5 text-[11px] font-medium text-white dark:text-slate-950 opacity-0 shadow-lg group-hover:visible group-hover:opacity-100 group-focus-within:visible group-focus-within:opacity-100">
Add Comment <kbd class="ml-1 rounded bg-slate-900/[0.07] dark:bg-white/15 px-1.5 py-0.5 font-mono text-[10px]">C</kbd>
<span class="absolute left-1/2 top-full -mt-1 h-2 w-2 -translate-x-1/2 rotate-45 bg-white dark:bg-zinc-900 border border-slate-200 dark:border-white/15 text-black dark:text-zinc-100"></span>
</div>
</div>
<div class="group relative">
<button type="button" aria-label="Copy Permalink" class="flex h-9 w-9 items-center justify-center rounded-xl text-slate-600 dark:text-zinc-300 hover:bg-slate-100 dark:hover:bg-zinc-800 hover:text-slate-900 dark:hover:text-zinc-100 focus:outline-none focus:ring-2 focus:ring-indigo-500">
<svg class="h-4 w-4" fill="none" stroke="currentColor" stroke-width="2" viewBox="0 0 24 24"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"/><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"/></svg>
</button>
<div class="pointer-events-none invisible absolute bottom-full left-1/2 z-20 mb-2 -translate-x-1/2 whitespace-nowrap rounded-lg bg-zinc-900 dark:bg-white px-2.5 py-1.5 text-[11px] font-medium text-white dark:text-slate-950 opacity-0 shadow-lg group-hover:visible group-hover:opacity-100 group-focus-within:visible group-focus-within:opacity-100">
Copy Link <kbd class="ml-1 rounded bg-slate-900/[0.07] dark:bg-white/15 px-1.5 py-0.5 font-mono text-[10px]">⌘L</kbd>
<span class="absolute left-1/2 top-full -mt-1 h-2 w-2 -translate-x-1/2 rotate-45 bg-white dark:bg-zinc-900 border border-slate-200 dark:border-white/15 text-black dark:text-zinc-100"></span>
</div>
</div>
<div class="h-5 w-px bg-slate-200 dark:bg-zinc-700 text-black dark:text-zinc-100"></div>
<div class="group relative">
<button type="button" class="rounded-xl bg-slate-900 dark:bg-white px-3 py-1.5 text-xs font-semibold text-white dark:text-slate-950 hover:bg-slate-800 dark:hover:bg-zinc-200">Publish</button>
<div class="pointer-events-none invisible absolute bottom-full left-1/2 z-20 mb-2 -translate-x-1/2 whitespace-nowrap rounded-lg bg-zinc-900 dark:bg-white px-2.5 py-1.5 text-[11px] font-medium text-white dark:text-slate-950 opacity-0 shadow-lg group-hover:visible group-hover:opacity-100 group-focus-within:visible group-focus-within:opacity-100">
Push Live <kbd class="ml-1 rounded bg-slate-900/[0.07] dark:bg-white/15 px-1.5 py-0.5 font-mono text-[10px]">⌘↵</kbd>
<span class="absolute left-1/2 top-full -mt-1 h-2 w-2 -translate-x-1/2 rotate-45 bg-white dark:bg-zinc-900 border border-slate-200 dark:border-white/15 text-black dark:text-zinc-100"></span>
</div>
</div>
</div>
<p class="mt-3 text-[11px] text-slate-400 dark:text-zinc-500">Hover any control for instant 0ms tooltip</p>
</div>02 / Revenue Breakdown Popover
Fintech · 200msLoading preview…
<div class="flex flex-col items-center pt-40 pb-4 text-slate-900 dark:text-zinc-100">
<div class="group relative inline-block">
<button type="button" class="inline-flex items-center gap-2 rounded-full border border-slate-200 dark:border-zinc-800 bg-white dark:bg-zinc-900 px-4 py-2 text-xs font-semibold text-slate-800 dark:text-zinc-200 shadow-xs transition-colors hover:border-indigo-300 hover:bg-indigo-50/40 dark:hover:bg-indigo-500/15 focus:outline-none">
<span class="h-2 w-2 rounded-full bg-indigo-500"></span>
<span>Nov 13 · Net Revenue</span>
<span class="font-bold text-slate-950 dark:text-white">$17,470</span>
<span class="rounded-full bg-emerald-50 dark:bg-emerald-500/15 px-1.5 py-0.5 text-[10px] font-bold text-emerald-700 dark:text-emerald-300">+12.4%</span>
</button>
<div class="pointer-events-none invisible absolute bottom-full left-1/2 z-20 w-64 -translate-x-1/2 pb-2.5 opacity-0 translate-y-2 scale-95 transition-all duration-200 ease-out group-hover:pointer-events-auto group-hover:visible group-hover:translate-y-0 group-hover:scale-100 group-hover:opacity-100 group-focus-within:pointer-events-auto group-focus-within:visible group-focus-within:translate-y-0 group-focus-within:scale-100 group-focus-within:opacity-100">
<div class="relative rounded-2xl border border-slate-200 dark:border-zinc-800 bg-white dark:bg-zinc-900 p-4 shadow-xl text-black dark:text-zinc-100">
<div class="flex items-center justify-between border-b border-slate-100 dark:border-zinc-800/80 pb-2">
<span class="text-[11px] font-bold uppercase tracking-wider text-slate-400 dark:text-zinc-500">Daily Breakdown</span>
<span class="text-[11px] font-semibold text-emerald-600 dark:text-emerald-400">+$1,920 YoY</span>
</div>
<div class="mt-2.5 space-y-2 text-xs">
<div class="flex items-center justify-between"><span class="flex items-center gap-1.5 text-slate-600 dark:text-zinc-300"><span class="h-2 w-2 rounded-full bg-indigo-500"></span>Subscriptions</span><span class="font-bold text-slate-900 dark:text-zinc-100">$14,290</span></div>
<div class="flex items-center justify-between"><span class="flex items-center gap-1.5 text-slate-600 dark:text-zinc-300"><span class="h-2 w-2 rounded-full bg-emerald-500"></span>One-time Licenses</span><span class="font-bold text-slate-900 dark:text-zinc-100">$3,180</span></div>
</div>
<div class="mt-3 flex h-1.5 w-full overflow-hidden rounded-full bg-slate-100 dark:bg-zinc-800 text-black dark:text-zinc-100">
<div class="h-full w-[82%] bg-indigo-500"></div>
<div class="h-full w-[18%] bg-emerald-500"></div>
</div>
<span class="absolute left-1/2 top-full -mt-1.5 h-3 w-3 -translate-x-1/2 rotate-45 border-b border-r border-slate-200 dark:border-zinc-800 bg-white dark:bg-zinc-800 text-black dark:text-zinc-100"></span>
</div>
</div>
</div>
<p class="mt-3 text-[11px] text-slate-400 dark:text-zinc-500">Hover metric pill for smooth breakdown</p>
</div>03 / Author Mention Hover Card
Dev · AnimatedLoading preview…
<div class="flex flex-col items-center pt-48 pb-4 text-slate-900 dark:text-zinc-100">
<div class="inline-flex flex-wrap items-center justify-center gap-1.5 rounded-2xl border border-slate-200 dark:border-zinc-800 bg-slate-50 dark:bg-zinc-800/60 px-4 py-2.5 text-xs text-slate-600 dark:text-zinc-300">
<span>PR #418 merged by</span>
<span class="group relative inline-flex">
<button type="button" class="inline-flex items-center gap-1.5 rounded-full border border-slate-200 dark:border-zinc-800 bg-white dark:bg-zinc-800 px-2.5 py-0.5 font-semibold text-slate-900 dark:text-zinc-100 shadow-2xs hover:border-indigo-400 hover:text-indigo-600 dark:hover:text-indigo-400 focus:outline-none">
<span class="flex h-4 w-4 items-center justify-center rounded-full bg-slate-900 dark:bg-white text-[9px] font-bold text-white dark:text-slate-950 border border-slate-200 dark:border-white/15 ring-1 ring-black/15 dark:ring-white/30">MK</span>
@marcusk
</button>
<div class="pointer-events-none invisible absolute bottom-full left-1/2 z-20 w-64 -translate-x-1/2 pb-2.5 opacity-0 translate-y-2 scale-95 transition-all duration-200 ease-out group-hover:pointer-events-auto group-hover:visible group-hover:translate-y-0 group-hover:scale-100 group-hover:opacity-100 group-focus-within:pointer-events-auto group-focus-within:visible group-focus-within:translate-y-0 group-focus-within:scale-100 group-focus-within:opacity-100">
<div class="relative rounded-2xl border border-slate-200 dark:border-zinc-800 bg-white dark:bg-zinc-800 p-4 text-left shadow-xl text-black dark:text-zinc-100">
<div class="flex items-center justify-between gap-2">
<div class="flex h-10 w-10 items-center justify-center rounded-full bg-slate-50 dark:bg-slate-900 text-xs font-bold text-slate-900 dark:text-white border border-slate-200 dark:border-white/15">MK</div>
<button type="button" class="rounded-lg bg-slate-900 dark:bg-white px-3 py-1 text-[11px] font-semibold text-white dark:text-slate-950 hover:bg-slate-800 dark:hover:bg-zinc-200">Follow</button>
</div>
<p class="mt-2.5 text-sm font-bold text-slate-900 dark:text-zinc-100">Marcus Kim</p>
<p class="text-[11px] text-slate-500 dark:text-zinc-400">@marcusk · Edge Runtime Core</p>
<p class="mt-2 text-xs leading-relaxed text-slate-600 dark:text-zinc-300">Building fast distributed compilers and open design primitives.</p>
<p class="mt-2.5 border-t border-slate-100 dark:border-zinc-800/80 pt-2 text-[11px] text-slate-500 dark:text-zinc-400"><strong class="text-slate-900 dark:text-zinc-100">412</strong> repos · <strong class="text-slate-900 dark:text-zinc-100">8.4k</strong> followers</p>
<span class="absolute left-1/2 top-full -mt-1.5 h-3 w-3 -translate-x-1/2 rotate-45 border-b border-r border-slate-200 dark:border-zinc-800 bg-white dark:bg-zinc-800 text-black dark:text-zinc-100"></span>
</div>
</div>
</span>
<span>· 14m ago</span>
</div>
<p class="mt-3 text-[11px] text-slate-400 dark:text-zinc-500">Hover @marcusk to reveal interactive profile card</p>
</div>04 / Glass Calibration Tooltip
Glass · AnimatedLoading preview…
<div class="flex flex-col items-center pt-32 pb-4 text-slate-900 dark:text-white">
<div class="group relative inline-flex">
<button type="button" class="inline-flex items-center gap-2 rounded-full border border-slate-900/20 dark:border-white/40 bg-slate-900/[0.07] dark:bg-white/20 px-4 py-2 text-xs font-semibold text-slate-900 dark:text-white shadow-lg backdrop-blur-md transition hover:bg-slate-900/[0.07] dark:hover:bg-white/30 focus:outline-none">
<span class="flex h-4 w-4 items-center justify-center rounded-full bg-slate-900 dark:bg-white text-[10px] font-black text-white dark:text-slate-900 border border-slate-200 dark:border-zinc-800">i</span>
<span>Display Calibration · XDR</span>
</button>
<div class="pointer-events-none invisible absolute bottom-full left-1/2 z-20 w-64 -translate-x-1/2 pb-2.5 opacity-0 translate-y-2 scale-95 transition-all duration-200 ease-out group-hover:visible group-hover:translate-y-0 group-hover:scale-100 group-hover:opacity-100 group-focus-within:visible group-focus-within:translate-y-0 group-focus-within:scale-100 group-focus-within:opacity-100">
<div class="relative rounded-2xl border border-slate-200 dark:border-white/45 bg-white/90 dark:bg-slate-950/75 p-3.5 text-left text-xs text-slate-900 dark:text-white shadow-lg dark:shadow-2xl backdrop-blur-2xl">
<div class="flex items-center justify-between text-[10px] font-bold uppercase tracking-wider text-cyan-700 dark:text-cyan-200">
<span>Adaptive HDR</span>
<span>1,600 nits peak</span>
</div>
<p class="mt-1.5 leading-relaxed text-slate-900 dark:text-white/90">Automatically boosts specular highlights while preserving P3 reference shadow tones.</p>
<span class="absolute left-1/2 top-full -mt-1.5 h-3 w-3 -translate-x-1/2 rotate-45 border-b border-r border-slate-300 dark:border-white/40 bg-white/90 dark:bg-slate-950/75"></span>
</div>
</div>
</div>
<p class="mt-3 text-[11px] text-slate-700 dark:text-white/75">Hover badge for frosted glass animation</p>
</div>05 / Brutalist Instant Callout
Brutalist · 0msLoading preview…
<div class="flex flex-col items-center pt-28 pb-4 text-slate-900 dark:text-zinc-100">
<div class="group relative inline-flex">
<button type="button" class="inline-flex items-center gap-2 border-2 border-black dark:border-zinc-200 bg-white dark:bg-zinc-900 px-4 py-2 text-xs font-black uppercase text-black dark:text-white shadow-[4px_4px_0px_#000] dark:shadow-[4px_4px_0px_#e4e4e7] active:translate-x-[2px] active:translate-y-[2px] active:shadow-[2px_2px_0px_#000] dark:active:shadow-[2px_2px_0px_#e4e4e7]">
<span>What is exported?</span>
<span class="border border-black dark:border-zinc-200 bg-[#FDE047] px-1 text-[10px] text-black dark:text-black">?</span>
</button>
<div class="pointer-events-none invisible absolute bottom-full left-1/2 z-20 mb-3 w-64 -translate-x-1/2 border-2 border-black dark:border-zinc-200 bg-[#FDE047] p-3 text-left text-xs text-black opacity-0 shadow-[5px_5px_0px_#000] dark:shadow-[5px_5px_0px_#e4e4e7] group-hover:visible group-hover:opacity-100 group-focus-within:visible group-focus-within:opacity-100 dark:text-black">
<p class="font-black uppercase tracking-tight">Pure Tailwind v4 HTML</p>
<p class="mt-1 font-medium leading-snug text-black/85">Zero external JS dependencies. Copy-paste directly into Astro, React, or Vue.</p>
<span class="absolute left-1/2 top-full -mt-1.5 h-3 w-3 -translate-x-1/2 rotate-45 border-b-2 border-r-2 border-black dark:border-zinc-200 bg-[#FDE047] text-black dark:text-black"></span>
</div>
</div>
<p class="mt-3 text-[11px] font-medium text-slate-500 dark:text-zinc-400">Zero-delay instant pop on hover</p>
</div>06 / Billing Help Popover
Tailwind · AnimatedLoading preview…
<div class="flex flex-col items-center pt-36 pb-4 text-slate-900 dark:text-zinc-100">
<div class="inline-flex items-center gap-2.5 rounded-2xl border border-slate-200 dark:border-zinc-800 bg-white dark:bg-zinc-900 px-4 py-2.5 text-xs font-medium text-slate-700 dark:text-zinc-300 shadow-2xs">
<span>Monthly billing per <strong class="text-slate-900 dark:text-zinc-100">active seat</strong></span>
<span class="group relative inline-flex">
<button type="button" aria-label="Seat definition" class="flex h-5 w-5 items-center justify-center rounded-full bg-indigo-50 dark:bg-indigo-500/15 text-[11px] font-bold text-indigo-600 dark:text-indigo-400 transition-colors hover:bg-indigo-600 hover:text-slate-900 dark:hover:text-white focus:outline-none">?</button>
<div class="pointer-events-none invisible absolute bottom-full left-1/2 z-20 w-64 -translate-x-1/2 pb-2.5 opacity-0 translate-y-2 transition-all duration-200 ease-out group-hover:pointer-events-auto group-hover:visible group-hover:translate-y-0 group-hover:opacity-100 group-focus-within:pointer-events-auto group-focus-within:visible group-focus-within:translate-y-0 group-focus-within:opacity-100">
<div class="relative rounded-2xl border border-slate-200 dark:border-zinc-800 bg-white dark:bg-zinc-800 p-4 text-left shadow-xl text-black dark:text-zinc-100">
<h5 class="text-xs font-bold text-slate-900 dark:text-zinc-100">What counts as an active seat?</h5>
<p class="mt-1.5 text-xs leading-relaxed text-slate-600 dark:text-zinc-300">Any teammate who logs in during the 30-day cycle. Read-only viewers remain free forever.</p>
<a href="#_" class="mt-2.5 inline-block text-xs font-semibold text-indigo-600 dark:text-indigo-400 hover:underline">Read billing docs →</a>
<span class="absolute left-1/2 top-full -mt-1.5 h-3 w-3 -translate-x-1/2 rotate-45 border-b border-r border-slate-200 dark:border-zinc-800 bg-white dark:bg-zinc-800 text-black dark:text-zinc-100"></span>
</div>
</div>
</span>
</div>
<p class="mt-3 text-[11px] text-slate-400 dark:text-zinc-500">Hover the ? badge to read definition</p>
</div>07 / Dark API Rate Limit Tooltip
DevTools · 0msLoading preview…
<div class="flex flex-col items-center pt-36 pb-4 text-slate-900 dark:text-white">
<div class="group relative inline-flex">
<button type="button" class="inline-flex items-center gap-2 rounded-xl border border-slate-200 dark:border-zinc-800 bg-white dark:bg-zinc-900 px-3.5 py-2 font-mono text-xs text-slate-800 dark:text-zinc-200 hover:border-emerald-500/50 focus:outline-none">
<span class="h-2 w-2 rounded-full bg-emerald-400"></span>
<span>API QUOTA</span>
<span class="font-bold text-emerald-600 dark:text-emerald-400">98.4%</span>
</button>
<div class="pointer-events-none invisible absolute bottom-full left-1/2 z-20 mb-2.5 w-64 -translate-x-1/2 rounded-xl border border-slate-200 dark:border-zinc-800 bg-white dark:bg-zinc-950 p-4 font-mono text-xs text-slate-800 dark:text-zinc-200 opacity-0 shadow-lg dark:shadow-2xl group-hover:visible group-hover:opacity-100 group-focus-within:visible group-focus-within:opacity-100">
<div class="flex justify-between"><span class="text-slate-600 dark:text-zinc-400">REMAINING</span><span class="font-bold text-emerald-600 dark:text-emerald-400">4,920 / 5,000</span></div>
<div class="mt-2 flex justify-between"><span class="text-slate-600 dark:text-zinc-400">RESETS IN</span><span>42m 18s</span></div>
<div class="mt-3 h-1.5 w-full overflow-hidden rounded-full bg-slate-100 dark:bg-zinc-800 border border-slate-200 dark:border-white/15 text-black dark:text-zinc-100"><div class="h-full w-[98%] rounded-full bg-emerald-400 text-black dark:text-black"></div></div>
<span class="absolute left-1/2 top-full -mt-1.5 h-3 w-3 -translate-x-1/2 rotate-45 border-b border-r border-slate-200 dark:border-zinc-800 bg-slate-50 dark:bg-zinc-950 text-black dark:text-zinc-100"></span>
</div>
</div>
<p class="mt-3 text-[11px] text-slate-500 dark:text-zinc-500">Hover quota pill for instant telemetry</p>
</div>08 / Token Swatch Tooltip
Design · AnimatedLoading preview…
<div class="flex flex-col items-center pt-36 pb-4 text-slate-900 dark:text-zinc-100">
<div class="group relative inline-flex">
<button type="button" class="inline-flex items-center gap-2 rounded-xl border border-slate-200 dark:border-zinc-800 bg-white dark:bg-zinc-900 px-3.5 py-2 font-mono text-xs font-semibold text-slate-800 dark:text-zinc-200 shadow-xs transition hover:border-indigo-400 focus:outline-none">
<span class="h-3.5 w-3.5 rounded bg-indigo-600 shadow-inner"></span>
<span>bg-indigo-600</span>
</button>
<div class="pointer-events-none invisible absolute bottom-full left-1/2 z-20 w-60 -translate-x-1/2 pb-2.5 opacity-0 translate-y-2 scale-95 transition-all duration-200 ease-out group-hover:visible group-hover:translate-y-0 group-hover:scale-100 group-hover:opacity-100 group-focus-within:visible group-focus-within:translate-y-0 group-focus-within:scale-100 group-focus-within:opacity-100">
<div class="relative rounded-2xl border border-slate-200 dark:border-zinc-800 bg-white dark:bg-zinc-900 p-3 text-left shadow-xl text-black dark:text-zinc-100">
<div class="h-12 w-full rounded-xl bg-indigo-600"></div>
<div class="mt-2.5 flex items-center justify-between text-xs"><span class="font-mono font-bold text-slate-900 dark:text-zinc-100">indigo-600</span><span class="font-mono text-slate-500 dark:text-zinc-400">#4F46E5</span></div>
<p class="mt-1 text-[11px] text-slate-500 dark:text-zinc-400">WCAG AA vs white: <strong class="text-emerald-600 dark:text-emerald-400">6.29:1</strong></p>
<span class="absolute left-1/2 top-full -mt-1.5 h-3 w-3 -translate-x-1/2 rotate-45 border-b border-r border-slate-200 dark:border-zinc-800 bg-white dark:bg-zinc-800 text-black dark:text-zinc-100"></span>
</div>
</div>
</div>
<p class="mt-3 text-[11px] text-slate-400 dark:text-zinc-500">Hover token chip to inspect contrast & hex</p>
</div>09 / 4-Direction Tooltip Matrix
Mixed Speed · 4-WayLoading preview…
<div class="flex flex-col items-center py-14 text-slate-900 dark:text-zinc-100">
<div class="flex flex-wrap items-center justify-center gap-3">
<div class="group relative">
<button type="button" class="rounded-xl border border-slate-200 dark:border-zinc-800 bg-white dark:bg-zinc-900 px-3.5 py-2 text-xs font-semibold text-slate-800 dark:text-zinc-200 shadow-xs">Top · Instant</button>
<div class="pointer-events-none invisible absolute bottom-full left-1/2 z-20 mb-2 -translate-x-1/2 whitespace-nowrap rounded-lg bg-slate-900 dark:bg-white px-3 py-1.5 text-[11px] font-medium text-white dark:text-slate-950 opacity-0 shadow-lg group-hover:visible group-hover:opacity-100 group-focus-within:visible group-focus-within:opacity-100">
Snaps in at 0ms
<span class="absolute left-1/2 top-full -mt-1 h-2 w-2 -translate-x-1/2 rotate-45 bg-white dark:bg-slate-900 border border-slate-200 dark:border-white/15"></span>
</div>
</div>
<div class="group relative">
<button type="button" class="rounded-xl border border-slate-200 dark:border-zinc-800 bg-white dark:bg-zinc-900 px-3.5 py-2 text-xs font-semibold text-slate-800 dark:text-zinc-200 shadow-xs">Bottom · Slide</button>
<div class="pointer-events-none invisible absolute left-1/2 top-full z-20 mt-2 -translate-x-1/2 whitespace-nowrap rounded-lg bg-indigo-600 px-3 py-1.5 text-[11px] font-medium text-white opacity-0 -translate-y-1.5 transition-all duration-200 ease-out group-hover:visible group-hover:translate-y-0 group-hover:opacity-100 group-focus-within:visible group-focus-within:translate-y-0 group-focus-within:opacity-100">
200ms ease-out slide
<span class="absolute bottom-full left-1/2 -mb-1 h-2 w-2 -translate-x-1/2 rotate-45 bg-indigo-600"></span>
</div>
</div>
<div class="group relative">
<button type="button" class="rounded-xl border border-slate-200 dark:border-zinc-800 bg-white dark:bg-zinc-900 px-3.5 py-2 text-xs font-semibold text-slate-800 dark:text-zinc-200 shadow-xs">Scale · Smooth</button>
<div class="pointer-events-none invisible absolute bottom-full left-1/2 z-20 mb-2 -translate-x-1/2 whitespace-nowrap rounded-lg border border-slate-200 dark:border-zinc-800 bg-white dark:bg-zinc-900 px-3 py-1.5 text-[11px] font-semibold text-slate-800 dark:text-zinc-200 opacity-0 scale-90 transition-all duration-200 ease-out group-hover:visible group-hover:scale-100 group-hover:opacity-100 group-focus-within:visible group-focus-within:scale-100 group-focus-within:opacity-100 shadow-lg">
Soft spring scale
<span class="absolute left-1/2 top-full -mt-1 h-2 w-2 -translate-x-1/2 rotate-45 border-b border-r border-slate-200 dark:border-zinc-800 bg-white dark:bg-zinc-800 text-black dark:text-zinc-100"></span>
</div>
</div>
</div>
<p class="mt-4 text-[11px] text-slate-400 dark:text-zinc-500">Compare 0ms instant snap vs 200ms animated transitions</p>
</div>10 / Dark Shortcut Key Popover
Dark · AnimatedLoading preview…
<div class="flex flex-col items-center pt-40 pb-4 text-slate-900 dark:text-white">
<div class="group relative inline-flex">
<button type="button" class="inline-flex items-center gap-2 rounded-xl border border-slate-200 dark:border-white/15 bg-white dark:bg-[#121318] px-4 py-2 text-xs font-semibold text-slate-800 dark:text-zinc-200 shadow-sm transition hover:border-slate-300 dark:hover:border-white/30 hover:bg-slate-900/[0.07] dark:hover:bg-white/10 focus:outline-none">
<span>Keyboard Shortcuts</span>
<kbd class="rounded bg-slate-900/[0.07] dark:bg-white/10 px-1.5 py-0.5 font-mono text-[10px] text-slate-700 dark:text-zinc-300">⌘/</kbd>
</button>
<div class="pointer-events-none invisible absolute bottom-full left-1/2 z-20 w-64 -translate-x-1/2 pb-2.5 opacity-0 translate-y-2 transition-all duration-200 ease-out group-hover:visible group-hover:translate-y-0 group-hover:opacity-100 group-focus-within:visible group-focus-within:translate-y-0 group-focus-within:opacity-100">
<div class="relative space-y-2 rounded-2xl border border-slate-200 dark:border-white/15 bg-white dark:bg-[#121318] p-4 text-xs text-slate-700 dark:text-zinc-300 shadow-lg dark:shadow-2xl">
<div class="flex items-center justify-between"><span>Navigate items</span><kbd class="rounded bg-slate-900/[0.07] dark:bg-white/10 px-1.5 py-0.5 font-mono text-[10px]">↑↓</kbd></div>
<div class="flex items-center justify-between"><span>Open selection</span><kbd class="rounded bg-slate-900/[0.07] dark:bg-white/10 px-1.5 py-0.5 font-mono text-[10px]">↵</kbd></div>
<div class="flex items-center justify-between"><span>Command palette</span><kbd class="rounded bg-slate-900/[0.07] dark:bg-white/10 px-1.5 py-0.5 font-mono text-[10px]">⌘K</kbd></div>
<div class="flex items-center justify-between"><span>Dismiss overlay</span><kbd class="rounded bg-slate-900/[0.07] dark:bg-white/10 px-1.5 py-0.5 font-mono text-[10px]">ESC</kbd></div>
<span class="absolute left-1/2 top-full -mt-1.5 h-3 w-3 -translate-x-1/2 rotate-45 border-b border-r border-slate-200 dark:border-white/15 bg-slate-50 dark:bg-[#121318]"></span>
</div>
</div>
</div>
<p class="mt-3 text-[11px] text-slate-500 dark:text-zinc-500">Hover button for animated keybinding list</p>
</div>