Capítulo 2 de 11

Chapter 2: Backgrounds & Ambient Effects

Core Idea

Full-bleed decorative backgrounds and ambient motion — the layer that sits behind hero sections, CTAs, and cards to add visual interest without competing with foreground content.

Reference Table

NamePurposeInstall
Aurora BackgroundSoft aurora/Southern-Lights gradient backgroundnpx shadcn@latest add @aceternity/aurora-background
Background BeamsSVG beams following a path, good under hero sectionsnpx shadcn@latest add @aceternity/background-beams
Background Beams With CollisionBeams that "explode" on collisionnpx shadcn@latest add @aceternity/background-beams-with-collision
Background BoxesFull-width box grid that highlights on hovernpx shadcn@latest add @aceternity/background-boxes
Background GradientAnimated gradient sitting behind a card/button/any containernpx shadcn@latest add @aceternity/background-gradient
Background Gradient AnimationSmooth gradient that shifts position over timenpx shadcn@latest add @aceternity/background-gradient-animation
Background LinesWave-pattern animated SVG linesnpx shadcn@latest add @aceternity/background-lines
Background Ripple EffectGrid of cells that ripple on clicknpx shadcn@latest add @aceternity/background-ripple-effect
Canvas Reveal EffectDot background that expands on hovernpx shadcn@latest add @aceternity/canvas-reveal-effect
Cloud ShaderProcedural drifting clouds (speed/count/color configurable)npx shadcn@latest add @aceternity/cloud-shader
Dither ShaderReal-time ordered-dithering effect, good for pixel-art/retro looksnpx shadcn@latest add @aceternity/dither-shader
Dotted Glow BackgroundOpacity-animated dot glow backgroundnpx shadcn@latest add @aceternity/dotted-glow-background
Grid and Dot BackgroundsSimple grid/dot pattern to separate page sectionsnpx shadcn@latest add @aceternity/grid-and-dot-backgrounds
Noise BackgroundAnimated gradient + noise texture backgroundnpx shadcn@latest add @aceternity/noise-background
ScalesRepeating diagonal/horizontal/vertical line patternnpx shadcn@latest add @aceternity/scales
Shooting Stars and Stars BackgroundStarfield with shooting-star animationnpx shadcn@latest add @aceternity/shooting-stars-and-stars-background
SparklesConfigurable particle sparkles, background or standalonenpx shadcn@latest add @aceternity/sparkles
Vortex BackgroundSwirly vortex background, good for CTA sectionsnpx shadcn@latest add @aceternity/vortex
Wavy BackgroundContinuously moving wave backgroundnpx shadcn@latest add @aceternity/wavy-background
Webcam Pixel GridReal-time webcam feed rendered as a pixel gridnpx shadcn@latest add @aceternity/webcam-pixel-grid
World MapAnimated world map with lines/dots between pointsnpx shadcn@latest add @aceternity/world-map
ASCII ArtConverts an image into animated ASCII artnpx shadcn@latest add @aceternity/ascii-art
Google Gemini EffectSVG line effect as seen on the Google Gemini launch pagenpx shadcn@latest add @aceternity/google-gemini-effect

Key Takeaways

  1. Most of these render as an absolutely-positioned layer behind normal content — check each component's anatomy for whether it needs a relative positioned parent.
  2. Shader-based entries (Cloud Shader, Dither Shader) are heavier than CSS/SVG ones — reach for them deliberately, not by default, on performance-sensitive pages.
  3. Several of these (Aurora, Background Beams, Vortex, Wavy) target the same "hero backdrop" job — pick one, don't stack multiple full-bleed backgrounds.

Connects To

  • ch003 (Hero & Scroll Sections): where most of these backgrounds actually get used.
  • ch004 (Cards & Grids): card-scoped variants of some of these effects (Canvas Reveal Effect, Grid backgrounds).