Skip to main content

Link

Usage

View Docs
function LinkUsage() {
return (
<View>
<Link
title="View Docs"
href="https://docs-react-native-blossom-ui.vercel.app/"
/>
</View>
)
}

With Text

Explore
Documentation
of Blossom UI
Don't have an account?
Create Account
Click here
to view more
function LinkWithText() {
return (
<View>
<Link
leftText="Explore"
title="Documentation"
rightText="of Blossom UI"
href="https://docs-react-native-blossom-ui.vercel.app/"
/>
<Link
leftText="Don't have an account?"
title="Create Account"
href="https://google.com"
/>
<Link
title="Click here"
rightText="to view more"
href="https://google.com"
/>
</View>
)
}

Custom

Awesome
Blossom UI
Library
function LinkCustom() {
return (
<View>
<Link
leftText={<Text status="warning">Awesome </Text>}
rightText={<Text status="success">Library</Text>}
title="Blossom UI "
href="https://docs-react-native-blossom-ui.vercel.app/"
style={{
color: 'blue',
}}
/>
</View>
)
}

Props

PropData TypeDefault ValueDescription
ExtendsTextProps--Inherits properties from TextProps
leftTextReactNode--Set the left side of the text
rightTextReactNode--Set the left side of the text
titlestring--Set the link label to show
hrefstring--Set the href url for link
typographyTypographyOptionsb2Typography option to control the size of the text