Anchor
Import
import { VKAnchor } from "@vivakits/react-components";
Size
The Anchor component comes with 6 different sizes that you can change using the size
prop.
Color
The Anchor component comes with 7 different colors that you can change using the color
prop.
Underline
The Anchor component comes with 3 different underlines that you can change using the underline
prop.
API Reference
Attribute | Type | Description | Default |
---|---|---|---|
size | defaultxssmmdlgxl2xl | Changes font size on anchor text | default |
color | defaultprimarysecondarysuccessdangerwarningdarklight | Changes anchor color | primary |
fontFamily | defaultprimarysecondary | Changes font family on anchor text | primary |
underline | nonehoveralways | Underlines the anchor text | none |