Skip to content

Standout

<ns-standout>

Overview

To visually draw attention to content.

✨ This is an auto-generated AI summary of the ns-standout's documentation. It may not be accurate. ✨

Use the ns-standout component to make information stand out from a page and to visually differentiate a concise block of text from the content that surrounds it, for example:

  • Quotes (as in prices)
  • Call-outs
  • Examples
  • Additional information about the page
  • Emergency information

Examples

Guidance

Standard

Labelled diagram of ns-standout

Key

KeyField typeGuidelines
ADecorationThe colour of the border. See decoration for the list of options.
BAnonymous slotIntroduce content with a heading. Add a few short paragraphs. Include emphasis with <strong>, inline links <a>, lists <ul> <ol>. Add a caveat link if required.

Implementation

Placement

The ns-standout component can be used in the following components:

Specification

Attributes

decoration
Property
decoration
Description
The decorative border colour to draw attention to the content of the standout.
Type
string
Options
cyan lime navy blue forest slate orange red yellow
Default
cyan
type
Property
type
Type
Default
subtle

Slots

SlotPermitted tagsDescription
Anonymous slot<ns-content> <ns-column> The anonymous slot for the content.

Figma

Please note: The ns-standout Figma component configuration instructions are available only to members of the British Gas workspace who have access to the Nucleus Figma UI Kit.

Last updated: