Twitter card
Meta tags that control how a link looks when shared on X (formerly Twitter), such as a large image card.
In more detail
Set them with the twitter field of the Metadata API or a twitter-image file. X also falls back to Open Graph tags when they are missing.
Related terms
- Open Graph — A set of meta tags, started by Facebook, that tells social sites what title, description and image to show when a link is shared.
- meta tag — An HTML tag in the head that describes the page to browsers, search engines and social sites, such as its description.
- social card — The preview box with a title and image that appears when a link is shared on social networks or chat apps.
Taught in
- Metadata API: Dynamic OpenGraph & Head Management — Next.js 15 & Modern App Router Architecture