HTML + CSSLoaders
Barcode scanner loader
A red laser sweeps over a barcode label inside a cornered viewfinder, like at a supermarket checkout.
Settings
16px
1x
Code
<div class="uvq10-bar" role="status"><span class="sr">Scanning</span><div class="lb" aria-hidden="true"><svg viewBox="0 0 87 46" preserveAspectRatio="none"><rect x="0" width="1" height="46"/><rect x="2" width="1" height="46"/><rect x="5" width="1" height="40"/><rect x="8" width="1" height="40"/><rect x="10" width="3" height="40"/><rect x="14" width="2" height="40"/><rect x="18" width="3" height="40"/><rect x="23" width="1" height="40"/><rect x="25" width="2" height="40"/><rect x="28" width="1" height="40"/><rect x="30" width="1" height="40"/><rect x="33" width="1" height="40"/><rect x="35" width="2" height="40"/><rect x="39" width="1" height="40"/><rect x="42" width="1" height="46"/><rect x="44" width="1" height="46"/><rect x="47" width="1" height="40"/><rect x="49" width="3" height="40"/><rect x="53" width="2" height="40"/><rect x="56" width="1" height="40"/><rect x="59" width="2" height="40"/><rect x="63" width="2" height="40"/><rect x="67" width="2" height="40"/><rect x="70" width="1" height="40"/><rect x="72" width="3" height="40"/><rect x="76" width="1" height="40"/><rect x="78" width="1" height="40"/><rect x="80" width="1" height="40"/><rect x="84" width="1" height="46"/><rect x="86" width="1" height="46"/></svg><span class="dg">8 412345 678905</span><i class="ls"></i></div><i class="cn tl" aria-hidden="true"></i><i class="cn tr" aria-hidden="true"></i><i class="cn bl" aria-hidden="true"></i><i class="cn br" aria-hidden="true"></i></div>Prompt for AI
Paste it into ChatGPT, Claude or Cursor and it will adapt the block to your project with these settings, even if you don’t use React.
More in Loaders
See all LoadersWhere to use it
A white label with a barcode generated as inline SVG and its digits, framed by four viewfinder corners. A red laser line with a soft glow band moves up and down across it with easing at each end. It suits retail apps, inventory tools, ticket validation, delivery tracking and any screen that reads a code.
The main color sets the laser and the second the viewfinder corners, so you can match a scanning green or a brand tone. Show it while a code is checked, then swap it for a clear success state.