Skip to content

[Docs content] HTML Examples #284

Description

@RobTobias123

Outcome

A refined set of HTML examples for each component type and state as required, to pull into the docs where the legacy version used screenshots. Enables users to understand, view or copy the snippet for use in a prototype from one resource, without going to Storybook for a more efficient workflow.

Scope

  • Obtain all snippets currently used in storybook and save a local set for modifying
  • Ascertain the consistent use of placeholder text vs BG example text
  • Clean up HTML spacing indentation and formatting, removing unnecessary attributes eg. because default.
  • Apply agreed naming convention (hyphens not underscores) (standard + type + state etc)

Update HTML example files (standard + type + state etc) and check visuals in playground for each component:

  • ns-accordion
  • ns-alert
  • ns-appointment-picker
  • ns-article
  • ns-content
  • ns-calendar
  • ns-card
  • ns-caveat
  • ns-column
  • ns-content
  • ns-cta
  • ns-datepicker
  • ns-download
  • ns-editorial
  • ns-expander
  • ns-fieldset
  • ns-footer
  • ns-form
  • ns-form-group
  • ns-header
  • ns-highlighter
  • ns-icon
  • ns-illustration
  • ns-image
  • ns-inputter
  • ns-landmark
  • ns-live
  • ns-lockup
  • ns-panel
  • ns-password <-- QUESTION ON THIS: [Docs content] HTML Examples #284 (comment)
  • ns-pill
  • ns-price
  • ns-product-card
  • ns-progress <-- QUESTION ON THIS: [Docs content] HTML Examples #284 (comment)
  • ns-selector <-- QUESTION ON THIS: [Docs content] HTML Examples #284 (comment)
  • ns-skeleton
  • ns-skyline
  • ns-standout
  • ns-tab
  • ns-table
  • ns-tabs
  • ns-testimonial
  • ns-timeline
  • ns-timeline-event
  • ns-video
  • nsx-address-selector
  • nsx-footer
  • nsx-header
  • nsx-markting-consent
  • nsx-product-card-overview

Metadata

Metadata

Assignees

Labels

Status: CompletedNothing further to be done with this issue. Awaiting to be closedType: DocumentationImprovements or additions to documentationquestionFurther information is requested

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions