
social-x-post-card
PopularRealistic X post card with engagement metrics (likes, reposts, views), suited to video overlays or shareable image cards.
88Kstars
10Kforks
Updated 8/16/2026
SKILL.md
read-only
name
social-x-post-card
description
Realistic X post card with engagement metrics (likes, reposts, views), suited to video overlays or shareable image cards.
[Template: X (Twitter) Post Card]
[Intent] Render tweet content (or a user quote) into a realistic X post card designed for video overlays, Twitter posts, or knowledge sharing. Inspired by hyperframes x-post.
[Canvas] 1280×720 or 1080×1080, dark background #0f1419 or light background #ffffff (matching X theme); centered card with soft shadows.
[Card Structure]
- Outer Container: 16px border-radius, 1px border
#2f3336(dark) /#eff3f4(light), 16px padding. - Top Row: Avatar (48×48 circular, CSS gradient placeholder) + username + handle
@username+ verified blue checkmark + timestamp (mono, 12px, gray). - Body Text: 17–22px, font-weight 400; X blue
#1d9bf0for links, hashtags, and mentions; 0.6em spacing between paragraphs. - Optional: Quote card (embedded sub-card, gray background, 12px border-radius).
- Optional: Single media image (CSS gradient + text description placeholder, no external image URLs), 16:9 aspect ratio, 12px border-radius.
- Engagement Row: 4 icons + metrics (Reply / Repost / Quote / Like); icons use inline SVG (official X style), gray, with hover color state.
- Top Right: Single-line X logo SVG.
- View Count Row: 👁️ + metric (small text).
[Typography]
- Latin:
Chirp(X official font) → fallbackInterorSegoe UI. - Chinese:
Noto Sans SC/PingFang SC. - Metrics: Matches primary font, non-monospace.
[Design Details]
- Light Theme: bg
#fff, text#0f1419, secondary#536471, border#eff3f4, accent#1d9bf0. - Dark Theme (Recommended for video overlays): bg
#000, text#e7e9ea, secondary#71767b, border#2f3336, accent#1d9bf0. - Number Formatting: Short scale like 1.2K / 4.5M (do not use raw integers like 1234).
- Content must be derived from user input; do not fabricate tweet text.
- If input consists of raw data, automatically summarize it into a concise tweet quote (≤ 280 characters).
- Single-file HTML output; inline SVG icons; no external image URLs.
- Optional: Add a subtle background radial gradient
radial-gradient(...)behind the card to improve legibility on video overlays.





