Measured entry

magicui-tweet-card

cardbento

A registry-delivered TypeScript tweet renderer with author details, linked text, verification state, photos, and video. Its main card fetches tweet data in an async server context, then renders through react-tweet. Styling assumes Tailwind theme tokens plus the shadcn cn utility and path alias.

Specimen
Harness screenshot of magicui-tweet-card at 375 pixels wide
Harness screenshot at 375 pixels wide. This viewport scrolled sideways.
Harness screenshot of magicui-tweet-card at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of magicui-tweet-card at 1440 pixels wide
Harness screenshot at 1440 pixels wide. No horizontal overflow recorded.

Measured

Every value below was written by the harness on the run that produced the frames above. None of it is derived from the prose.

Harness measurements recorded for magicui-tweet-card
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowflagged at 375
Axe critical0
Axe serious0
Axe moderate0
Axe minor0
Gzip marginal30.2 KB (95.6 KB build, 65.4 KB baseline)
Bare modeFAIL
Provider requiredNO
Demo usedwritten from the component source API

What the harness recorded

BARE BUILD

✗ Build failed in 26.19s
error during build:
[vite:load-fallback] Could not load <sandbox>/src/lib/utils (imported by src/cut/tweet-card.tsx): ENOENT: no such file or directory, open '<sandbox>/src/lib/utils'

Verdict

Useful in its intended server-rendered, data-backed setting, but the supplied demo did not mount because tweet rendering received an invalid entities shape. Bare projects also miss the aliased utility import. It needs a shadcn-style setup and a real tweet ID before adoption.

Use it if

  • You need to render known tweet IDs inside a server-rendered React surface.
  • You want tweet text, author metadata, links, photos, and video presented in a locally styled card.
  • Your project already follows shadcn utility and Tailwind theme conventions.

Skip it if

  • Your target is client-only React and cannot host the async server-side card entry point.
  • The page must render deterministically without fetching tweet data or loading remote media.
  • You cannot guarantee valid tweet data, since the supplied demo crashed while reading a missing entities value.
  • Adding react-tweet is unjustified for a surface that only needs a link or static quotation.

Install

Installation record for magicui-tweet-card
Declared dependenciesreact-tweet
Missing on installnone
Bare installfails once the shadcn-style helpers are removed, so it needs that setup
Providerno provider required in the harness

Install react-tweet, configure the at-sign path alias, and add the shared cn utility expected at the aliased lib path. Provide Tailwind utilities and the foreground, muted, border, and primary theme tokens. Run TweetCard in a server-capable React environment with outbound access for tweet data and media.

Source and credit

This page is a review, not a copy. The component source lives with its author and this site does not republish it. Read the license before you use anything.

License
MIT
Record published
2026-08-13

Alternatives

Other published entries for the card pattern, ordered by what they measured: mounts first, then clean axe scans, then bare-mode passes, then the smaller bundle.