Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
glitch-text
Advanced tools
[![NPM](https://img.shields.io/npm/v/glitch-text.svg)](https://www.npmjs.com/package/glitch-text) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com) ![NPM](https://img.shields.io/npm/l/g
react
🔮(1kB)
react component can help you add text glitch animation
and have some really cool themes, like orange glitch or blue glitch
npm i glitch-text
---
yarn add glitch-text
// don't forget change props
import { GlitchText } from 'glitch-text';
// orange theme by default
const App = () => {
return (
<div style={{ fontSize: '70px' }}>
<GlitchText theme='orange' text={'There are your text'} />
</div>
);
};
Text fully customazible but try use parents tags for styling
props | required | default | description |
---|---|---|---|
text(string) | yes | - | text where you want use glitch animation |
theme(string) | yes | orange | glitch color |
FAQs
[![NPM](https://img.shields.io/npm/v/glitch-text.svg)](https://www.npmjs.com/package/glitch-text) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com) ![NPM](https://img.shields.io/npm/l/g
We found that glitch-text demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.