Command Palette
Search for a command to run

Backlight

An SVG filter wrapper that adds a soft, saturated backlight glow around the content it wraps.

Installation

pnpm dlx shadcn-svelte@latest add https://sv-animations.vercel.app/r/backlight.json

Examples

Image

fancy gradient background

Svg

Props

Backlight

Wraps content in an SVG blur and saturation filter to create a glowing backlight effect.

NameTypeDefaultDescription
children
Snippet undefined The content rendered inside the backlight wrapper.
class
string undefined Custom classes applied to the outer wrapper element.
blur
number 10 Controls the blur intensity used by the SVG filter.