Saturation UIsaturation UI
DocsComponentsBlocks
⌘K

Getting Started

IntroductionInstallationTheming

Components

AccordionAI Chat InputAlertAnimated GroupAnimated NumberAvatarBadgeBorder TrailBreadcrumbButtonButton GroupCalendarCardChartCheckboxCollapsibleComboboxCommandContext MenuData TableDate PickerDialogDropdown MenuEmptyFieldGlow EffectInputInput GroupItemKbdMenubarNovel EditorPaginationProgressive BlurProgressSelectSheetSkeletonSonnerSpinnerSpotlightSwitchTableTabsText EffectText ShimmerTextareaToggleToggle GroupTreeTypography
Components
/
Glow Effect

Glow Effect

A customizable glowing effect component with various animation modes.

Preview

Installation

Install the required dependencies and add the component to your project.

npm install motion

Usage

import { GlowEffect } from "@/components/ui/glow-effect"

<div className="relative">
  <GlowEffect mode="rotate" />
  <Button className="relative">Click me</Button>
</div>

Examples

Pulse Mode

Breathe Mode

Color Shift Mode

Card Background

Glowing Card

A card with a static glow background

Flow Horizontal

API Reference

PropTypeDefaultDescription
colorsstring[]["#3b82f6", "#8b5cf6", "#ec4899"]Array of colors for the glow gradient
modeGlowMode"rotate"Animation mode: "rotate" | "pulse" | "breathe" | "colorShift" | "flowHorizontal" | "static"
blurnumber100Blur intensity in pixels
scalenumber1.5Scale factor for pulse/breathe animations
durationnumber4Animation duration in seconds
transitionTransition-Custom Framer Motion transition

On This Page

  • Preview
  • Installation
  • Usage
  • Examples
  • API Reference

Deploy your Saturation UI app

Build beautiful, saturated interfaces with our component library.

Deploy to Vercel for the best performance and developer experience.