Pulled Icons
Pulled icons let you float an icon to the left or right of a block of text, similar to how pull quotes or floated images work in articles. This is useful for highlighting quotes, notes, tips, or callouts inside long-form content.
Boxicons provides two utility classes for this:
bx-pull-left— floats the icon to the left of the textbx-pull-right— floats the icon to the right of the text
Make sure you have included the transformations stylesheet before using these classes.
<link href="https://cdn.boxicons.com/transformations.min.css" rel="stylesheet"><i class="bx-pull-left bxf bx-quote-alt-left bx-lg"></i>
<span>Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Ut faucibus erat eu nibh laoreet, sed ullamcorper diam ornare.
Quisque viverra ante nec luctus imperdiet. Quisque ut imperdiet nisi.
Quisque ultrices laoreet odio, non vestibulum lacus molestie sollicitudin.
Phasellus nec dolor eget nunc commodo sodales vel vel eros.</span>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut faucibus erat eu nibh laoreet, sed ullamcorper diam ornare. Quisque viverra ante nec luctus imperdiet. Quisque ut imperdiet nisi. Quisque ultrices laoreet odio, non vestibulum lacus molestie sollicitudin. Phasellus nec dolor eget nunc commodo sodales vel vel eros.
How it works
- The icon is floated to one side of the text.
- The surrounding text wraps naturally around the icon.
- Spacing and alignment are handled automatically by the utility class.
This creates a magazine-style layout that draws attention to important content.