Documentation Index
Fetch the complete documentation index at: https://mintlify.com/zendeskgarden/website/llms.txt
Use this file to discover all available pages before exploring further.
Installation
When to use
Use an Anchor:- To navigate from one page to another
- To navigate within a page (hash links)
- To display links alongside body text
- To prompt an action or submit data — use a Button instead
The distinction between Anchor and Button is semantic. An Anchor navigates — it changes the user’s location. A Button acts — it triggers a process or mutation. Choosing the right element ensures correct browser behavior and accessible semantics.
Usage
Default
Anchor is a styled <a> element. It accepts all standard anchor attributes, including href, target, and rel.
Danger
Danger styling communicates that navigating away from your current location will have destructive results — for example, a “cancel changes” link.External links
When linking to an external domain, setisExternal to automatically append an external-link icon and add target="_blank" and rel="noopener noreferrer" for security.
Hidden underline
Hide an anchor’s underline to reduce visual fatigue when multiple links are displayed close together (for example, in a navigation list).API
Anchor props
The URL the anchor navigates to.
Applies danger styling to communicate destructive navigation.
Appends an external-link icon and sets
target="_blank" and rel="noopener noreferrer".Controls whether the anchor’s underline is visible.
Standard HTML anchor
target attribute (e.g., '_blank').Standard HTML anchor
rel attribute.