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 tweet card alt text

Dillion Vermab89c9d3e6d07
diff --git a/registry/components/magicui/tweet-card.tsx b/registry/components/magicui/tweet-card.tsx
index 5d9c6121..d53c0dc1 100644
--- a/registry/components/magicui/tweet-card.tsx
+++ b/registry/components/magicui/tweet-card.tsx
@@ -199,6 +199,7 @@ export const TweetMedia = ({ tweet }: { tweet: EnrichedTweet }) => (
<img
key={photo.url}
src={photo.url}
+ alt={tweet.text}
className="h-64 w-5/6 shrink-0 snap-center snap-always rounded-xl border object-cover shadow-sm"
/>
))}