Files
zeekay 0f056e0952 fix: Add demo data to 4 more components
- animated-text-demo: Added text prop with fade animation
- announcement-demo: Added children with dismissible banner
- cursor-demo: Added custom cursor with demo content
- magnetic-demo: Added magnetic buttons with strength variants

Total: 14 demo components fixed
2025-11-06 00:25:20 -08:00

19 lines
573 B
TypeScript

import { Cursor } from "@/registry/default/ui/cursor"
export default function CursorDemo() {
return (
<div className="w-full min-h-[400px] flex items-center justify-center bg-slate-900">
<Cursor cursorText="✨" cursorSize={24}>
<div className="text-center p-12">
<h2 className="text-4xl font-bold text-white mb-4">
Custom Cursor Demo
</h2>
<p className="text-slate-300">
Move your mouse over this area to see the custom cursor effect
</p>
</div>
</Cursor>
</div>
)
}