ns-articleis used to display long-form content
Note: This component is currently being considered for deprecation.
ns-article has been designed to be used to house content for a variety of long-form content such as blogs, editorials and support articles. Each use of the ns-article should be split into easy to consume chapters or sections.
|The recommended length is between 4 and 12 words, not exceeding 50 characters in total.
|This is the video or image that will be used inside
ns-content. Videos should be hosted on YouTube and have an aspect ratio of 16:9. Images can have an aspect ratio of 16:9 or 4:3, their file type should be jpg, and the file size should be no more than 100kb. Don't use imagery with white backgrounds.
|Short contextual description of the video or image content.
|The content in
ns-content can accommodate multiple sub headings, lists and paragraphs. The content should be concise and use sub headings to introduce each piece. Divide content into short paragraphs as it is easier to consume, and aids effective page scanning. Content can contain bold copy
<strong>, inline links
<ol>, and a caveat at the end of the relevant paragraph if required
|Call to action
|Keep the text ‘short, relevant, and actionable’. It should not exceed more than 10 characters.
ns-article into multiple easy to consume sections
|Use to for non long form content
|Place all images and videos in
|Use to create layouts
|Prefer to use a 16:9 ratio for images and videos
|Include contextual text links with content
The ns-article component can only be used in the ns-panel component.
- First children can only be a single
<section>can only contain a single
- Do you have insights or concerns to share? You can raise an issue via Github bugs.
- See all the issues already raised via Github issues.
💩 🎉 🦄 If you have any questions, contact us on Microsoft Teams in the Nucleus Design System channels.