Anchor
Anchor is an abstraction/style that can/is applied to HTML anchor elements. Consumers of this component can control, the color, size, weight, and spacing of the Anchor. Use this component to create text or element based anchors around other HTML tags or React Components.
- On this page
Properties
href
The path to link this anchor to.
string
size
Controls the size of the link based on pre-configured Dracula UI sizes.
"md" | "lg" | "sm" | "xs"
weight
Controls the weight of the link.
"normal" | "semibold" | "bold"
color
Controls the color of the link
"purpleCyan" | "yellowPink" | "cyanGreen" | "pinkPurple" | "cyan" | "green" | "orange" | "pink" | "purple" | "red" | "yellow" | "white" | "black" | "blackSecondary" | "blackLight"
hoverColor
Controls the color of the link on hover
"purpleCyan" | "yellowPink" | "cyanGreen" | "pinkPurple" | "cyan" | "green" | "orange" | "pink" | "purple" | "red" | "yellow" | "white" | "black" | "blackSecondary" | "blackLight"
isExternal
Whether or not to apply external link props such as `target="_blank"` and `rel="noopener noreferrer"`
boolean