premium-landing-effects
Skill2 starsChanged 6 months agoMITView on GitHub
Premium visual effects library for world-class SaaS landing pages. Covers mesh gradients, meteors, spotlight cursor, border beams, aurora, noise textures, glassmorphism, 3D tilt, animated gradient text, and number ticker. Copy-paste React/Tailwind/Framer Motion code, sourced from Aceternity UI and MagicUI, adapted for Tailwind v4 and Hebrew RTL. Use whenever the user asks for landing-page effects that feel "like Linear / Vercel / Framer / Stripe" — never one effect in isolation, always stack 3–4 layered at low opacity. Triggers on requests for "premium effects", "glow", "mesh gradient", "meteors", "parallax", "make it feel expensive", "Linear-like", "Vercel-like".
In this repository15 other files it gives its agents.
- app-foundationsSkill
- brand-guidelinesSkill
- code-reviewerSkill
- content-templatesSkill
- design-md-librarySkill
- hebrew-business-docsSkill
- image-genSkill
- logo-creatorSkill
- marketing-copywriterSkill
- production-security-auditSkill
- scroll-videoSkill
- seo-launchpadSkill
- skill-creatorSkill
- ui-ux-pro-maxSkill
- visual-generatorSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
13 rules. About 0 are common, 6 are distinctive, and 7 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 21
If a section feels flat, the fix is usually to add another subtle layer (~5–15% opacity) rather than crank the existing layer higher.
- Very specific: line 24
Always add pointer-events-none to decorative overlays
- Very specific: line 25
Always will-change: transform on animated transforms
- Very specific: line 26
Always respect prefers-reduced-motion — wrap in useReducedMotion() from motion/react
- Distinctive: line 27
Keep the base color palette simple (near-black bg, near-white text).
- Very specific: line 31
All animations below register as animate-<name> utilities.
- Very specific: line 104
NOT a solid background + filter: blur.
- Very specific: line 148
RTL: use [dir="rtl"] .animate-meteor { transform: rotate(145deg).
- Distinctive: line 285
No React state — writes CSS vars on mousemove.
- Very specific: line 314
Pro move: put onMouseMove on the parent grid and write --mx/--my on each child — you get the Tailwind Plus "one spotlight illuminating many …
- Distinctive: line 464
Instead of hand-copying, you can pull these directly:
- Distinctive: line 485
When applying these to a Hebrew / Arabic / Persian site:
- Distinctive: line 497
If effects look "flat" or missing, check in order:
≈ “Common” is an estimate: at least 1 in 5 of the 364,980 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Premium Landing Page Effects
This skill codifies 10 copy-paste effects used by world-class SaaS landing pages. Each
comes with a concrete React + Tailwind + Framer Motion implementation verified against
the source code of Aceternity UI (ui.aceternity.com/components) and MagicUI
(magicui.design) registries.
Core philosophy (META — read first)
Layer 3–4 effects at low opacity, never apply one in isolation.
- Linear hero = mesh gradient + noise + spotlight + animated gradient text
- Vercel hero = mesh gradient + meteors + noise + conic-border cards
- Framer hero = mesh gradient + aurora + spotlight + 3D tilt
If a section feels flat, the fix is usually to add another subtle layer (~5–15% opacity) rather than crank the existing layer higher. Rules:
- Always add
pointer-events-noneto decorative overlays - Always
will-change: transformon animated transforms - Always respect
prefers-reduced-motion— wrap inuseReducedMotion()frommotion/react - Keep the base color palette simple (near-black bg, near-white text); the accents are the effects
Tailwind v4 setup
All animations below register as animate-<name> utilities. Put keyframes in globals.css,
declare the utility in @theme:
@theme {
--animate-blob: blob 18s ease-in-out infinite;
--animate-meteor: meteor 5s linear infinite;
--animate-aurora: aurora 60s linear infinite;
--animate-gradient: gradient 8s linear infinite;
--animate-shimmer: shimmer 2s linear infinite;
}
@keyframes blob {
0%, 100% { transform: translate(0, 0) scale(1); }
33% { transform: translate(40px, -60px) scale(1.1); }
66% { transform: translate(-30px, 30px) scale(0.9); }
}
@keyframes meteor {
0% { transform: rotate(215deg) translateX(0); opacity: 1; }
70% { opacity: 1; }
100% { transform: rotate(215deg) translateX(-500px); opacity: 0; }
}
@keyframes aurora {
from { background-position: 50% 50%, 50% 50%; }
to { background-position: 350% 50%, 350% 50%; }
}
@keyframes gradient {
to { background-position: var(--bg-size, 300%) 0; }
}
@keyframes shimmer {
from { background-position: 0 0; }
to { background-position: -200% 0; }
}
@property --angle {
syntax: "<angle>";
initial-value: 0deg;
inherits: false;
}For RTL:
[dir="rtl"] .animate-meteor {
transform: rotate(145deg) translateX(0);
}1. Mesh gradient background (animated)
Used by: Linear hero, Resend pricing, Stripe sign-up.
export function MeshGradient() {
return (
<div className="absolute inset-0 -z-10 overflow-hidden">
<div className="absolute -top-1/4 -left-1/4 h-[600px] w-[600px] rounded-full
bg-[radial-gradient(circle_at_center,#6d28d9,transparent_60%)]
blur-3xl animate-blob" />
<div className="absolute top-1/3 right-0 h-[500px] w-[500px] rounded-full
bg-[radial-gradient(circle_at_center,#0ea5e9,transparent_60%)]
blur-3xl animate-blob [animation-delay:-4s]" />
<div className="absolute bottom-0 left-1/3 h-[500px] w-[500px] rounded-full
bg-[radial-gradient(circle_at_center,#ec4899,transparent_60%)]
blur-3xl animate-blob [animation-delay:-8s]" />
</div>
);
}The key detail is radial-gradient(circle at center, color, transparent 60%) —
NOT a solid background + filter: blur. The radial gradient creates the proper falloff.
blur-3xl smooths the edges further.
2. Meteors / shooting stars
Used by: Aceternity demos, Dub.co blog.
"use client";
import { cn } from "@/lib/utils";
export const Meteors = ({ number = 20, className }: {
number?: number; className?: string;
}) => {
const meteors = Array.from({ length: number });
return (
<div className="pointer-events-none absolute inset-0 -z-10 overflow-hidden">
{meteors.map((_, idx) => {
const position = idx * (800 / number) - 400;
return (
<span
key={idx}
className={cn(
"animate-meteor absolute h-0.5 w-0.5 rotate-[45deg] rounded-full bg-slate-400/70",
"before:absolute before:top-1/2 before:h-px before:w-[50px] before:-translate-y-1/2",
"before:bg-gradient-to-r before:from-slate-400 before:to-transparent before:content-['']",
className
)}
style={{
top: "-40px",
left: `${position}px`,
animationDelay: `${Math.random() * 5}s`,
animationDuration: `${Math.floor(Math.random() * 5) + 5}s`,
}}
/>
);
})}
</div>
);
};RTL: use [dir="rtl"] .animate-meteor { transform: rotate(145deg); } — the streaks
enter from the upper-right instead of the upper-left.
3. Rotating conic gradient border (glow beam)
Used by: Vercel dashboard cards, Dub.co, Anthropic feature grid.
Pure CSS via @property --angle + conic-gradient + mask-composite.
export function GlowBorderCard({ children }: { children: React.ReactNode }) {
return (
<div className="relative rounded-2xl p-px glow-beam">
<div className="relative rounded-[15px] bg-[var(--bg)] p-8">{children}</div>
</div>
);
}.glow-beam::before {
content: "";
position: absolute;
inset: 0;
border-radius: inherit;
padding: 1px;
background: conic-gradient(from var(--angle), #6d28d9, #0ea5e9, #ec4899, #6d28d9);
-webkit-mask:
linear-gradient(#000 0 0) content-box,
linear-gradient(#000 0 0);
-webkit-mask-composite: xor;
mask-composite: exclude;
animation: spin 4s linear infinite;
}
@keyframes spin { to { --angle: 360deg; } }4. SVG noise texture overlay
Used by: Framer.com hero, Arc.net pricing, Vercel OG cards.
export function Noise() {
return (
<div
aria-hidden
className="pointer-events-none fixed inset-0 z-[100] opacity-[0.08] mix-blend-overlay"
style={{
backgroundImage: `url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.8 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E")`,
}}
/>
);
}baseFrequency="0.9" is Framer's sweet spot. Lower = chunky; higher = fine grain.
Drop as the last child of <body> — instant "expensive" feel.
5. Premium glassmorphism card
Used by: Apple iCloud, Arc welcome modal, Linear command bar.
Three layered tricks: gradient border via mask, triple inset shadow, top highlight.
export function GlassCard({ children }: { children: React.ReactNode }) {
return (
<div className="relative rounded-2xl p-px
before:absolute before:inset-0 before:rounded-2xl
before:bg-gradient-to-b before:from-white/20 before:to-white/[0.03]
before:[mask:linear-gradient(#000,#000)_content-box,linear-gradient(#000,#000)]
before:[mask-composite:exclude] before:p-px before:pointer-events-none">
<div className="relative rounded-2xl bg-white/[0.04] backdrop-blur-2xl p-8
shadow-[inset_0_1px_0_0_rgba(255,255,255,0.1),inset_0_-1px_0_0_rgba(255,255,255,0.04),0_20px_60px_-20px_rgba(0,0,0,0.5)]">
<div className="pointer-events-none absolute inset-x-10 top-0 h-px
bg-gradient-to-r from-transparent via-white/40 to-transparent" />
{children}
</div>
</div>
);
}6. 3D tilt on hover
Used by: Stripe pricing, Linear features, Apple product cards.
"use client";
import { useRef } from "react";
export function TiltCard({ children }: { children: React.ReactNode }) {
const ref = useRef<HTMLDivElement>(null);
const onMove = (e: React.MouseEvent<HTMLDivElement>) => {
if (!ref.current) return;
const { left, top, width, height } = ref.current.getBoundingClientRect();
const x = (e.clientX - left - width / 2) / 25;
const y = (e.clientY - top - height / 2) / 25;
ref.current.style.transform = `rotateY(${x}deg) rotateX(${-y}deg)`;
};
const onLeave = () => {
if (ref.current) ref.current.style.transform = `rotateY(0) rotateX(0)`;
};
return (
<div style={{ perspective: 1000 }}>
<div
ref={ref}
onMouseMove={onMove}
onMouseLeave={onLeave}
style={{ transformStyle: "preserve-3d" }}
className="relative rounded-2xl bg-neutral-900 p-8 transition-transform duration-200"
>
{children}
</div>
</div>
);
}RTL: flip rotateY sign so the depth illusion tracks expected direction.
7. Spotlight that follows cursor
Used by: Vercel homepage, Linear pricing, Tailwind Plus.
No React state — writes CSS vars on mousemove.
"use client";
import { useRef } from "react";
export function SpotlightCard({ children }: { children: React.ReactNode }) {
const ref = useRef<HTMLDivElement>(null);
const onMove = (e: React.MouseEvent<HTMLDivElement>) => {
if (!ref.current) return;
const r = ref.current.getBoundingClientRect();
ref.current.style.setProperty("--mx", `${e.clientX - r.left}px`);
ref.current.style.setProperty("--my", `${e.clientY - r.top}px`);
};
return (
<div
ref={ref}
onMouseMove={onMove}
className="group relative rounded-2xl border border-white/10 bg-neutral-950 p-8
before:pointer-events-none before:absolute before:inset-0 before:rounded-[inherit]
before:bg-[radial-gradient(500px_circle_at_var(--mx)_var(--my),rgba(109,40,217,0.15),transparent_40%)]
before:opacity-0 hover:before:opacity-100 before:transition-opacity before:duration-500"
>
{children}
</div>
);
}Pro move: put onMouseMove on the parent grid and write --mx/--my on each child
— you get the Tailwind Plus "one spotlight illuminating many cards" effect.
8. Aurora background
Used by: Aceternity Aurora demo, Resend hero, Cursor.com.
"use client";
import { cn } from "@/lib/utils";
export const AuroraBackground = ({
children,
className,
showRadialGradient = true,
}: {
children: React.ReactNode;
className?: string;
showRadialGradient?: boolean;
}) => (
<div className={cn("relative", className)}>
<div className="absolute inset-0 overflow-hidden">
<div
className={cn(
"after:animate-aurora pointer-events-none absolute -inset-[10px] opacity-50 blur-[10px] will-change-transform",
"[background-image:repeating-linear-gradient(100deg,#fff_0%,#fff_7%,transparent_10%,transparent_12%,#fff_16%),repeating-linear-gradient(100deg,#3b82f6_10%,#a5b4fc_15%,#93c5fd_20%,#ddd6fe_25%,#60a5fa_30%)]",
"[background-size:300%,_200%] [background-position:50%_50%,50%_50%]",
"after:absolute after:inset-0 after:[background-image:inherit] after:[background-size:200%,100%] after:mix-blend-difference after:content-['']",
"filter invert",
showRadialGradient &&
"[mask-image:radial-gradient(ellipse_at_100%_0%,black_10%,transparent_70%)]"
)}
/>
</div>
{children}
</div>
);RTL: change ellipse_at_100%_0% → ellipse_at_0%_0% so the brightest corner stays
top-right in RTL pages.
9. Animated gradient text
Used by: Vercel "Ship", Linear changelog, MagicUI.
export function AnimatedGradientText({
children,
speed = 1,
colorFrom = "#ffaa40",
colorTo = "#9c40ff",
className,
}: {
children: React.ReactNode;
speed?: number;
colorFrom?: string;
colorTo?: string;
className?: string;
}) {
return (
<span
style={{ "--bg-size": `${speed * 300}%` } as React.CSSProperties}
className={`animate-gradient inline bg-gradient-to-r
from-[${colorFrom}] via-[${colorTo}] to-[${colorFrom}]
bg-[length:var(--bg-size)_100%] bg-clip-text text-transparent ${className ?? ""}`}
>
{children}
</span>
);
}The key trick is from → via → from (same color at both ends) — makes the gradient
loop seamlessly.
10. Number ticker (count-up on viewport enter)
Used by: Linear metrics, Dub.co stats, virtually every SaaS homepage.
"use client";
import { useEffect, useRef } from "react";
import { useInView, useMotionValue, useSpring } from "motion/react";
export function NumberTicker({
value,
startValue = 0,
delay = 0,
decimalPlaces = 0,
locale = "he-IL",
className,
}: {
value: number;
startValue?: number;
delay?: number;
decimalPlaces?: number;
locale?: string;
className?: string;
}) {
const ref = useRef<HTMLSpanElement>(null);
const motionValue = useMotionValue(startValue);
const springValue = useSpring(motionValue, { damping: 60, stiffness: 100 });
const isInView = useInView(ref, { once: true, margin: "0px" });
useEffect(() => {
if (isInView) {
const t = setTimeout(() => motionValue.set(value), delay * 1000);
return () => clearTimeout(t);
}
}, [isInView, value, delay, motionValue]);
useEffect(
() =>
springValue.on("change", (latest) => {
if (ref.current) {
ref.current.textContent = Intl.NumberFormat(locale, {
minimumFractionDigits: decimalPlaces,
maximumFractionDigits: decimalPlaces,
}).format(Number(latest.toFixed(decimalPlaces)));
}
}),
[springValue, decimalPlaces, locale]
);
return (
<span
ref={ref}
dir="ltr"
className={`inline-block tabular-nums ${className ?? ""}`}
>
{startValue}
</span>
);
}Hebrew RTL quirk: wrap <span dir="ltr"> around the number so "1,234" renders LTR
even inside a RTL paragraph. Use locale="he-IL" for Israeli thousand separators.
Installation via shadcn CLI
Instead of hand-copying, you can pull these directly:
# Aceternity UI
npx shadcn@latest add @aceternity/meteors
npx shadcn@latest add @aceternity/spotlight
npx shadcn@latest add @aceternity/aurora-background
npx shadcn@latest add @aceternity/3d-card-effect
npx shadcn@latest add @aceternity/background-beams
npx shadcn@latest add @aceternity/moving-border
# MagicUI
npx shadcn@latest add "https://magicui.design/r/border-beam.json"
npx shadcn@latest add "https://magicui.design/r/number-ticker.json"
npx shadcn@latest add "https://magicui.design/r/animated-gradient-text.json"
npx shadcn@latest add "https://magicui.design/r/particles.json"
npx shadcn@latest add "https://magicui.design/r/shine-border.json"RTL checklist
When applying these to a Hebrew / Arabic / Persian site:
- Meteors: override
transform: rotate()under[dir="rtl"]to flip streak direction - Aurora: flip the mask radial position from
100%_0%→0%_0% - 3D tilt: negate
rotateYsign so depth tracks expected side - NumberTicker: wrap in
<span dir="ltr">so digits render LTR inside RTL context - Border beam (conic): unchanged (circular rotation)
- Spotlight cursor: unchanged (coordinates relative to element)
- Mesh gradients: unchanged (position-based, not directional)
Debugging checklist
If effects look "flat" or missing, check in order:
- CSS vars actually resolving? — in DevTools, select element → Computed → look for
--mx,--angle,--bg-sizevalues. If they're<empty>, the definition isn't reaching. @propertyregistered? — if--angleanimates but just snaps to 360, you forgot the@property --angle { syntax: "<angle>"; ... }block. CSS needs to know the type.- z-index stacking? — overlay
pointer-events-nonechildren atz-[100]are above section content, but not above modals. Watch out. - Blur performance —
filter: blur(100px+)on large divs kills mobile FPS. Usebackdrop-blurfor glass effect instead of full-element blur when possible. prefers-reduced-motion— always wrap animations that move; static effects (noise, glass, gradients) stay enabled.
Sources
- Aceternity UI component catalog:
https://ui.aceternity.com/components - Aceternity Meteors:
https://ui.aceternity.com/registry/meteors.json - Aceternity Spotlight:
https://ui.aceternity.com/registry/spotlight.json - Aceternity Aurora Background:
https://ui.aceternity.com/registry/aurora-background.json - Aceternity 3D Card:
https://ui.aceternity.com/registry/3d-card.json - MagicUI BorderBeam:
https://magicui.design/r/border-beam.json - MagicUI NumberTicker:
https://magicui.design/r/number-ticker.json - MagicUI AnimatedGradientText:
https://magicui.design/r/animated-gradient-text.json
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

