lightswind
Version:
A professionally designed animate react component library & templates market that brings together functionality, accessibility, and beautiful aesthetics for modern applications.
3 lines (2 loc) • 718 B
TypeScript
declare const smokeyCursorSnippet = "import { SmokeyCursor } from \"@/components/ui/smokey-cursor\";\n\nexport function SmokeyCursorExample() {\n return (\n <div className=\"relative w-full h-[400px] rounded-lg overflow-hidden border\">\n {/* Your content goes here */}\n <h1 className=\"relative z-10 p-4 text-center text-white text-2xl\">\n Move your cursor around\n </h1>\n \n <SmokeyCursor \n DENSITY_DISSIPATION={3.5}\n VELOCITY_DISSIPATION={2.0}\n CURL={3}\n SPLAT_RADIUS={0.2}\n SPLAT_FORCE={6000}\n BACK_COLOR={{ r: 0.5, g: 0, b: 0 }}\n TRANSPARENT={true}\n />\n </div>\n );\n}";
export default smokeyCursorSnippet;