Sha256: ac3ac8b799caae8415ec53a89c95c8fee02a93db0a59564f3b77ddfdea2206d3

Contents?: true

Size: 1.26 KB

Versions: 3

Compression:

Stored size: 1.26 KB

Contents

name: Contextual sidebar
description: Sidebar that shows different things depending on the page
body: |
  This is a complex component that calls other components. For more accurate
  preview with real data, see the [contextual navigation preview][preview].

  There are 4 main variants of the component:

  - Step by step, which uses the [step by step nav][step-by-step]
  - Taxonomy, which uses the new taxonomy in the [taxonomy-sidebar component][taxonomy-sidebar]
  - Mainstream, which uses related links in the [related navigation component][related_navigation]
  - Related navigation, which uses legacy taxonomies in the [related navigation component][related_navigation]

  It must always used [together with the contextual breadcrumbs][contextual_breadcrumbs].

  [preview]: https://govuk-publishing-components.herokuapp.com/contextual-navigation
  [step-by-step]: /component-guide/step_by_step_nav
  [related_navigation]: /component-guide/related_navigation
  [taxonomy-sidebar]: https://govuk-static.herokuapp.com/component-guide/taxonomy_sidebar
  [contextual_breadcrumbs]: /component-guide/contextual_breadcrumbs
accessibility_criteria: |
  Components called by this component must be accessible
examples:
  default:
    data:
      content_item:
        title: "A content item"

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
govuk_publishing_components-6.0.0 app/views/govuk_publishing_components/components/docs/contextual_sidebar.yml
govuk_publishing_components-5.7.0 app/views/govuk_publishing_components/components/docs/contextual_sidebar.yml
govuk_publishing_components-5.6.0 app/views/govuk_publishing_components/components/docs/contextual_sidebar.yml