Button (button
)
🔗 External documentation.
ID | Label | Description | Schema |
---|---|---|---|
label | Label | ||
url | URL |
|
id: button
label: Button
homepage: 'https://design-system.w3.org/styles/links.html'
variants:
default:
id: default
label: Default
alt:
id: alt
label: Alternate
ghost:
id: ghost
label: Ghost
slots:
label:
id: label
label: Label
props:
url:
id: url
label: URL
schema:
type: string
examples:
preview:
id: preview
label: Preview
renderable:
'@component': button
label: 'Text link'
url: '#1'