UI Library for Design Engineers. Animated components and effects you can copy and paste into your apps. Free. Open Source.
🐛 fix: update pointer class
Dillion Verma90e24682ae3b
diff --git a/registry/components/magicui/dot-pattern.tsx b/registry/components/magicui/dot-pattern.tsxindex cced0121..eb838754 100644--- a/registry/components/magicui/dot-pattern.tsx+++ b/registry/components/magicui/dot-pattern.tsx@@ -29,7 +29,7 @@ export function DotPattern({<svgaria-hidden="true"className={cn(- "absolute w-full h-full inset-0 fill-gray-400/30",+ "pointer-events-none absolute w-full h-full inset-0 fill-gray-400/30",className)}{...props}diff --git a/registry/components/magicui/grid-pattern.tsx b/registry/components/magicui/grid-pattern.tsxindex 8dc8a557..c746cca0 100644--- a/registry/components/magicui/grid-pattern.tsx+++ b/registry/components/magicui/grid-pattern.tsx@@ -28,7 +28,7 @@ export function GridPattern({<svgaria-hidden="true"className={cn(- "absolute w-full h-full inset-0 stroke-gray-400/30 fill-gray-400/30",+ "pointer-events-none absolute w-full h-full inset-0 stroke-gray-400/30 fill-gray-400/30",className)}{...props}diff --git a/registry/components/magicui/meteors.tsx b/registry/components/magicui/meteors.tsxindex 51906162..5e372567 100644--- a/registry/components/magicui/meteors.tsx+++ b/registry/components/magicui/meteors.tsx@@ -28,12 +28,12 @@ export const Meteors = ({ number = 20 }: MeteorsProps) => {<spankey={idx}className={clsx(- "absolute top-1/2 left-1/2 h-0.5 w-0.5 rotate-[215deg] animate-meteor rounded-[9999px] bg-slate-500 shadow-[0_0_0_1px_#ffffff10] -z-10"+ "pointer-events-none absolute top-1/2 left-1/2 h-0.5 w-0.5 rotate-[215deg] animate-meteor rounded-[9999px] bg-slate-500 shadow-[0_0_0_1px_#ffffff10] -z-10")}style={style}>{/* Meteor Tail */}- <div className="-z-10 absolute w-[50px] h-[1px] bg-gradient-to-r from-slate-500 to-transparent top-1/2 -translate-y-1/2" />+ <div className="pointer-events-none -z-10 absolute w-[50px] h-[1px] bg-gradient-to-r from-slate-500 to-transparent top-1/2 -translate-y-1/2" /></span>))}</>