reactbits-mcp-server
Version:
MCP Server for React Bits - Access 99+ React components with animations, backgrounds, and UI elements
31 lines (28 loc) • 859 B
JavaScript
import { generateCliCommands } from '@/utils/utils';
import code from '@content/Animations/MetaBalls/MetaBalls.jsx?raw';
import css from '@content/Animations/MetaBalls/MetaBalls.css?raw';
import tailwind from '@tailwind/Animations/MetaBalls/MetaBalls.jsx?raw';
import tsCode from '@ts-default/Animations/MetaBalls/MetaBalls.tsx?raw';
import tsTailwind from '@ts-tailwind/Animations/MetaBalls/MetaBalls.tsx?raw';
export const metaBalls = {
...(generateCliCommands('Animations/MetaBalls')),
installation: `npm i ogl`,
usage: `import MetaBalls from './MetaBalls';
<MetaBalls
color="#ffffff"
cursorBallColor="#ffffff"
cursorBallSize={2}
ballCount={15}
animationSize={30}
enableMouseInteraction={true}
enableTransparency={true}
hoverSmoothness={0.05}
clumpFactor={1}
speed={0.3}
/>`,
code,
css,
tailwind,
tsCode,
tsTailwind
}