Pular para o conteúdo

Link

Este conteúdo não está disponível em sua língua ainda.

The Link component is used to navigate between pages, routes, or sections while maintaining consistent styling and accessibility across the application.

  • Navigation-ready: Supports internal and external navigation.
  • Accessible by default: Uses semantic anchor behavior.
  • Customizable styling: Easily adapted to match design systems.
  • Flexible usage: Can be used inline or as standalone navigation elements.

none

underline heart

left

center

right

Lorem ipsum dolor sit amet consectetur adipisicing elit. Maxime voluptatibus pariatur maiores cumque obcaecati, eum quod porro harum magni quisquam sunt nihil, eos modi officia molestiae. Illum minima ad ducimus.

check active 1 check active 2
PropTypeDefaultDescription
hrefstringURL to navigate to. Used for standard anchor navigation.
pathnamestringEnables active route detection based on current path.
hover"left" | "center" | "right" | "underlineNone""left"Defines hover animation style.
targetstring"_self"Specifies where to open the link (e.g. _blank).
classstring | functionCustom class or function receiving { isActive } for dynamic styling.
styleobject | functionInline styles or function receiving { isActive } for dynamic styling.
childrennodeContent rendered inside the link.
  • Prefer pathname when you need active route detection.
  • Use href for simple navigation without route awareness.
  • Avoid overloading links with heavy content inside inline text.
  • Ensure hover styles remain accessible and readable.
  • Use icons sparingly to support meaning, not replace text.