Ripple Button
A ripple button component
Installation
Usage
import RippleButton from '$lib/registry/buttons/ripple-button/ripple-button.svelte'; <RippleButton>Hello World</RippleButton> Props
| Prop | Type | Default | Description |
|---|---|---|---|
| rippleColor | string | '#ffffff' | Color of the ripple effect |
| duration | string | '600ms' | Duration of the ripple animation (CSS time string) |
| class | string | '' | Additional CSS classes for custom styling |
Extends all props from shadcn-svelte Button.