Jump to main content

A heading can be emphasised by adding an icon alongside the text.

Stacked

This variant positions the icon vertically with the text content for an alternate layout.

Small

The icon for this component is also available at a smaller size of 32 × 32 pixels rather than our default size of 60 × 60 pixels.

Import

To import just this component into your project, copy the snippet below and include it in your main Sass file.

// import Vanilla and include base mixins
// this only needs to happen once in a given project
@import 'vanilla-framework';
@include vf-base;

@include vf-p-heading-icon;

For more information see Customising Vanilla in your projects, which includes overrides and importing instructions.