Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
hy-textgradient
Advanced tools
ReactJS modules are simple but have many advantages, one of which is that you can customize them freely.
npm install hy-textgradient
/* Add - Impport module */
import TextGradient from "hy-textgradient";
/*----*/
const App = () => {
return (
<div>
/* Add - Default components */
<TextGradient colors={["#ff0000", "#ffff00", "#00ff00"]} >
Your Text To Gradient Here
</TextGradient>
/*----*/
</div>
);
};
export default App;
Atribute | Key | Description | Status |
---|---|---|---|
colors="key?" | {["#ff0000", "#ffff00", "#00ff00"]} | Customize color, 2+ colors supported | required |
direction="key?" | horizontal vertical diagonal-left diagonal-right none | Customize gradient direction | optional |
decoration="key?" | underline overline line-through none | Customize text decoration | optional |
style="key?" | normal bold italic | Customize text style | optional |
size="key?" | normal s m x xl xxl xxl | Customize text size | optional |
font="key?" | Name font family Support all web font | Customize font style | optional |
className="key?" | Support variable css | Customize with css | optional |
<TextGradient className="" colors={["#ff0000", "#ffff00", "#00ff00"]} size="xxl" style="bold" decoration="underline" direction="diagonal-left" font="Arial">
Your Text To Gradient Here
</TextGradient>
Happy Coding :)
FAQs
Text Gradient Full Customized for React JS.
We found that hy-textgradient 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.
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
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.