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.
|A||Heading||The recommended length is between 4 and 12 words, not exceeding 50 characters in total.|
ns-lockup can accommodate multiple paragraph slots. However, be mindful of keeping it concise. Our guidance is a maximum of 2 short paragraphs, each with no more than 3 lines each. Can contain bold copy
<b>, inline links
<ol>, and a caveat at the end of the relevant paragraph if required
|C||CTA||Keep the text ‘short, relevant, and actionable’. It should not exceed more than 24 characters.|
|D||Image||There is a choice between 3 image sizes - the first has an aspect ratio of 16:9, the dimensions should be 800 x 450px, the second has an aspect ratio of 4:3, the dimensions should be 800 x 600px, and the third has an aspect ratio of 1:1, the dimensions should be 800 x 800px. 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 guidance section below. Don't use imagery with white backgrounds. Please make sure you work with a designer when selecting any imagery for the |
|E||Decoration||Use this optional illustration to support and highlight the content. The illustration should relate to the product or service you are talking about. The specification table has a list of options.|
|💚 Do's||💔 Don'ts|
|Use 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|
|Consider the focal point of the image at across different viewports||Use images that have any important part obscured by the overlap|
|Optimise the lockup image (see Optimise your images)||Use images with a white background|
Considerations of best practices
- Alternate the position of image/video when using more than one lockup.
- Paragraph works best as a single, short paragraph.
- Use real-life photographs.
The ns-lockup component can only be used in the ns-panel component.
|At present, these three styles share identical visual and functional features; however, there is a possibility that they will diverge in the future.|
|Switches the order of the text and image. Default (|
false) is text to the left.
|Ratio for the image.|
|See ns-illustration component in Storybook||Adds an illustration overlapping the image.|
- Should be a
- Heading uses an
- Use the
video variant when using a video instead of an image as the overlap is in front of the text box so neither the video nor its captions are obscured. The text then wraps around the video edge. (See the
video example on Storybook)
- It is not possible to use an illustration decoration with a video.
- Use the video's YouTube link as the
id attribute's value.
- 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.
💩 🎉 🦄 If you have any questions, contact us on Microsoft Teams in the Nucleus Design System channels.