Anchor

Display link with theme styles

Import

Anchor component props

NameTypeDescription
colorMantineColor@deprecated Use c prop instead
gradientMantineGradientGradient configuration, ignored when variant is not gradient, theme.defaultGradient by default
inheritbooleanDetermines whether font properties should be inherited from the parent, false by default
inlinebooleanSets line-height to 1 for centering, false by default
lineClampnumberNumber of lines after which Text will be truncated
sizeMantineSize | (string & {})Controls font-size and line-height, 'md' by default
truncateTextTruncateSide on which Text must be truncated, if true, text is truncated from the start
underline"always" | "hover" | "not-hover" | "never"Determines in which cases link should have text-decoration: underline styles, hover by default