Content
Thumbnail
Thumbnail image. Wraps the Polaris <s-thumbnail> web component.
Usage
<template>
<ShThumbnail src="https://example.com/thumb.jpg" alt="Product" size="base" />
</template>
Props
| Prop | Type | Default | Description |
|---|---|---|---|
src | string | — | Image source URL |
alt | string | — | Alt text |
size | 'small' | 'small-100' | 'small-200' | 'base' | 'large' | 'large-100' | — | Thumbnail size |
Slots
| Slot | Description |
|---|---|
default | Additional content |
Polaris Element
Renders as <s-thumbnail>. See Polaris Thumbnail docs.