Sha256: fc41f429d2f9eebaf4d904bb3cc350d4bce8b2ddc32f519ddef10162608b26fc
Contents?: true
Size: 1.88 KB
Versions: 38
Compression:
Stored size: 1.88 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-publishing-components.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" links: ordered_related_items: - title: "Find an apprenticeship" base_path: "/apply-apprenticeship" with_step_by_step: data: content_item: title: "A content item" links: part_of_step_navs: - title: "Choosing a micropig or micropug: step by step" base_path: "/micropigs-vs-micropugs" - title: "Walk your micropig: step by step" base_path: "/porgs-step-by-step" ordered_related_items: - title: "Find an apprenticeship" base_path: "/apply-apprenticeship"
Version data entries
38 entries across 38 versions & 1 rubygems