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

hy-textgradient

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hy-textgradient

Text Gradient Full Customized for React JS.

  • 1.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Text Gradient for React v.1.0.2

ReactJS modules are simple but have many advantages, one of which is that you can customize them freely.

Installation

npm install hy-textgradient

Example Project Implemented

// 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;

Customization

AtributeKeyDescriptionStatus
colors="key?"{["#ff0000", "#ffff00", "#00ff00"]}Customize color, 2+ colors supportedrequired
direction="key?"horizontal vertical diagonal-left diagonal-right noneCustomize gradient directionoptional
decoration="key?"underline overline line-through noneCustomize text decorationoptional
style="key?"normal bold italicCustomize text styleoptional
size="key?"normal s m x xl xxl xxlCustomize text sizeoptional
font="key?"Name font family Support all web fontCustomize font styleoptional
className="key?"Support variable cssCustomize with cssoptional

Full Customization

<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 :)

Keywords

FAQs

Package last updated on 06 Mar 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