Skip to content

Caveat

<ns-caveat>

Overview

Caveats provide additional information and legal details to content.

Caveats link to content on the page, providing more information about legality and eligibility by separating it to the bottom of the page.

Examples

Guidance

Standard

Labelled diagram of ns-caveat

Key

KeyField typeGuidelines
ALinkThe link used to highlight there is further relevant information the user should read. This might provide specific stipulations, conditions, or limitations. Clicking on this will take the user to the content at the bottom of the page.
BHeadingThe recommended length is between 4 and 12 words, not exceeding 50 characters in total.
CContentA single, short paragraph works best. You can link to additional information if needed, such as terms and conditions. These should always be accompanied with a related description.

Implementation

Placement

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

Specification

Attributes

id

Property
id
Type
string
Default
caveat

type

Property
type
Type
string
Default
standard

Slots

SlotPermitted tagsDescription
headingThe heading of the caveat.
Anonymous slot<ol> <p> Anonymous slot for content, expected to be a list of paragraph.

Last updated: