2
GitHub Stars
1
Bundled Files
3 weeks ago
Catalog Refreshed
2 months ago
First Indexed
Readme & install
Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.
Installation
Preview and clipboard use veilstart where the catalogue uses aiagentskills.
npx veilstart add skill fusengine/agents --skill layered-backgrounds- SKILL.md3.0 KB
Overview
This skill provides a compact, production-ready pattern for layered backgrounds used in hero sections, landing pages, and premium visual effects. It combines gradient base layers, blurred color orbs, glass surfaces, and subtle noise overlays with dark-mode support and mobile-friendly adjustments. The patterns are implemented in TypeScript/React-friendly JSX and rely on CSS variables for theme control.
How this skill works
Before building, spawn three supportive agents to explore the codebase, research CSS filter/blend techniques, and validate the final output. The implementation composes multiple layers with explicit z-index separation: a gradient base, offset blurred orbs, a glass/surface layer, a noise texture overlay, and the content layer on top. Animations use motion-based transforms with will-change hints and reduced blur on small screens for performance.
When to use it
- Hero sections and landing-page headers that need a premium visual treatment
- Marketing pages where brand color blends and soft motion add depth
- Components requiring theme-aware backgrounds (light/dark mode)
- Design systems that need reusable background primitives
- When subtle texture (noise/grain) improves perceived quality
Best practices
- Use CSS variables for primary, accent, and background colors to support theming
- Layer elements with explicit z-index ordering and overflow-hidden on the container
- Limit the number of orbs (max 3) and reduce blur on mobile for performance
- Animate orbs with transform-only properties and add will-change to animated elements
- Provide dark-mode variants and avoid hard-coded color values
Example use cases
- A marketing hero with two animated gradient orbs and a soft noise overlay for texture
- A sign-up call-to-action section with a glass surface layer and muted gradient base
- A product landing page where orbs follow a slow parallax motion to add depth
- A design system token demonstrating CSS variable usage for themed backgrounds
- A compact hero component that swaps opacity and blur in dark mode
FAQ
Keep orbs to a maximum of three to avoid visual clutter and performance costs.
How do I make the background theme-aware?
Drive orb and base colors with CSS custom properties and provide dark-mode overrides.
Any tips for mobile performance?
Reduce blur radius, limit animated elements, use transform-based animation, and lower noise opacity.