Appearance
UtilityShareButton
Shares with the system sheet (Web Share API) or copies the address.
ts
import { UtilityShareButton } from '@zairakai/vue-components/Utility'Usage
vue
<UtilityShareButton />Props
| Name | Type | Default | Description |
|---|---|---|---|
id | string | ||
class | string | ||
title | string | ||
text | string | ||
url | string | The address to share. The current page by default. | |
label | string | 'Share' | |
copiedLabel | string | 'Link copied' |
Events
| Name | Description |
|---|---|
share | |
copy | |
error |
Slots
| Name | Description |
|---|---|
default |
See Theming for the class hooks and the data-* state of the components.