Rendyn

Component library

189 components

Interaction

Ripple Button

Ripple Button keeps native button props while adding a visual ripple.

Interactive exampleReact Tailwind CSS

Practical React example

Give a normal button a brief press-origin ripple without changing the action’s meaning.

Before you copy and paste

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

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

Give a normal button a brief press-origin ripple without changing the action’s meaning

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

import { RippleButton } from "@/components/magicui/ripple-button"

export function ComponentExample() {
  return (
    <RippleButton>Ripple Button</RippleButton>
  );
}

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

Use the appropriate type inside a form and connect onClick to the real command. Include the returned CSS so the visual effect matches the source.

Customization

RippleButtonProps.rippleColor
Optional; string.
RippleButtonProps.duration
Optional; string.

Integration notes

  • A ripple is feedback for the press, not proof the backend accepted the action.
  • Check contrast, keyboard activation and reduced motion.

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