CSS-Zone

Dot typing loader

Three dots hopping like a typing state. Practical example for loaders and state indicators with live preview, HTML structure, and production-ready CSS you can integrate quickly.

Preview

HTML + CSS

<div class="dot-typing-loader">
  <span></span><span></span><span></span>
</div>

<style>
.dot-typing-loader{display:flex;gap:8px;align-items:center;}
.dot-typing-loader span{
  width:10px;height:10px;border-radius:50%;
  background:#5b8def;box-shadow:0 6px 12px rgba(91,141,239,.22);
  animation:dot-typing 1s ease-in-out infinite;
}
.dot-typing-loader span:nth-child(2){animation-delay:.12s;}
.dot-typing-loader span:nth-child(3){animation-delay:.24s;}
@keyframes dot-typing{0%,100%{transform:translateY(0);opacity:.7;}50%{transform:translateY(-8px);opacity:1;}}
</style>

What the Dot typing loader pattern demonstrates

Dot typing loader is a reusable CSS animation pattern that can be integrated into modern UI without external dependencies. The example includes HTML structure and motion styles that are easy to scale for production components.

When this animation pattern is a good fit

Use this effect for state indication, visual focus, or lightweight micro-interactions that support content clarity. Motion should reinforce hierarchy, so keep speed, contrast, and density aligned with your interface goals.

How to implement it in production safely

Copy the snippet, adapt spacing and timing to your system tokens, and test behavior on mobile and low-power devices. Add reduced-motion support to keep the component accessible while preserving the same functional meaning.