Founding price: $35, then $99 after 23:59 UTC on 4 November, then $99
Get ProA wide cover image (3 to 1) that crops in place: choose, crop to the right shape with a live size readout, apply, and see exactly how it will look across the page, with Replace and Remove. Use this when a banner must have a fixed shape and the crop belongs on the page, not in a dialog.
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.
A banner or header image must fit a fixed ratio and people crop it as part of editing the page.
Do not use it when: For square avatars use the avatar pattern. If any shape is fine, do not force a crop.
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 |
|---|---|---|---|
ratio | number | 3 | Width over height. |
width | number | 1500 | Output width in pixels. |
onChange | (file: File | null) => void | - | The cropped JPEG, or null when cleared. |
The pattern ships with a Testing Library test (cover-image-inline-crop.test.tsx) that covers: its main behaviour, the keyboard path and the error or empty states.