Sidebar
A secondary region for navigation, metadata, filters, notes, or related content.
When To Use
| Use | Avoid |
|---|---|
| A secondary region for navigation, metadata, filters, notes, or related content. | Avoid using this component when the content has a different job or needs a simpler plain-text treatment. |
| Use layout sections to create predictable page regions and reusable responsive structure. | Avoid changing approved colours, typography, logo artwork, or class names to create a local style guide. |
| Use the starter markup as a copy/paste baseline for websites, Ghost HTML blocks, generated pages, or print previews. | Avoid copying placeholder IDs, links, contact details, or image paths without replacing them. |
Example
Code
CSS Imports
@import "@landcare-design-system/css/dist/landcare.css";
@import "@landcare-design-system/css/dist/components.css";
Starter Markup
<aside class="lds-sidebar">
<h2>Related resources</h2>
<a href="/resources/site-map/">Site map</a>
<a href="/resources/safety/">Safety checklist</a>
</aside>
Class Reference
| Class | Use |
|---|---|
.lds-sidebar | Styles a secondary content or navigation region. |
Review Notes
Web
Use layout sections to create predictable page regions and reusable responsive structure.
Use layout sections as reusable page, flyer, report, slide, and signage regions with consistent margins and hierarchy.
States And Variants
Document compact, spacious, image-led, text-led, and repeated-section variants.
Checklist
- Brand colours, typography, and logo use are inherited from the approved master brand.
- The first-read message or action is clear.
- Labels, headings, links, and alternative text are meaningful.
- Keyboard focus, colour contrast, and reading order are covered where the component is interactive.
- The component survives its final output: mobile, desktop, Ghost CMS, A4 print, poster, signage, or email.