Teseor CSS

v2.5.2

  • Home
Guides
  • Getting Started
  • Theming
  • Token Architecture
  • Accessibility
Foundation
  • Colors
  • Design Tokens
  • Grid System
  • Root
  • Spacing
  • Typography
Layout
  • Aspect Ratio
  • Box
  • Center
  • Column
  • Container
  • Content
  • Footer
  • Grid
  • Layout
  • Main
  • Nav Rail
  • Page Header
  • Row
  • Sidebar
  • Sidebar Nav
  • Topbar
Components
  • Actions
    • Button
  • Forms
    • Checkbox
    • Field
    • Fieldset
    • Form
    • Form Error
    • Form Helper
    • Input
    • Label
    • Number Input
    • Password Input
    • Radio
    • Search Input
    • Select
    • Slider
    • Textarea
    • Toggle
  • Data Display
    • Avatar
    • Badge
    • Card
    • Data List
    • Icon
    • Image
    • Stat
    • Status
    • Table
    • Tag
  • Feedback
    • Alert
    • Progress
    • Skeleton
    • Spinner
    • Toast
  • Navigation
    • Breadcrumb
    • Dropdown Menu
    • Menu
    • Nav
    • Pagination
    • Tabs
  • Overlays
    • Dialog
    • Drawer
    • Modal
    • Overlay
    • Popover
    • Tooltip
  • Disclosure
    • Accordion
    • Disclosure
  • Content
    • Divider
    • Scroll Area
    • Spacer
Typography
  • Blockquote
  • Code
  • Heading
  • Kbd
  • Link
  • List
  • Mark
Utilities
  • Container
  • Debug
  • Display
  • Position
  • Scroll Animation
  • Scroll Snap
  • Spacing
  • Text
  • View Transition
  • Visually Hidden

Link

Styled anchor element for text links with consistent hover and focus states.

Default

Default link

Base

ClassDescription
.ui-linkBase class

Variant

ClassValue
.ui-link--mutedmuted
.ui-link--subtlesubtle

Disabled

ClassDescription
.ui-link--disableddisabled

External

ClassDescription
.ui-link--externalexternal

Override these CSS custom properties to customize the component.

TokenDefaultDescription
--ui-link-color var(--ui-color-primary) Text color
--ui-link-color-hover var(--ui-color-primary-hover) Color hover
--ui-link-color-visited var(--_color) Color visited
--ui-link-decoration underline Decoration
--ui-link-decoration-hover underline Decoration hover
--ui-link-color-muted var(--ui-color-text-muted) Color muted
--ui-link-color-muted-hover var(--ui-color-text) Color muted hover

Muted Variant

Muted link
<!-- For secondary or less prominent links -->
<a class="ui-link ui-link--muted" href="#">Muted link</a>

Subtle Variant

Subtle link
<!-- No underline by default, shows on hover -->
<a class="ui-link ui-link--subtle" href="#">Subtle link</a>

External Link

External link
<!-- Adds arrow indicator for external links -->
<a class="ui-link ui-link--external" href="#">External link</a>

Disabled

Disabled link
<a class="ui-link ui-link--disabled" href="#" aria-disabled="true">Disabled link</a>

In Context

Read our privacy policy for more information.

<!-- Links inherit text size from context -->
<p style="font-size: var(--ui-size-sm);">
Read our 
  <a class="ui-link" href="#">privacy policy</a>
 for more information.
</p>