Anchor
Installation
yarn add @vtex/admin-ui
import { Anchor } from '@vtex/admin-ui'
Customization
You can use the csx
property to customize any style.
Props
Name | Type | Description | Required | Default |
---|---|---|---|---|
children | ReactNode | Component children | 🚫 | - |
csx | StyleProp | Defines component styles | 🚫 | {} |
The Anchor component also has all anchor HTML attributes
Do’s
- Use them for inline, text links. When user needs to take an action, switch for the Button component.
- Use normal and medium weights when outside a paragraph. Designers can choose which one is the best depending on the context and layout.
- Link should be added to the word or phrase that reflects the title of the page it will be redirected.
- If you are linking a Help Center article, use the same title of the article.
👉 For UX Writing guidelines, access https://uxwriting.vtex.com