The link serves as a navigational element. It provides a clickable area with styled text and an optional icon, allowing users to access different pages, sections, or external resources within the application.
sm, md, lg and responsive and can be changed by passing the size prop.responsive.responsive, the component will be responsive to the viewport.Screen prefix | Screen width | Component size |
|---|---|---|
|
| sm |
|
| md |
|
| lg |
underline prop can be used to set the underline behavior. The default is always.target="_blank" with Links, it is recommended to always set rel="noopener" or rel="noreferrer" when linking to third party content
rel="noopener" prevents the new page from being able to access the window.opener property and ensures it runs in a separate process. Without this, the target page can potentially redirect your page to a malicious URL.rel="noreferrer" has the same effect, but also prevents the Referer header from being sent to the new page. ⚠️ Removing the referrer header will affect analytics.rel heredownload prop can be used to set the downloadable Link.a HTML tag : _self, _blank, _parent and _top._self.disabled prop can be used to set the Disabled Link.