Link

Links look like links: text color with a grey underline that takes the text color on hover.

View source

Applications authenticate with a key. Read how keys work before you create one.

import { Link } from "@logicplanes/kaeso-ui";

Props

  • children
    ReactNode

    The link's text.

  • external
    boolean

    Opens in a new tab, adds rel and a 14px ↗. Detected from the href when not set.

  • href
    string

    The address the link goes to.

  • variant
    "heading" | "inline" | "quiet" | "card" | "action" | "standalone" = inline

    Underlined in text (inline) or on a line of its own under a form, with a touch target a finger can hit (action), secondary until hovered in footers and lists (quiet), on its own line in full text that steps back on hover (standalone), inside a heading that links to itself (heading), or as a page to read next on a cut plate, its name strong and a sentence under it (card).