Skip to content

UI Library for Design Engineers. Animated components and effects you can copy and paste into your apps. Free. Open Source.

🐛 fix: add shadows

Dillion Vermae42ef4ba8e2b
diff --git a/registry/components/example/globe-demo.tsx b/registry/components/example/globe-demo.tsx
index 84372967..87d5bb35 100644
--- a/registry/components/example/globe-demo.tsx
+++ b/registry/components/example/globe-demo.tsx
@@ -2,7 +2,7 @@ import Globe from "@/registry/components/magicui/globe";
export default function GlobeDemo() {
return (
- <div className="relative flex h-full w-full items-center justify-center overflow-hidden rounded-lg border bg-background px-40 pb-40 pt-8 md:pb-60">
+ <div className="relative flex h-full w-full items-center justify-center overflow-hidden rounded-lg border bg-background px-40 pb-40 pt-8 shadow-2xl md:pb-60">
<Globe className="top-28" />
<span className="pointer-events-none whitespace-pre-wrap bg-gradient-to-b from-black to-gray-300/80 bg-clip-text text-center text-8xl font-semibold leading-none text-transparent dark:from-white dark:to-slate-900/10">
Globe
diff --git a/registry/components/example/marquee-demo.tsx b/registry/components/example/marquee-demo.tsx
index 55afe4e7..7566d55f 100644
--- a/registry/components/example/marquee-demo.tsx
+++ b/registry/components/example/marquee-demo.tsx
@@ -73,7 +73,7 @@ const ReviewCard = ({
const MarqueeDemo = () => {
return (
- <div className="relative flex h-full w-full flex-col items-center justify-center gap-4 overflow-hidden rounded-lg border bg-background py-20">
+ <div className="relative flex h-full w-full flex-col items-center justify-center gap-4 overflow-hidden rounded-lg border bg-background py-20 shadow-2xl">
<Marquee pauseOnHover className="[--duration:20s]">
{firstRow.map((review) => (
<ReviewCard key={review.username} {...review} />
diff --git a/registry/components/example/tweet-card-demo.tsx b/registry/components/example/tweet-card-demo.tsx
index 479578bf..121f681f 100644
--- a/registry/components/example/tweet-card-demo.tsx
+++ b/registry/components/example/tweet-card-demo.tsx
@@ -1,5 +1,5 @@
import TweetCard from "@/registry/components/magicui/tweet-card";
export default async function TweetDemo() {
- return <TweetCard id="1668408059125702661" />;
+ return <TweetCard id="1668408059125702661" className="shadow-2xl" />;
}