Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@react-email/link

Package Overview
Dependencies
Maintainers
3
Versions
15
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.9
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
412K
increased by2.87%
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

FAQs

Package last updated on 23 Jul 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc