Link
Text that takes the user to another page.
Usage
import { Link } from '@smartui/react';
import '@smartui/react/styles.css';When to use
- Moving to another page or site.
When not to use
- Triggering an action. Use a ghost Button.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
href | string | - | |
isExternal | boolean | false | Opens a new tab and adds an arrow icon. |
Accessibility
- The label should make sense out of context. Avoid "click here".