reactbits-mcp-server
Version:
MCP Server for React Bits - Access 99+ React components with animations, backgrounds, and UI elements
37 lines (33 loc) • 1.01 kB
JavaScript
import { generateCliCommands } from '@/utils/utils';
import code from '@content/Components/GooeyNav/GooeyNav.jsx?raw';
import css from '@content/Components/GooeyNav/GooeyNav.css?raw';
import tailwind from '@tailwind/Components/GooeyNav/GooeyNav.jsx?raw';
import tsCode from '@ts-default/Components/GooeyNav/GooeyNav.tsx?raw';
import tsTailwind from '@ts-tailwind/Components/GooeyNav/GooeyNav.tsx?raw';
export const gooeyNav = {
...(generateCliCommands('Components/GooeyNav')),
usage: `import GooeyNav from './GooeyNav'
// update with your own items
const items = [
{ label: "Home", href: "#" },
{ label: "About", href: "#" },
{ label: "Contact", href: "#" },
];
<div style={{ height: '600px', position: 'relative' }}>
<GooeyNav
items={items}
particleCount={15}
particleDistances={[90, 10]}
particleR={100}
initialActiveIndex={0}
animationTime={600}
timeVariance={300}
colors={[1, 2, 3, 1, 2, 3, 1, 4]}
/>
</div>`,
code,
css,
tailwind,
tsCode,
tsTailwind
}