Skip to main content

ns-landmark

Introduction#

Landmarks are used to introduce the page, informing users of their current location and its primary purpose.

Landmarks are used to set the scene for what the page is for, what offers might be available and give helpful best next actions for users. This is where the main heading for the page will sit and give the overarching context to the rest of the page.

Content guidance#

Summit Landmark#

Landmark - Summit

KeyField typeGuidelines
AMain HeadingThe recommended length is between 4 and 12 words, not exceeding 50 characters in total.
BContentA single, short paragraph works best. Can contain bold copy <b>, inline links <a> and a caveat at the end of the relevant paragraph if required <a href="#caveat">1</a>.
CActionSee action guidance below
DImage pathThis is the image that will be used inside ns-landmark. Ensure the important focus area of your image remains within the safe-area. It should have an aspect ratio of 16:9, the dimensions should be 1440x810 px, the file type should be jpg, and the file size should be no more than 150kb. Please make sure you work with a designer when selecting this image as finding the right one with the correct focus area can be challenging. Note: The image shouldn't hold any meaning and be only used as a decoration. This is why it doesn't have an alt="" attribute to avoid adding unnecessary content for users using assistive technology.

Hillside Landmark#

Landmark - Hillside

KeyField typeGuidelines
AMain HeadingThe recommended length is between 4 and 12 words, not exceeding 50 characters in total.
BContentA single, short paragraph works best. Can contain bold copy <b>, inline links <a> and a caveat at the end of the relevant paragraph if required <a href="#caveat">1</a>.
CActionSee action guidance below
DDecorationApply a colour decoration to the landmark. The specification table has a list of options.

Valley Landmark#

Landmark - Valley

NOTE: The purpose of the valley landmark is to present an overview of a product or service as a user moves down the funnel of their purchase journey. A CTA may be used, but is not recommended in scenarios where the objective is to encourage further on-page browsing.

KeyField typeGuidelines
AMain HeadingThe recommended length is between 4 and 12 words, not exceeding 50 characters in total.
BContentValley can accommodate multiple paragraph slots. However, be mindful of keeping it concise. To introduce a product or service we recommend 1 shot paragraph and three or four bullet point in a ticked list to showcase your key product benefits. It can contain bold copy <b>, inline links <a> and a caveat at the end of the relevant paragraph if required <a href="#caveat">1</a>.
CActionSee action guidance below
DImage pathThis is the image that will be used inside ns-landmark. It should have an aspect ratio of 4:3 or 16:9, the file type should be jpg, 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 ns-landmark. Note: The image shouldn't hold any meaning and be only used as a decoration. This is why it doesn't have an alt="" attribute to avoid adding unnecessary content for users using assistive technology.
EDecorationApply a colour to the offset. The specification table has a list of options.

Lakeside Landmark#

Landmark - Lakeside

KeyField typeGuidelines
AMain HeadingThe recommended length is between 4 and 12 words, not exceeding 50 characters in total.
BContentLakeside can accommodate multiple paragraph slots. However, be mindful of keeping it concise. Our guidance is a minimum of 1 and a maximum of 3. Can contain bold copy <b>, inline links <a> and a caveat at the end of the relevant paragraph if required <a href="#caveat">1</a>.
CActionSee action guidance below

Image guidance#

ComponentVariantRatioDimensionsSizeTypePlaceholder
ns-landmarksummit16:91440x810px< 200kbjpegns-landmark-summit-1440x810px
ns-landmarkvalley4:3720x540px< 100kbjpegns-landmark-valley-720x540px

Action guidance#

CTA#

  • A CTA is optional and not recommended in scenarios where you want to encourage your user to explore content further down the page.
  • If you need to include a CTA keep the text β€˜short, relevant, and actionable’. It should not exceed more than 24 characters.

Form#

  • A form is optional and recommended in scenarios where you need some information from the user to start a journey or dynamically change the content on the rest of the page.
  • Don't use ns-selector, ns-datepicker, nsx-address-selector, or nsx-marketing-consent as these require more space than is available in the landmark.
  • Keep forms short in hillside to avoid distorting and stretching the gradient.

Best practice#

