Skip to content

Product card

<ns-product-card>

Overview

The product card enables users to browse, compare and choose a product.

Examples

Guidance

Standard

Labelled diagram of ns-product-card

Key

KeyField typeGuidelines
AProduct nameThe product name should be brief and memorable, ideally 2 to 3 words (10 to 15 characters). Maximum 25 characters.
BPrice subtitleThis should be used to give context to your product price. 15 to 23 characters maximum.
CPrimary priceThe is the leading product price. This is optional as a product price may not always be available.
DSecondary priceThis is the secondary product price. This is also optional.
EProduct descriptionThe product description can accommodate multiple sub headings, lists and paragraphs. The content should be concise and use bulleted or checked lists to support skim reading. Comparable product features should be repeated in the same list order across all products. Content can contain bold copy <b> <strong>, inline links <a>, lists <ul> <ol>, and caveats if required <a href="#caveat">Caveat</a>.
FExpanderExpanders can be used to provide additional product detail. Each product should have a maximum of 3 expanders.
GCall to actionKeep the text ‘short, relevant, and actionable’. It should not exceed more than 10 characters.
HKeylineAn optional colour keyline can be added to distinguish and draw attention to your products.
IImageAn optional image with an aspect ratio of 16:9 (default), 4:3 or 1:1 can be added to support your product description.

Implementation

Placement

The ns-product-card component can only be used as a child of the <ns-column> element.

Specification

Attributes

keyline

Property
keyline
Description
The keyline colour of the product card.
Type
string
Options
cyan lime navy blue forest slate orange red yellow
Default

type

Property
type
Type
string
Default
standard

Slots

SlotPermitted tagsDescription
image<ns-image> The image of the product card.
name<h2> <h3> The name of the product card.
price-heading<h3> <h4> The price heading of the product card.
price<div> The price of the product card.
description<div> The description of the product card.
expander<ns-expander> The expander of the product card.
cta<ns-cta> The CTA of the product card.

Last updated: