Skip to content

Link

CSS

A link goes somewhere: another page, a hash, or an external URL. If the click stays on this page, use a button.

The element is an <a> with .k-link. It’s orange and underlined. Hover darkens it. Keep the underline. Color alone isn’t enough to mark a link.

There’s no disabled class. aria-disabled="true" when the destination is gone; the kit kills pointer events and the underline.

ClassTypeDescription
k-linkcomponentGoes on an a. Orange and underlined; keep the underline. There is no disabled class. Use aria-disabled="true".

A text link. The href is yours.

<a class="k-link" href="/getting-started/">Read the guide</a>

Use a real <a> with an href. Color isn’t the only cue; the underline stays. aria-disabled="true" removes pointer events and the underline. Take it out of the tab order too, or explain nearby why it’s still sitting there.

Do

  • Use a real <a> with an href.
  • Keep the underline.
  • Use a button for an action on this page.

Don’t

  • Style a span or div as a link.
  • Drop the underline.
  • Use a link as a button.