Link
Links allow users to navigate to a different location. They can be presented inside a paragraph or as standalone text.
| Property | Values | Default value | Required |
|---|---|---|---|
| variant | primary / secondary | primary | |
| is quiet | yes / no | no | |
| static color | white / black Static color must not be set for the default version of this component. | ||
| state | default / hover / down / keyboard focus | default |
{
"slug": "link",
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/component.json",
"$id": "https://opensource.adobe.com/spectrum-design-data/schemas/components/link.json",
"title": "Link",
"description": "Links allow users to navigate to a different location. They can be presented inside a paragraph or as standalone text.",
"meta": {
"category": "actions",
"documentationUrl": "https://spectrum.adobe.com/page/link/"
},
"type": "object",
"properties": {
"variant": {
"type": "string",
"enum": [
"primary",
"secondary"
],
"default": "primary"
},
"isQuiet": {
"type": "boolean",
"default": false
},
"staticColor": {
"type": "string",
"enum": [
"white",
"black"
],
"description": "Static color must not be set for the default version of this component."
},
"state": {
"type": "string",
"enum": [
"default",
"hover",
"down",
"keyboard focus"
],
"default": "default"
}
}
}