Skip to content

Editorial

<ns-editorial> Deprecated

Overview

The editorial component is a self-contained or supporting piece of content that is more informative than promotional in nature. In some cases, it is necessary to explain something in more detail without the user needing to take an immediate action.

Examples

Guidance

Implementation

Placement

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

Specification

Attributes

image

Property
image
Description
The URL of the image to display on the editorial.
Type
string

reverse

Property
reverse
Description
Whether the editorial should be reversed.
Type
boolean
Default
false

type

Property
type
Type
string
Default
standard

Slots

SlotPermitted tagsDescription
heading<h1> <h2> The heading of the editorial.
Anonymous slotAnonymous slot for content.