Skip to content

Content

<ns-content> Deprecated

Overview

Content is used to display typography and media.

Examples

Guidance

Implementation

Placement

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

  • <ns-article>
  • <ns-column>
  • <ns-expander>
  • <ns-form>
  • <ns-panel>
  • <nsx-product-card-overview>

Specification

Attributes

spacing

Property
spacing
Description
The spacing between content.
Type
compact cosy normal loose
Default
normal

type

Property
type
Type
string
Default
standard

Slots

SlotPermitted tagsDescription
Anonymous slot<h1> <h2> <h3> <h4> <h5> <p> <ul> <ol> <figure> <ns-accordion> <ns-cta> <ns-table> <ns-standout> Anonymous slot for content.