Sonar Button

A call-to-action that sends out soft sonar rings to get noticed.

no dependenciesMIT · free

Installation

npx shadcn@latest add https://ombakui.com/r/sonar-button.json

Usage

import { SonarButton } from "@/components/sonar-button";

<SonarButton>Book a call</SonarButton>

Props

PropTypeDefaultDescription
childrenReactNode–Button content.
colorstringyour theme's primary colorRing color.
ringsnumber3Number of rings in flight.
durationnumber2.4Seconds for one ring to fade out.
classNamestring–