Shimmer sweep
Brillo deslizante · Shimmer · Shine sweep · Sheen effect · Lucentezza che attraversa
A band of light sweeps diagonally across a button, badge or loading block, like a reflection on a glossy surface. It draws the eye to what is precious or signals that something is on its way.
- Era
- 2014 – today
- Use
- Mainstream
Live demo
View code
<main>
<article class="card">
<span class="badge shine">★ Membro Oro</span>
<h2 class="gold">Club Riserva</h2>
<div class="sk"><b class="shim"></b><b class="shim"></b><b class="shim s"></b></div>
<button class="btn shine">Sblocca i vantaggi</button>
</article>
</main> body{margin:0;height:100vh;display:grid;place-items:center;background:radial-gradient(circle at 50% 0%,#3B3746,#14121A 70%);font-family:Outfit,sans-serif;color:#F7F3EA}
.card{width:300px;max-width:88vw;padding:22px;border-radius:20px;background:#2A2733;border:1px solid #ffffff12;box-shadow:0 30px 50px -24px #000}
.badge{display:inline-block;font-size:11px;font-weight:600;letter-spacing:.08em;padding:5px 10px;border-radius:99px;background:#B08D3C33;color:#E9C46A}
h2{font-weight:800;font-size:30px;margin:12px 0 14px;background:linear-gradient(110deg,#B08D3C 30%,#F7F3EA 45%,#E9C46A 55%,#B08D3C 70%) 100% 0/300% 100%;-webkit-background-clip:text;background-clip:text;color:transparent}
.sk{display:grid;gap:9px;margin-bottom:18px}
.sk b{display:block;height:11px;border-radius:6px;background:#3B3746;position:relative;overflow:hidden}
.sk .s{width:60%}
.btn{width:100%;border:0;padding:13px;border-radius:12px;font:600 15px Outfit,sans-serif;color:#14121A;background:linear-gradient(135deg,#E9C46A,#B08D3C)}
.shine{position:relative;overflow:hidden}
.shine::after,.shim::after{content:"";position:absolute;top:0;bottom:0;left:0;width:60%;transform:translateX(-120%) skewX(-20deg);background:linear-gradient(90deg,transparent,#ffffffaa,transparent)}
.shim::after{width:100%;background:linear-gradient(90deg,transparent,#ffffff1f,transparent)}
@media (prefers-reduced-motion:no-preference){
.btn::after{animation:sw 3s cubic-bezier(.4,0,.2,1) infinite}
.badge::after{animation:sw 3s cubic-bezier(.4,0,.2,1) .4s infinite}
.shim::after{animation:sk 1.4s ease-in-out infinite}
.gold{animation:gold 3s cubic-bezier(.4,0,.2,1) infinite}
@keyframes sw{0%,40%{transform:translateX(-120%) skewX(-20deg)}75%,100%{transform:translateX(260%) skewX(-20deg)}}
@keyframes sk{0%{transform:translateX(-100%)}100%{transform:translateX(100%)}}
@keyframes gold{0%,30%{background-position:100% 0}70%,100%{background-position:0 0}}
} Characteristics
- Light linear gradient over a flat base
- Diagonal pass from side to side
- Long pause between sweeps
- Used on placeholders, premium buttons and badges
- Transform-driven so it stays smooth
Palette
Click a swatch to copy it
Typography
Headings · Outfit Shimmer sweep
Body · Outfit A band of light sweeps diagonally across a button, badge or loading block, like a reflection on a glossy surface. It draws the eye to what is precious or signals that something is on its way.
Motion
- Easing
ease-in-out- Typical duration
- 0,8–1,6 s per passaggio, pausa 2–4 s
- Techniques
- pseudo-elemento con linear-gradient e translateX, background-position animato, mask-image per limitarlo al testo, Facebook Shimmer, react-loading-skeleton
Accessibility (reduced motion)
No moving sheen; placeholders stay flat grey or pulse very slowly in opacity.
Prompt for your agent
Copy and paste into your prompt to have an agent or image generator reproduce this style.
For web pages and UI
Design the web page or interface in this style: Shimmer sweep (Brillo deslizante, Shimmer). A band of light sweeps diagonally across a button, badge or loading block, like a reflection on a glossy surface. It draws the eye to what is precious or signals that something is on its way. Characteristics: Light linear gradient over a flat base, Diagonal pass from side to side, Long pause between sweeps, Used on placeholders, premium buttons and badges, Transform-driven so it stays smooth. Palette: #14121A, #2A2733, #E9C46A, #F7F3EA, #B08D3C, #3B3746. Typography: headings in Outfit, body text in Outfit (Google Fonts or equivalents). Mood: luxurious, subtle, elegant. Motion: easing ease-in-out, typical duration 0,8–1,6 s per passaggio, pausa 2–4 s; techniques: pseudo-elemento con linear-gradient e translateX, background-position animato, mask-image per limitarlo al testo, Facebook Shimmer, react-loading-skeleton. With prefers-reduced-motion: No moving sheen; placeholders stay flat grey or pulse very slowly in opacity. References: Libreria Shimmer di Facebook (2014), react-loading-skeleton, pulsanti premium delle app di abbonamento, effetti shine di CodePen.
Relations
Derives from
Similar to
References
- Libreria Shimmer di Facebook (2014)
- react-loading-skeleton
- pulsanti premium delle app di abbonamento
- effetti shine di CodePen