MiHCM
navigation/@mihcm/ui·v0.21.0·stable

Link

Semantic navigation and reference primitive. Seven variants, safe external-link defaults, and tokenized Tailwind overrides. Universal across web and native.

Accessibility

  • Web renders a real <a> element, so browser link semantics, context menus, and assistive technology navigation work normally.
  • Do not omit href for navigable links.
  • Native renders a pressable with accessibilityRole="link".
  • External links get rel="noopener noreferrer" by default when external is true.
  • Link labels must describe the destination. Avoid "click here" or "learn more" without surrounding context.
  • Focus styles use focus-visible:ring-ring; do not remove them without an equivalent visible focus treatment.