Compositions
Core Primitives
Transitions
Typography
Customize
8
16
1
Installation
$ pnpm dlx shadcn@latest add @framecn/pulsing-indicator
Usage
import { PulsingIndicator } from "@/components/framecn/pulsing-indicator";<PulsingIndicator />API Reference
PulsingIndicator
| Prop | Type | Default |
|---|---|---|
color | string | "#22c55e" |
size | number | 16 |
period | number | 8 |
speed | number | 1 |
background | string | "white" |
fps | number | 30 |
durationInFrames | number | 90 |
className | string | - |
Notes
Continuous sine wave pulse
The indicator uses a continuous sine wave for smooth pulsing. The duration controls the period of one pulse cycle.