Founding price: $35, then $99 after 23:59 UTC on 4 November, then $99
Get ProUse this when a homepage hero rotates promotions with calls to action: a looping hero with buttons on every slide and the Pause, dots and progress laid over the picture, holding while focus is on a button.
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.
Use it for a campaign or product hero with two to four slides, each with one clear action, where the controls should not take space under the picture.
Do not use it as the only way to reach important actions: a rotating hero hides the other slides. Keep the main navigation elsewhere.
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 |
|---|---|---|---|
slides | HeroSlide[] | - | Each has an id, heading, text, cta label, href and a background style. |
label | string | - | Accessible name of the carousel. |
interval | number | 6000 | Time on each slide in ms. |
The pattern ships with a Testing Library test (hero-promo-overlay-controls.test.tsx). Embla needs layout to count snaps, and jsdom has none, so the repo's mockCarouselLayout helper gives the viewport and slides real sizes.