Concentric circles that pulse outward from the center, great behind a logo, avatar, or status icon.
Connect your favorite tools
Bring in GitHub, Slack, and Figma. Updates flow both ways.
Connect your favorite tools
Bring in GitHub, Slack, and Figma. Updates flow both ways.
Connect your favorite tools
Bring in GitHub, Slack, and Figma. Updates flow both ways.
Connect your favorite tools
Bring in GitHub, Slack, and Figma. Updates flow both ways.
Connect your favorite tools
Bring in GitHub, Slack, and Figma. Updates flow both ways.
<div class="overflow-hidden rounded-xl border border-line bg-surface">
<x-markas.ripple-background :size="88" :gap="56" class="grid h-48 place-items-center border-b border-line bg-canvas">
<span class="grid size-14 place-items-center rounded-full border border-line bg-surface text-ink">
<svg class="size-6" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M10 14a3.5 3.5 0 0 0 5 0l3-3a3.5 3.5 0 0 0-5-5l-1 1" /><path d="M14 10a3.5 3.5 0 0 0-5 0l-3 3a3.5 3.5 0 0 0 5 5l1-1" /></svg>
</span>
</x-markas.ripple-background>
<div class="grid justify-items-center gap-3 p-6 text-center">
<h2 class="text-xl font-semibold text-ink">Connect your favorite tools</h2>
<p class="max-w-72 text-sm text-muted">Bring in GitHub, Slack, and Figma. Updates flow both ways.</p>
<x-markas.button>Browse integrations</x-markas.button>
</div>
</div>Examples
Searching state
Looking for nearby devices
Keep your phone unlocked and close to this screen.
Looking for nearby devices
Keep your phone unlocked and close to this screen.
Looking for nearby devices
Keep your phone unlocked and close to this screen.
Looking for nearby devices
Keep your phone unlocked and close to this screen.
Looking for nearby devices
Keep your phone unlocked and close to this screen.
Incoming call
Calling Maya Chen
Ringing on desktop and mobile
Calling Maya Chen
Ringing on desktop and mobile
Calling Maya Chen
Ringing on desktop and mobile
Calling Maya Chen
Ringing on desktop and mobile
Calling Maya Chen
Ringing on desktop and mobile
<div class="overflow-hidden rounded-xl border border-line bg-canvas">
<x-markas.ripple-background color="primary" :rings="5" :size="104" :gap="56" class="grid h-56 place-items-center">
<span class="grid size-20 place-items-center rounded-full border border-line bg-surface text-xl font-semibold text-ink">MC</span>
</x-markas.ripple-background>
<div class="grid justify-items-center gap-4 px-6 pb-8 text-center">
<div class="grid gap-1">
<h3 class="text-base font-semibold text-ink">Calling Maya Chen</h3>
<p class="text-sm text-muted">Ringing on desktop and mobile</p>
</div>
<x-markas.button variant="danger">End call</x-markas.button>
</div>
</div>Compact tile
Inbox zero
New replies will show up here as soon as they arrive.
Inbox zero
New replies will show up here as soon as they arrive.
Inbox zero
New replies will show up here as soon as they arrive.
Inbox zero
New replies will show up here as soon as they arrive.
Inbox zero
New replies will show up here as soon as they arrive.
<div class="flex items-center gap-4 rounded-xl border border-line bg-surface p-4">
<x-markas.ripple-background :rings="3" :size="40" :gap="24" class="grid size-24 shrink-0 place-items-center rounded-lg bg-canvas">
<span class="grid size-10 place-items-center rounded-full border border-line bg-surface text-muted">
<svg class="size-5" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="3" y="5" width="18" height="14" rx="2" /><path d="m3 7 9 6 9-6" /></svg>
</span>
</x-markas.ripple-background>
<div class="grid gap-1">
<h3 class="text-base font-semibold text-ink">Inbox zero</h3>
<p class="text-sm text-muted">New replies will show up here as soon as they arrive.</p>
</div>
</div>Installation
npx markasui@latest add ripple-backgroundpnpm dlx markasui@latest add ripple-backgroundyarn dlx markasui@latest add ripple-backgroundbunx --bun markasui@latest add ripple-background- Make sure Tailwind CSS v4 and markas.css are installed. See Installation.
- Copy the component source below to
resources/views/components/markas/ripple-background.blade.php.
- Make sure Tailwind CSS v4 and markas.css are installed. See Installation.
- Copy the component source below to
src/components/markas/RippleBackground.tsx.
- Make sure Tailwind CSS v4 and markas.css are installed. See Installation.
- Copy the component source below to
src/components/markas/RippleBackground.vue.
- Make sure Tailwind CSS v4 and markas.css are installed. See Installation.
- Copy the component source below to
src/lib/components/markas/RippleBackground.svelte.
- Make sure Tailwind CSS v4 and markas.css are installed. See Installation.
- Copy the component source below to
src/components/markas/RippleBackground.astro.
- Make sure Tailwind CSS v4 and markas.css are installed. See Installation.
- Copy the component source below to
src/app/markas/ripple-background.component.ts.
Usage
<x-markas.ripple-background :size="88" :gap="56" class="grid h-48 place-items-center rounded-xl bg-canvas">
<span class="grid size-14 place-items-center rounded-full border border-line bg-surface">MC</span>
</x-markas.ripple-background>No JavaScript or Alpine.js needed.
import { RippleBackground } from "@/components/markas/RippleBackground";
<RippleBackground
size={88}
gap={56}
className="grid h-48 place-items-center rounded-xl bg-canvas"
>
<span className="grid size-14 place-items-center rounded-full border border-line bg-surface">
MC
</span>
</RippleBackground>;<template>
<RippleBackground
:size="88"
:gap="56"
class="grid h-48 place-items-center rounded-xl bg-canvas"
>
<span
class="grid size-14 place-items-center rounded-full border border-line bg-surface"
>MC</span
>
</RippleBackground>
</template><script lang="ts">
import RippleBackground from "$lib/components/markas/RippleBackground.svelte";
</script>
<RippleBackground
size={88}
gap={56}
class="grid h-48 place-items-center rounded-xl bg-canvas"
>
<span
class="grid size-14 place-items-center rounded-full border border-line bg-surface"
>
MC
</span>
</RippleBackground>---
import RippleBackground from "@/components/markas/RippleBackground.astro";
---
<RippleBackground
size={88}
gap={56}
class="grid h-48 place-items-center rounded-xl bg-canvas"
>
<span class="grid size-14 place-items-center rounded-full border border-line bg-surface">
MC
</span>
</RippleBackground>import { Component } from "@angular/core";
import { RippleBackground } from "./markas/ripple-background.component";
@Component({
selector: "app-call",
imports: [RippleBackground],
template: `
<div
markas-ripple-background
size="88"
gap="56"
class="grid h-48 place-items-center rounded-xl bg-canvas"
>
<span
class="grid size-14 place-items-center rounded-full border border-line bg-surface"
>
MC
</span>
</div>
`,
})
export class Call {}Angular uses an attribute selector on the native div, so class, aria-*, and other attributes stay on the root element.
- The circles are centered in the component. Center your icon or avatar with
grid place-items-center. - If the pulse means something, such as searching, also say it in text (for example with
role="status"). - The component has no built-in text, so there are no label props to translate.
Props
| Name | Type | Default | Description |
|---|---|---|---|
rings | number | 6 | Number of circles, up to 12. |
size | number | 120 | Diameter of the innermost circle in pixels. |
gap | number | 64 | How much each circle grows over the previous one, in pixels. |
color | muted | primary | success | warning | danger | muted | Token color of the circles. Outer circles fade automatically. |
children / slot | slot / ReactNode | - | Content shown on top of the circles, usually centered. |
Accessibility
- The circle layer is aria-hidden and ignores pointer events.
- With reduced motion, the circles stop pulsing.
- If the pulse means something (for example searching), also say so in text.
Related components
More backgrounds components with the same classes in every framework.
- Aurora BackgroundSoft glowing color fields that drift slowly behind your content, made from primary and an accent token.
- Background BeamsThin curved light beams that flow, pulse, or fall and splash behind your content. Pure SVG and CSS, no JavaScript.
- Background BoxesA skewed, flat, or perspective grid of tiles that light up under the cursor and fade back, using only CSS hover.
- Background LinesSVG lines that draw in and fade out one after another, as waves, rays from a point, or a lattice. Made for hero sections.
- Dot PatternA grid of small dots behind your content, with an optional radial or linear fade. Pure CSS, no JavaScript.
- Gradient BorderWraps a card, button, or field in a moving gradient border that spins, shines, or pulses, with an optional soft glow.