
Security News
Free Certified Patch for Critical Rails Active Storage Vulnerability
Socket has released a free Certified Patch for a critical Rails Active Storage vulnerability, giving developers time to upgrade to a secure Rails version.
react-animated-highlighter
Advanced tools
Animated text highlighter component for React with GSAP animations
An animated text highlighter component for React with smooth GSAP animations. Perfect for hero sections, landing pages, and attention-grabbing text effects.
npm install react-animated-highlighter gsap
import { AnimatedHighlighter } from 'react-animated-highlighter';
function App() {
return (
<h1>
Welcome to <AnimatedHighlighter text="My Website" />
</h1>
);
}
| Prop | Type | Default | Description |
|---|---|---|---|
text | string | required | The text to highlight |
color | string | '#6ca0dc' | Highlight color |
fontSize | string | '30px' | Font size of the text |
className | string | '' | Additional CSS class |
showIcon | boolean | true | Show the highlighter icon during animation |
highlightOpacity | number | 0.3 | Opacity of the highlight (0-1) |
duration | number | 1.5 | Animation duration in seconds |
delay | number | 0 | Delay before animation starts |
replayOnHover | boolean | false | Replay the animation on hover |
<AnimatedHighlighter
text="Important!"
color="#f59e0b"
/>
<AnimatedHighlighter
text="Take your time"
duration={3}
delay={0.5}
/>
<AnimatedHighlighter
text="Subtle highlight"
showIcon={false}
highlightOpacity={0.2}
/>
<AnimatedHighlighter
text="Hover me!"
replayOnHover={true}
/>
<h1 className="text-5xl font-bold">
Ship products with{' '}
<AnimatedHighlighter
text="zero friction"
color="#10b981"
fontSize="inherit"
duration={2}
/>
</h1>
| Color | Hex | Use Case |
|---|---|---|
| Blue | #6ca0dc | Default, professional |
| Emerald | #10b981 | Success, growth |
| Amber | #f59e0b | Warning, attention |
| Rose | #f43f5e | Important, urgent |
| Purple | #8b5cf6 | Creative, premium |
This package includes a CLAUDE.md file with detailed instructions for AI coding assistants (Claude, GPT, Copilot, etc.). When you ask an AI to integrate this package into your project, it can read these instructions to provide accurate, copy-paste ready code.
The AI instructions cover:
MIT © Ben Jammin
FAQs
Animated text highlighter component for React with GSAP animations
The npm package react-animated-highlighter receives a total of 7 weekly downloads. As such, react-animated-highlighter popularity was classified as not popular.
We found that react-animated-highlighter demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Security News
Socket has released a free Certified Patch for a critical Rails Active Storage vulnerability, giving developers time to upgrade to a secure Rails version.

Security News
/Threat Research
A malicious Ruby gem runs a credential-stealing worm during installation, poisons AI coding tools, and can wipe files when a stolen GitHub token is revoked.

Security News
GitHub is tightening GitHub Actions security with new restrictions on privileged pull request workflows. Here's what changes and how maintainers are affected.