πŸ’š DoπŸ’” Don't
Use it at the top of the page.Use it in the middle or end of a page.
Communicate the primary purpose in a clear and concise way.Always add a cta (It'll drive traffic away).
Content must be relevant to the page.Use it to hold random content - ns-editorial may be better use for this.
Use decoration/lifestyle photography only.Don't hold any meaning in the image.

Best practice for summit#

πŸ’š DoπŸ’” Don't
Capture the moment.Allow the card to cover important content.
do-father-childdont-covered-family
Set focus of the photo correctly.Obstruct people's faces with the card.
do-couple-on-sofadont-obstructed-face
Convey activity related to topic.Use images with a white background.
do-boiler-servicedont-boiler-on-white-background

Best practice for hillside#

πŸ’š DoπŸ’” Don't
Use the same colour for a set of pages on the same topic, e.g. Guide pages related to boilers.Use the red decoration for something that is not a promotional promotional or an error-themed page.
do-use-same-colour-for-themed-pagesAdd too much content in the landmark.
Keep the content concise.
do-keep-content-concise

Best practice for lakeside#

πŸ’š DoπŸ’” Don't
Use more than one paragraph.Use more than three paragraphs.
do-use-more-than-one-paragraphdont-use-more-than-three-paragraphs
Display 400 and 500 error pages.Use to build a page.
display-400-and-500-error-pagesdont-even-this-about-building-a-page-with-it
Get to the point, in this scenario the Sub heading and CTA have been omitted.
do-get-to-the-point

Best practice for valley#

πŸ’š DoπŸ’” Don't
Use checked list to highlight your key product benefitsAdd a CTA if the purpose of the page is for users to consume the content.
use-a-checked-listdont-add-a-cta
Use a complementary image to add context to your product or serviceUse long, verbose content. Keep the user interested with a snappy overview and draw them down the page
complementary-imageuse-short-content
Use colour, pill and ratio options for alternative aestheticsForget to use an image
use-colour-and-ratio-optionsuse-an-image

Considerations of best practice#

  • Shorter and simpler words tend to work better in the heading.
  • The recommended copy length is between 1 and 5 words for the Sub heading.
  • The message must be in plain English, and help the user out of the situation by providing an actionable link if possible.
  • If the purpose of the page is to understand more about a product or service, then it is considered bad practice to include a CTA within the landmark, as users are likely to drop out. This is because users believe the next step is to click the CTA, rather than reading the page to get a better understanding of how they should proceed.
  • Let the page type define the type of landmark you use.
    • If the page purpose is to be informative / educational then we recommend using hillside.
    • If the page purpose is promotional we recommend using summit.
    • If the page purpose is a 400 or 500 error page, use lakeside.
    • If the page purpose is to showcase features and products, use valley.
  • If you are designing a series of informative / educational pages that all follow a similar theme, it would be considered best practice to use the same coloured decoration within the hillside.

Usage#

Summit#

View example on Storybook

Hillside#

View example on Storybook

Lakeside#

View example on Storybook

Valley#

View example on Storybook

Component placement#

The ns-landmark component can only be used as a child of the <main> element

Specification#

AttributePropertyTypeDefaultOptionsDescription
typetypestringsummitsummit, hillside, lakeside, valleyThe variant of the landmark.
imageimagestringBackground image used for summit variant or image used for valley variant
decorationdecorationstringcyancyan, lime, navy, blue, forest, orange, red, yellowBackground and offset colour used for the Hillside and Valley variant.
pill-over-imagepillOverImagebooleanfalseUsed to put the pill in the bottom left of the image when using type="valley" and an image
ratioratiostring16 / 9 for summit type and 4 / 3 for valley type4 / 3, 16 / 9Aspect ratio of the image used only for valley variant
SlotsType
heading<h1>
paragraph<p> <div>
ctans-cta <a>
pillns-pill

Specification notes#

Heading#

  • This needs to be a h1 heading
  • Main heading is a <span> tag with a h1 class.

Paragraph#

  • Include an optional link to #caveat by placing <a href="#caveat">1</a> at the end

Summit Variant - Image#

  • 16x9
  • 1440 x 810px

Summit Variant - Image template#

This provides the safe-area to the position of the focal point of the image.

Download the 1440x810px Landmark testcard image and place over your Landmark photos in your image editing software.

landmark-16x9-testcard-1440

Using Photoshop#

Using Photoshop to overlay the Landmark focus template to check alignment. (You could equally use an alternative software.)

image

πŸ’š DoπŸ’” Don't
Here, the focus of the photo is located within the safe-areaThe subject fills the entire photo, and the lady on the left will be obscured
landmark-16x9-testcard-1440-01landmark-16x9-testcard-1440-00
Capture the story within. This photo is about the lady and her phoneUnfortunately, this photo is completely unsuitable for a Landmark
landmark-16x9-testcard-1440-02landmark-16x9-testcard-1440-04

Feedback#

  • 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.

Related links#