World Office Pulse
A copy-paste maps & locations component in pure HTML & CSS. Zero dependencies, framework-agnostic, MIT-licensed.
Maps & LocationsHTMLCSSany framework
- New York
- London
- Tokyo
Copy into your project
HTML
<div class="nuda-ml2-worldmap">
<div class="nuda-ml2-worldmap__globe" aria-hidden="true">
<span class="nuda-ml2-worldmap__office" style="left:20%;top:35%">
<span class="nuda-ml2-worldmap__ping"></span>
</span>
<span class="nuda-ml2-worldmap__office" style="left:48%;top:60%">
<span class="nuda-ml2-worldmap__ping"></span>
</span>
<span class="nuda-ml2-worldmap__office" style="left:78%;top:32%">
<span class="nuda-ml2-worldmap__ping"></span>
</span>
</div>
<ul class="nuda-ml2-worldmap__legend">
<li>New York</li>
<li>London</li>
<li>Tokyo</li>
</ul>
</div>CSS
.nuda-ml2-worldmap {
display: flex;
flex-direction: column;
gap: 8px;
width: 260px;
max-width: 100%;
}
.nuda-ml2-worldmap__globe {
position: relative;
width: 260px;
height: 110px;
border-radius: 10px;
overflow: hidden;
background: linear-gradient(180deg,#111116,#0a0a0c);
border: 1px solid rgba(255,255,255,.08);
}
.nuda-ml2-worldmap__globe::before {
content: '';
position: absolute;
inset: 0;
background-image: repeating-linear-gradient(90deg,rgba(255,255,255,.05) 0,rgba(255,255,255,.05) 1px,transparent 1px,transparent 32px),repeating-linear-gradient(0deg,rgba(255,255,255,.05) 0,rgba(255,255,255,.05) 1px,transparent 1px,transparent 20px);
}
.nuda-ml2-worldmap__office {
position: absolute;
width: 8px;
height: 8px;
border-radius: 50%;
background: #e4ff54;
box-shadow: 0 0 8px rgba(228,255,84,.7);
transform: translate(-50%,-50%);
}
.nuda-ml2-worldmap__ping {
position: absolute;
inset: -6px;
border-radius: 50%;
border: 1.5px solid #e4ff54;
animation: _nuda-ml2worldmap-ping 2.6s ease-out infinite;
}
.nuda-ml2-worldmap__office:nth-of-type(2) .nuda-ml2-worldmap__ping {
animation-delay: .9s;
}
.nuda-ml2-worldmap__office:nth-of-type(3) .nuda-ml2-worldmap__ping {
animation-delay: 1.7s;
}
.nuda-ml2-worldmap__legend {
display: flex;
justify-content: space-around;
margin: 0;
padding: 0;
list-style: none;
font-size: 10px;
color: #777;
}
@keyframes _nuda-ml2worldmap-ping {
0% {
transform: scale(.4);
opacity: .9;
}
100% {
transform: scale(2.2);
opacity: 0;
}
}
@media (prefers-reduced-motion:reduce) {
.nuda-ml2-worldmap__ping {
animation: none !important;
opacity: 0;
}
}
How to use World Office Pulse
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.