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

Function WaveLoader

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected