The A component outputs the anchor html element which is used for linking to other page content.
Guidance
- Use to link pages within a site or application.
- Ensure the link text is meaningful and matches the title of the destination page.
- Insert visually hidden text to provide more context when the link destination isn't clear or the link text is repeated.
- For redirecting to another section within the same page use the default anchor element.
- For external links use the ExternalLink component.
Example code
A link to the home page1<A href="/">A link to the home page</A>
Import by:
1import { A } from "@parsley_design_systems/design-system"
Any attribute that can be applied on the HTML5 anchor element can be used as a prop.