1.0.3 • Published 3 years ago
cyber-punk-text v1.0.3
CyberPunk
A Cyberpunk 2077 inspired text effect for your website
Installation
npm install cyber-punk-text
Usage
NPM
<script type="module">
import 'cyber-punk-text';
</script>
<cyber-punk>Hello there, V.</cyber-punk>
CDN
<script type="module" src="https://unpkg.com/cyber-punk-text@1.0.1/src/cyber-punk.js"></script>
<cyber-punk>Hello there, V</cyber-punk>
Attributes
Name | Effect |
---|---|
red | Make the text red, instead of the default blue |
fadein | Fade the text in in a slight animation |
glitch | Glitch the text out when rendering |