saturation/uisaturation/ui
DocsComponentsBlocksPages
GitHub

Sections

IntroductionComponentsInstallationMCPTheming

Components

ComponentsAccordionAI Chat InputAlertAnimated GroupAnimated NumberAvatarBadgeBeamBlur FadeBorder TrailBreadcrumbButtonButton GroupCalendar PickerCardChartCheckboxCollapsibleComboboxCommandComparison SliderContext MenuCredit CardData TableDate PickerDialogDropdown MenuEmoji PickerEmptyFieldFiltersFull CalendarGlow EffectInputInput GroupInput OTPItemKanbanKbdMenubarNavigation MenuNovel EditorPaginationParallaxProgressProgressive BlurRadio GroupRippleSelectSeparatorSheetSkeletonSliderSonnerSpinnerSpotlightSwitchTableTabsText EffectText ShimmerTextareaToggleToggle GroupTreeTypography
Docs/Components/Ripple

Ripple

Animated concentric ripple rings that pulse behind content for emphasis. Pure CSS animation, no JS dependencies.

Loading...

Installation

pnpm dlx shadcn@latest add https://ui.saturation.io/r/ripple.json

Tailwind v4 — Source Scanning

Saturation UI copies component source into your project via the shadcn registry (no npm package). If Tailwind v4 isn't scanning your components directory, add this to your CSS entry file:

@source "../components";

This ensures all utility classes in CVA variants and data attribute selectors are included in your build.

Usage

import { Ripple } from "@/components/ui/ripple"
<div className="relative h-[400px] w-full overflow-hidden">
  <p className="z-10 text-4xl font-semibold">Hello</p>
  <Ripple />
</div>

API Reference

PropTypeDefaultDescription
mainCircleSizenumber210Size of the center circle in pixels.
mainCircleOpacitynumber0.24Opacity of the center circle.
numCirclesnumber8Number of concentric ripple rings.
PreviousRadio GroupNextScroll Area

On This Page

  • Installation
  • Usage
  • API Reference

Ripple