Anchor
Link to external websites on web and native
Features
Supports SSR.
Works on native and web.
Accepts Tamagui style props.
Usage
The Anchor component provides a way to link to external websites. It extends SizableText, adding the href, target, and rel attributes.
On native, it will use React Native Linking.openURL, on web it will render to an a element with href set appropriately.
API Reference
Anchor
Inherits Tamagui props as well as:
Props
href
string
Location to link to.
target
string
rel
string
Previous
Square & Circle
Next
HTML Elements