Marker Pulse
A copy-paste maps & locations component in pure HTML & CSS. Zero dependencies, framework-agnostic, MIT-licensed.
Maps & LocationsHTMLCSSany framework
Copy into your project
HTML
<div class="nuda-mpulse">
<span class="nuda-mpulse__ring"></span>
<span class="nuda-mpulse__ring"></span>
<span class="nuda-mpulse__dot"></span>
</div>CSS
.nuda-mpulse {
position: relative;
width: 32px;
height: 32px;
display: inline-flex;
align-items: center;
justify-content: center;
}
.nuda-mpulse__dot {
position: relative;
width: 12px;
height: 12px;
border-radius: 50%;
background: #e4ff54;
border: 2px solid #fafafa;
box-shadow: 0 0 0 1px rgba(0,0,0,.5),0 0 12px rgba(228,255,84,.6);
z-index: 1;
}
.nuda-mpulse__ring {
position: absolute;
width: 14px;
height: 14px;
border-radius: 50%;
background: #e4ff54;
animation: _mpulse 2s ease-out infinite;
}
.nuda-mpulse__ring:nth-child(2) {
animation-delay: 1s;
}
@keyframes _mpulse {
0% {
transform: scale(.6);
opacity: .7;
}
100% {
transform: scale(2.4);
opacity: 0;
}
}
@media (prefers-reduced-motion:reduce) {
.nuda-mpulse__ring {
animation: none;
}
}
How to use Marker 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.