๐Ÿš€ Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more โ†’
Socket
Book a DemoInstallSign in
Socket

@react-email/link

Package Overview
Dependencies
Maintainers
3
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-email/link

A hyperlink to web pages, email addresses, or anything else a URL can address

0.0.12
latest
Source
npm
Version published
Weekly downloads
873K
2.34%
Maintainers
3
Weekly downloads
ย 
Created

What is @react-email/link?

@react-email/link is a React component library designed to simplify the creation of email links in React applications. It provides a straightforward way to generate email-friendly links with customizable properties, ensuring compatibility and ease of use.

What are @react-email/link's main functionalities?

Basic Link Creation

This feature allows you to create a basic hyperlink that can be used in an email. The `href` attribute specifies the URL the link points to, and the text between the tags is the clickable text.

<Link href="https://example.com">Click here</Link>

Customizable Link Text

This feature allows you to customize the appearance of the link text using inline styles. In this example, the link text is styled to be blue and without an underline.

<Link href="https://example.com" style={{ color: 'blue', textDecoration: 'none' }}>Visit our site</Link>

Tracking Links

This feature allows you to add custom data attributes to the link for tracking purposes. The `data-tracking-id` attribute can be used to track user interactions with the link.

<Link href="https://example.com" data-tracking-id="12345">Trackable Link</Link>

Other packages similar to @react-email/link

Keywords

react

FAQs

Package last updated on 03 Dec 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts