Components
BaseShowcaseStage
A decorative frame with a soft shape behind a small card, to present a product detail on a brand panel.
components/ui/BaseShowcaseStage.vue
View in the demo
Example
Floating
Pass floating to place the stage on the right of a brand panel, next to its headline. The panel must be positioned (relative or sticky) with container-type: inline-size; the stage scales down from 840px and hides below that width, so it never covers the text.
API
Props
Name | Type | Default | Description |
|---|---|---|---|
shape-color | string | "accent" | The colour of the shape behind the card. |
floating | boolean | false | Positions the stage absolutely on the right of the nearest container-type: inline-size panel: scaled to 80% from 840px, full size from 1040px and hidden below 840px. Without that panel it stays hidden. |
Slots
Name | Slot props | Description |
|---|---|---|
#default | — | The card content. |