MCPcopy Create free account
hub / github.com/SyntaxUI/syntaxui / PulsatingDots

Function PulsatingDots

src/showcase/components/loaders/PulsatingDots.tsx:4–49  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2import { motion } from 'framer-motion'
3
4export default function PulsatingDots() {
5 return (
6 <div className="flex items-center justify-center">
7 <div className="flex space-x-2">
8 <motion.div
9 className="h-3 w-3 rounded-full bg-red-500"
10 animate={{
11 scale: [1, 1.5, 1],
12 opacity: [0.5, 1, 0.5],
13 }}
14 transition={{
15 duration: 1,
16 ease: 'easeInOut',
17 repeat: Infinity,
18 }}
19 />
20 <motion.div
21 className="h-3 w-3 rounded-full bg-red-500"
22 animate={{
23 scale: [1, 1.5, 1],
24 opacity: [0.5, 1, 0.5],
25 }}
26 transition={{
27 duration: 1,
28 ease: 'easeInOut',
29 repeat: Infinity,
30 delay: 0.3,
31 }}
32 />
33 <motion.div
34 className="h-3 w-3 rounded-full bg-red-500"
35 animate={{
36 scale: [1, 1.5, 1],
37 opacity: [0.5, 1, 0.5],
38 }}
39 transition={{
40 duration: 1,
41 ease: 'easeInOut',
42 repeat: Infinity,
43 delay: 0.6,
44 }}
45 />
46 </div>
47 </div>
48 )
49}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected