UNPKG

reactbits-mcp-server

Version:

MCP Server for React Bits - Access 99+ React components with animations, backgrounds, and UI elements

41 lines (37 loc) 1.05 kB
import { generateCliCommands } from '@/utils/utils'; import code from '@content/Components/GlassSurface/GlassSurface.jsx?raw'; import css from '@content/Components/GlassSurface/GlassSurface.css?raw'; import tailwind from '@tailwind/Components/GlassSurface/GlassSurface.jsx?raw'; import tsCode from '@ts-default/Components/GlassSurface/GlassSurface.tsx?raw'; import tsTailwind from '@ts-tailwind/Components/GlassSurface/GlassSurface.tsx?raw'; export const glassSurface = { ...(generateCliCommands('Components/GlassSurface')), usage: `import GlassSurface from './GlassSurface' // Basic usage <GlassSurface width={300} height={200} borderRadius={24} className="my-custom-class" > <h2>Glass Surface Content</h2> </GlassSurface> // Custom displacement effects <GlassSurface displace={15} distortionScale={-150} redOffset={5} greenOffset={15} blueOffset={25} brightness={60} opacity={0.8} mixBlendMode="screen" > <span>Advanced Glass Distortion</span> </GlassSurface>`, code, css, tailwind, tsCode, tsTailwind }