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

Function BackgroundShift

src/showcase/blocks/pricing/Pricing.tsx:160–170  ·  view source on GitHub ↗
({ shiftKey }: { shiftKey: string })

Source from the content-addressed store, hash-verified

158}
159
160const BackgroundShift = ({ shiftKey }: { shiftKey: string }) => (
161 <motion.span
162 key={shiftKey}
163 layoutId="bg-shift"
164 className="absolute inset-0 -z-10 rounded-lg bg-red-500"
165 initial={{ opacity: 0, scale: 0.8 }}
166 animate={{ opacity: 1, scale: 1 }}
167 exit={{ opacity: 0, scale: 0.8 }}
168 transition={{ type: 'spring', stiffness: 200, damping: 20 }}
169 />
170)
171
172export default function PricingPage() {
173 return <Pricing />

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected