CSC Design System next
VueFlavour Vue React Angular TypeScript PrimaryCSC UI ColorsPrimarySecondaryAccentCustom ColorsRedOrangeGreenBluePurplePink
Guides Getting started Customization Data visualization Migration guide Componentsc-accordionc-alertc-autocompletec-badgec-buttonc-button-groupc-cardc-checkboxc-csc-logoc-data-tablec-dividerc-iconc-icon-buttonc-inputc-linkc-listc-loaderc-login-buttonsc-login-cardc-mainc-menuc-messagec-modalc-navigation-buttonc-otp-inputc-pagec-paginationc-popoverc-progress-barc-progress-circlec-radio-groupc-selectc-side-navigationc-sliderc-spinnerc-statusc-stepsc-switchc-tablec-tabsc-tagsc-text-fieldc-toastsc-toolbarc-tooltip

<c-link>

Basic hyperlink component

Examples

API reference

Basic hyperlink component

PropertyAttributeTypeDefaultDescription
hrefhrefstring''Url of link
targettargetstring''regular target attribute of a hyperlink
underlineunderlinebooleanfalseDisplay line under the link
weightweightnumber | string'600'Customisable font weight
SlotDescription
defaultThe visible content of the link

Style from outside with c-link::part(name) — parts are the library's only styling customization API.

PartDescription
rootThe native `<a>` element carrying the link styling