Components
Icon Box
An icon, heading and text, in many layouts.
Live demo
See it in action
Fast
An icon, a heading and a line of supporting text.
Flexible
Many layouts and hover styles to choose from.
Free
Every element is free under the GPL.
Box Presets
Hover animations on a box.
A Box Preset can pick any effect from the shared Hover Animations library — the same list a Button offers. Left: the "Hover Lift" preset (box-only hover_fx). Middle and right: the "Hover Grow" preset, whose Grow comes from the library. Hover each card.
Hover Lift
Lift + glow: the box-only hover_fx composite.
Hover Grow
Grow: the shared library's built-in effect, on a box.
Hover Grow
Same preset — add one animation, every consumer offers it.
Corner Smoothing
Smooth corners on a box.
Every Box Preset has a Corner Smoothing setting under its Corner Radius. Both cards use a 28px radius: left, the "Rounded Card" preset (Off, a plain quarter circle); right, the "Squircle Card" preset (Squircle, the continuous curve of app icons). Browsers that cannot draw it yet show the plain rounded corner.
Rounded Card
Corner Smoothing: Off. A plain quarter-circle corner.
Squircle Card
Corner Smoothing: Squircle. One continuous curve.
Color Presets
Vivid colour on wide-gamut screens.
Both boxes use the same #00B295. Left: the "Green" preset. Right: the "Green Vivid" preset, set to Most vivid. On a Display P3 screen (most recent phones, tablets and laptops) the right box is a more saturated green with the same hue and lightness; on an ordinary screen, and in screenshots, the two look the same.
Green
Off: the same colour on every screen
Green Vivid
Most vivid on a Display P3 screen
Components
One component, three copies.
All three cards are copies of the same "Feature Card" component (a Snippet with properties and a variant). Each copy fills in its own title, text, link, photo, accent colour and badge switch; the third picks the Dark variant. Editing the component changes all three.
NEW
Its own picture
This copy swaps the photo and the accent colour, and hides the badge.
The markup
Clean, lean code
This is the exact HTML the element outputs, straight from the page builder. No wrapper soup, no inline-style bloat.
<section class="fw-flexbox fw-flex fw-contained fw-collapse">
<div class="icon-box icon-box__wrapper icon-box--style-top-title icon-box--mobile-stack icon-box--full-height">
<div class="icon-box__inner icon-box__inner--top">
<div class="icon-box__icon-align text-center">
<span class="icon-box__icon" aria-hidden="true"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" width="1.4em" height="1.4em"><path d="M13 2L3 14h7l-1 8 10-12h-7z" /></svg></span>
</div>
<h4 class="icon-box__title">Fast</h4>
<div class="icon-box__content">
<p>An icon, a heading and a line of supporting text.</p>
</div>
</div>
</div>
</section>To learn more about the Icon Box shortcode, please check out the online manual here.
Free & open source
Build with this element, free.
Install the framework and the Bootstrap 5 theme, then drag this element into any page.