Button
A button triggers a clear action such as register, download, submit, save, or continue.
When To Use
| Use | Avoid |
|---|---|
| A button triggers a clear action such as register, download, submit, save, or continue. | Avoid using this component when the content has a different job or needs a simpler plain-text treatment. |
| Use actions where people can immediately do something: submit a form, register for an event, download a file, open a map, or contact a group. | 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
<button class="lds-button" type="button">Register now</button>
Class Reference
| Class | Use |
|---|---|
.lds-button | Applies the primary action button style. |
Review Notes
Web
Use actions where people can immediately do something: submit a form, register for an event, download a file, open a map, or contact a group.
Translate actions into visible instructions with a readable URL, phone number, email, QR code, date, or place-based next step.
States And Variants
Document primary, secondary, disabled, loading, focus, hover, and pressed states where interactive.
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.