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

Function RippleWaveLoader

src/showcase/components/loaders/RippleWaveLoader.tsx:6–28  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4import { motion } from 'framer-motion'
5
6const RippleWaveLoader = () => {
7 return (
8 <div className="flex items-center justify-center space-x-1">
9 {[...Array(7)].map((_, index) => (
10 <motion.div
11 key={index}
12 className="h-8 w-2 rounded-full bg-red-500"
13 animate={{
14 scaleY: [0.5, 1.5, 0.5],
15 scaleX: [1, 0.8, 1],
16 translateY: ['0%', '-15%', '0%'],
17 }}
18 transition={{
19 duration: 1,
20 repeat: Infinity,
21 ease: 'easeInOut',
22 delay: index * 0.1,
23 }}
24 />
25 ))}
26 </div>
27 )
28}
29
30export default RippleWaveLoader

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected