Link is used to navigate the buyer to another page.
optional = ?
||Destination to navigate to. You must provide either this property,
||Open the link in a new window or tab|
||Unique identifier. Typically used as a target for another component’s controls to associate an accessible label with an action.|
||Callback when pressed. If
Best practicesAnchor link to section titled "Best practices"
- If the link isn’t in a paragraph, consider using a plain button instead to get a larger hit area.
- Use links primarily for navigation and button primarily for actions.
- The HTML that renders for the Button and Link components carries meaning. Using these components intentionally and consistently results in a more inclusive experience for assistive technology users and a more cohesive visual experience for sighted users.