Link
Native Solid 2 fork. Original documentation and designs © WorkOS; historical posts retain their original context.
API Reference
This component is based on the a element and supports common margin props.
Examples
Size
Use the size prop to control the size of the link. The prop also provides correct line height and corrective letter spacing—as text size increases, the relative line height and letter spacing decrease.
Weight
Use the weight prop to set the text weight.
Truncate
Use the truncate prop to truncate text with an ellipsis when it overflows its container.
Color
Use the color prop to assign a specific color.
High-contrast
Use the highContrast prop to increase color contrast with the background.
Underline
Use the underline prop to manage the visibility of the underline affordance.