Lockups are a promotional component that signpost to a product or service, highlighting key messages.
We use lockups to engage customers, in particular to promote a key product or service. The more relevant and contextual the content is for intended customers, the better.
Sub-headings are used to indicate the primary section or to reinforce a brand message. Short and simple words tend to work better and it is recommended to keep the length between 1 and 5 words. Include a full stop at the end of the sub-heading.
The recommended length is between 4 and 12 words, not exceeding 50 characters in total. Headings contain light and bold font weight to highlight key messaging.
Keep the text ‘short, relevant, and actionable’. It should not exceed more than 24 characters.
There is a choice of two image sizes depending on your choice of Lockup - the first has an aspect ratio of 4:3, the dimensions should be 720x540px, the second has an aspect ratio of 1:1, the dimensions should be 720x720px. Both versions should be jpg file types, and the file size should be no more than 100kb. To see which image you can use - please see the Image Guidence section below. Don't use imagery with white backgrounds. Please make sure you work with a designer when selecting any imagery for the
Use this optional illustration to support and highlight the content. The illustration should relate to the product or service you are talking about. Only available on the Lockjaw and Locknut variants. The specification table has a list of options.
Embolden the key message in the heading
Include more than one CTA
Keep the heading length to 4-12 words
Exceed more than two paragraphs of 3 lines each
Keep subheading length between 1-5 words
Use images with a white background
Optimise the lockup image (see image optimise LINK)
Alternate the position of image/video when using more than one lockup.
Paragraph works best as a single, short paragraph.
Use real-life photographs.
To see examples visit Storybook.
<ns-lockup type="lockbox"><h2 slot="heading"><span class="h5">Our Home Services.</span><span class="h1 enlighten"><b>Your home should just work,</b> we get that</span></h2><p slot="paragraph">We bring you the latest offers on boilers, repairs and more. And we're always here when you need us.</p><a slot="cta" href="#!"><ns-cta type="direct">View HomeCare</ns-cta></a><ns-image slot="image" ratio="4x3" src="/aem6/content/dam/britishgas/images/ns/image4_3.png"></ns-image></ns-lockup>
Does it live in a panel?
Does it live inside other components?
What layout classes can be used?
Different style variants.
Switches the order of the text and image. Default is text to the left.
Ratio for the image.
Adds illustration between the text and image.
Should be a
The sub-heading is part of the heading to allow screen readers to read the heading properly.
Sub heading is a
<span> tag with a
Main heading is a
<span> tag with a
enlighten class in the main heading
<span> to make the heading light.
<b> tag to embolden specific text.
Do you have insights or concerns to share? You can raise an issue via Github bugs.
See all the issues already raised via Github issues.
💩 🎉 🦄 You can also contact the team on Slack on the