Skip to main content

Link

Navigation

Link

Themed link primitive that works across native and web targets.

Usage

Use anywhere inline navigation is required within rich text.

Highlights

  • Token-based coloring
  • Handles external vs internal routing props

When to use it

  • You need consistent link styling in Markdown-rendered text.
  • Navigation must respect React Navigation or web anchors.

Examples​

Default​

Preview (Web)
import { Link } from 'react-native-molecules/components/Link';

export default function Example() {
  return <Link href="https://google.com">Visit Google</Link>;
}
PropTypeDefaultDescription
disabledboolean | undefined——
hrefstring | undefined——
Defined in react-native-molecules/components/Link