More Premium Hugo Themes Premium React Themes

React Obfuscate Email

Hide email addresses from bots

React Obfuscate Email

Hide email addresses from bots

Author Avatar Theme by mauriciorobayo
Github Stars Github Stars: 21
Last Commit Last Commit: Aug 10, 2025 -
First Commit Created: Apr 29, 2023 -
React Obfuscate Email screenshot

Overview:

React Obfuscate Email is a lightweight email obfuscator React component. It allows users to hide email addresses on websites from email scraping bots, by dynamically rendering the email address with an obfuscated format that can only be understood by human users. This component is written in TypeScript and includes type definitions.

Features:

  • Lightweight: React Obfuscate Email is designed to be lightweight and efficient, minimizing the impact on the overall performance of the website.
  • Email Obfuscation: The component obfuscates email addresses by stripping out the “@” symbol and replacing it with a css pseudo-element. This ensures that the email address is not recognizable by email scraping bots.
  • Hover and Focus: The obfuscated email address is only revealed when the user hovers over or focuses on the link. This provides an additional layer of protection against email scraping.

Installation:

To install React Obfuscate Email, you can follow these steps:

  1. Open your terminal and navigate to your React project directory.
  2. Run the following command to install the package using npm:
npm install react-obfuscate-email
  1. After the installation is complete, you can import the component into your project:
import ReactObfuscateEmail from "react-obfuscate-email";
  1. You can then use the component in your JSX code:
<ReactObfuscateEmail email="example@example.com" />
  1. Don’t forget to replace “example@example.com” with your actual email address.

Summary:

React Obfuscate Email is a useful React component for obfuscating email addresses on websites. It provides a lightweight solution for protecting email addresses from email scraping bots. By dynamically rendering the email address with an obfuscated format, the component ensures that only human users can understand and interact with the email address. The installation process is straightforward, and the component includes type definitions for TypeScript users.