Founding price: $35, then $99 after 23:59 UTC on 4 November, then $99
Get ProUpload a share image, check the recommended 1200 by 630 shape and size, and see it inside a mock social card with the page title and description, trimmed like real previews; warns when text will be cut. Use this when sharing previews matter for links.
Derived from this item’s props table, because it declares no controls of its own. This item has no standalone playground, so changes update the code, the share link and the AI prompt.
Pages need an image for link previews (Open Graph, Twitter cards) and editors should see the result before publishing.
Do not use it when: For general image editing, use a cropper.
This item is part of tealmac UI Pro
The source for this item installs with a Pro licence key. Log in with your key to see the install command, or read the Pro setup page.
| Prop | Type | Default | Description |
|---|---|---|---|
domain | string | example.com | Shown above the title in the card. |
measure | (file) => Promise<{ width, height }> | decode with Image | Replace for SVG. |
onChange | ({ title, description, image }) => void | - | After an image is chosen. |
ogProblems(size, bytes) and clip(text, max) are exported.
The pattern ships with a Testing Library test (og-image-preview-card.test.tsx) that covers: its main behaviour, the keyboard path and the error or empty states.