Rendyn

Component library

189 components

Interaction

Pulsating Button

Pulsating Button adds a CSS-driven pulse or ripple around a native button.

Interactive exampleReact Tailwind CSS

Practical React example

Draw attention to one primary action with a deliberate pulse treatment.

Before you copy and paste

Match the imported component’s client or server rendering boundary before using the example. Copy components/magicui/pulsating-button.tsx and its returned support files from the Code tab; preserve the project-relative paths. Include the returned styles: components/magicui/pulsating-button.css.

Use the Code tab for the component files and installation instructions, then adapt the imports in this example to your project.

Draw attention to one primary action with a deliberate pulse treatment

// Usage adapted from Magic UI's pinned MIT source.
// Copyright (c) Magic UI. See ./LICENSES.md.
'use client';

import { PulsatingButton } from "@/components/magicui/pulsating-button"

export function ComponentExample() {
  return (
    <PulsatingButton>Pulsating Button</PulsatingButton>
  );
}

Usage example adapted from Magic UI's pinned MIT source. Retain the source licence notices when copying.

Choose pulseColor and duration against the page’s real background and include the returned stylesheet. Keep an ordinary label and action handler.

Customization

PulsatingButtonProps.pulseColor
Optional; string.
PulsatingButtonProps.duration
Optional; string.
PulsatingButtonProps.distance
Optional; string.
PulsatingButtonProps.variant
Optional; "pulse" | "ripple".

Integration notes

  • Do not make multiple nearby actions pulse continuously.
  • Check focus visibility and provide a static treatment when reduced motion is requested.

Component source: Magic UI documentation . These examples describe the version imported into Rendyn. Upstream APIs may have changed; retain the source licence notices when adapting the code.

Better with your agent

Give your agent taste.

The best way to use Rendyn is through MCP. Let your agent find the right component, compare previews and bring the source into your project.

All components are free. Sign up only to connect MCP.

Connect to MCP