A React component library for creating stunning holographic sticker effects. Interactive, customizable, and performant.
npm install holographic-sticker
- 🌈 Holographic Effects - Create stunning holographic sticker animations
- 🎮 Interactive Controls - Built-in controls for customizing effects
- 🗺️ Minimap - Visual minimap for navigation
- 🎨 Customizable Patterns - Support for custom textures and masks
- ⚡ Performance Optimized - Smooth animations with efficient rendering
- 📱 Responsive - Works across all device sizes
import HolographicSticker from "holographic-sticker";
export default function MySticker() {
return (
<HolographicSticker.Root>
<HolographicSticker.Controls />
<HolographicSticker.Minimap />
<HolographicSticker.Scene>
<HolographicSticker.Card className="border border-white rounded-2xl">
<HolographicSticker.ImageLayer
src="/your-image.png"
alt="Sticker"
objectFit="contain"
/>
<HolographicSticker.Pattern
maskUrl="/your-mask.png"
maskSize="contain"
textureUrl="https://assets.codepen.io/605876/figma-texture.png"
textureSize="6cqi"
mixBlendMode="hard-light"
opacity={0.7}
>
<HolographicSticker.Refraction intensity={2} />
</HolographicSticker.Pattern>
</HolographicSticker.Card>
</HolographicSticker.Scene>
</HolographicSticker.Root>
);
}
First, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
Open http://localhost:3000 to see the examples and documentation.
The project includes several example implementations:
- Lightning Sticker - Lightning holographic effect with mask patterns and refraction
- OG Sticker - Inspired by @jh3yy's original holographic card design
- Lawted Sticker - Custom sticker implementation
This project is inspired by @jh3yy's incredible holographic card design. All inspiration and foundation code comes from this original work.
- React 19
- Next.js 15
- TypeScript
- Tailwind CSS
- CSS Animations