CSS and HTML
Zero-runtime Popcons exports: plain SVG with CSS keyframes, no JavaScript required.
The CSS and HTML exports contain the SVG and the keyframes needed to animate it. There is no JavaScript and no dependency.
<button class="pc-bell" type="button" aria-label="Notifications">
<svg viewBox="0 0 24 24" width="24" height="24" fill="none" stroke="currentColor"
stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">
<!-- parts carry data-part so the CSS can target them -->
</svg>
</button>- The animation starts on hover and keyboard focus of the icon.
- The generated CSS includes a
prefers-reduced-motion: reduceblock that turns the animation off. - Colour follows
currentColor, so text colour styles it.
Use the CSS tab in the customizer to copy the exact output for the style you picked.