reactbits-mcp-server
Version:
MCP Server for React Bits - Access 99+ React components with animations, backgrounds, and UI elements
29 lines (26 loc) • 979 B
JavaScript
import { generateCliCommands } from '@/utils/utils';
import code from '@content/TextAnimations/ScrollReveal/ScrollReveal.jsx?raw';
import css from '@content/TextAnimations/ScrollReveal/ScrollReveal.css?raw';
import tailwind from '@tailwind/TextAnimations/ScrollReveal/ScrollReveal.jsx?raw';
import tsCode from '@ts-default/TextAnimations/ScrollReveal/ScrollReveal.tsx?raw';
import tsTailwind from '@ts-tailwind/TextAnimations/ScrollReveal/ScrollReveal.tsx?raw';
export const scrollReveal = {
...(generateCliCommands('TextAnimations/ScrollReveal')),
installation: `npm i gsap`,
usage: `import ScrollReveal from './ScrollReveal';
<ScrollReveal
baseOpacity={0}
enableBlur={true}
baseRotation={5}
blurStrength={10}
>
When does a man die? When he is hit by a bullet? No! When he suffers a disease?
No! When he ate a soup made out of a poisonous mushroom?
No! A man dies when he is forgotten!
</ScrollReveal>`,
code,
css,
tailwind,
tsCode,
tsTailwind
}