
Security News
PodRocket Podcast: Inside the Recent npm Supply Chain Attacks
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
A React component library for beautiful paint effects and gradient text styling, featuring 189+ unique effects scraped from 7tv.app.
A React component library for beautiful paint effects and gradient text styling, featuring 189+ unique effects scraped from 7tv.app.
Experience all 189+ paint effects with dynamic gradient scaling! Click any effect to see it in action across different font sizes. Test the Factory Error effect to see the sick ass X and Y axis scaling system developed by our vibe coding team.
npm install 7tv-styles
import React from 'react'
import { PaintTreeShakeable as Paint } from '7tv-styles/tree-shakeable'
import { summer, rainbow, fireAndIce } from '7tv-styles/effects'
function App() {
return (
<div>
<Paint effectStyle={summer}>Summer Vibes</Paint>
<Paint effectStyle={rainbow}>Rainbow Magic</Paint>
<Paint effectStyle={fireAndIce}>Fire & Ice</Paint>
</div>
)
}
import React from 'react'
import { Paint } from '7tv-styles'
function App() {
return (
<div>
<Paint effect="summer">Summer Vibes</Paint>
<Paint effect="rainbow">Rainbow Magic</Paint>
<Paint effect="fire-and-ice">Fire & Ice</Paint>
</div>
)
}
This library includes 189+ paint effects:
summer
, halloween-fever
, easter-candy
, spring-flowers
, autumn-forest
hamburger
, latte-macchiato
, avocado
, watermelon-slice
, pineapple
lavender-field
, coral-reef
, sunflower
, forest-spring
, beach-please
warlock
, spaceship
, enchanted
, supernova
, elder-dragon
vaporwave
, nuclear-waste
, factory-error
, cyber-optics
, tie-dye
<Paint effect="effect-name" {...props}>
Your text here
</Paint>
effect
(string): The paint effect to applychildren
(ReactNode): The text content to style...props
: Any additional props are passed to the underlying <span>
element<Paint effect="prismatic">Prismatic Text</Paint>
<Paint effect="nightclub">Nightclub Vibes</Paint>
<Paint effect="tropical">Tropical Paradise</Paint>
// Import only the effects you need
import { PaintTreeShakeable as Paint } from '7tv-styles/tree-shakeable'
import { kawaii, vaporwave, factoryError } from '7tv-styles/effects'
// Use with custom styling
<Paint
effectStyle={kawaii}
style={{ fontSize: '48px', fontWeight: 'bold' }}
>
Kawaii Style!
</Paint>
// Multiple effects in one component
function EffectShowcase() {
return (
<div>
<Paint effectStyle={vaporwave}>Vaporwave Vibes</Paint>
<Paint effectStyle={factoryError}>Factory Error</Paint>
</div>
)
}
<Paint
effect="kawaii"
style={{ fontSize: '48px', fontWeight: 'bold' }}
>
Kawaii Style!
</Paint>
import React, { useState } from 'react'
import { Paint } from '7tv-styles'
function InteractiveDemo() {
const [selectedEffect, setSelectedEffect] = useState('summer')
const effects = ['summer', 'rainbow', 'fire-and-ice', 'tropical']
return (
<div>
<Paint effect={selectedEffect} style={{ fontSize: '32px' }}>
{selectedEffect.toUpperCase()} EFFECT
</Paint>
{effects.map(effect => (
<button key={effect} onClick={() => setSelectedEffect(effect)}>
{effect}
</button>
))}
</div>
)
}
The library features a sick ass dynamic scaling system developed by our vibe coding team that automatically scales gradient properties based on both element dimensions and font size to maintain consistent visual impact across different text sizes. This ensures that paint effects look absolutely fire whether applied to small labels or massive headings.
Our mathematical scaling algorithms adjust gradients across both X and Y axes:
// All these will have perfectly scaled gradients that maintain their visual impact
<Paint effect="factory-error" style={{ fontSize: '12px' }}>Small striped text</Paint>
<Paint effect="factory-error" style={{ fontSize: '24px' }}>Medium striped text</Paint>
<Paint effect="factory-error" style={{ fontSize: '48px' }}>Large striped text</Paint>
The scaling happens automatically with zero configuration - just pure vibes! ✨
getBoundingClientRect()
cd examples
npm install
npm run dev
Visit http://localhost:3000
to see all 189 paint effects in action with an interactive demo.
npm run build
npm run lint
npm run lint:fix
git checkout -b feature/amazing-feature
)git commit -m 'Add amazing feature'
)git push origin feature/amazing-feature
)ISC License - see LICENSE file for details.
Paint effects scraped from 7tv.app. All credit goes to the 7TV team and community for creating these beautiful effects.
Special shoutout to our vibe coding team for developing the sick ass dynamic gradient scaling system that makes these effects look absolutely fire at any size! 🔥✨
The mathematical scaling algorithms and multi-dimensional gradient adjustment system were crafted with pure coding vibes to ensure every paint effect maintains its visual impact across all text sizes.
FAQs
A React component library for beautiful paint effects and gradient text styling, featuring 189+ unique effects scraped from 7tv.app.
We found that 7tv-styles 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
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.