reactbits-mcp-server
Version:
MCP Server for React Bits - Access 99+ React components with animations, backgrounds, and UI elements
27 lines (23 loc) • 767 B
JavaScript
import { generateCliCommands } from '@/utils/utils';
import code from '@content/Backgrounds/Threads/Threads.jsx?raw';
import css from '@content/Backgrounds/Threads/Threads.css?raw';
import tailwind from '@tailwind/Backgrounds/Threads/Threads.jsx?raw';
import tsCode from '@ts-default/Backgrounds/Threads/Threads.tsx?raw';
import tsTailwind from '@ts-tailwind/Backgrounds/Threads/Threads.tsx?raw';
export const threads = {
...(generateCliCommands('Backgrounds/Threads')),
installation: `npm i ogl`,
usage: `import Threads from './Threads';
<div style={{ width: '100%', height: '600px', position: 'relative' }}>
<Threads
amplitude={1}
distance={0}
enableMouseInteraction={true}
/>
</div>`,
code,
css,
tailwind,
tsCode,
tsTailwind,
};