<tap-button>

Mobile button component. Supports semantic colors, sizes, reverse/ghost styles and rounded corners.

Example

API

Shadow DOM; Extends GemElement

Instance Properties

Property(Attribute) Reactive Type
type(type) Yes 'solid' | 'reverse'
color(color) Yes StringList<'normal' | 'danger' | 'cancel'>
small(small) Yes boolean
round(round) Yes boolean
square(square) Yes boolean
disabled(disabled) Yes boolean
borderless(borderless) Yes boolean
route Yes RouteItem
params Yes Record<string, string>
query Yes Record<string, string>
icon Yes string | Element | DocumentFragment

Other

Type Value
Slot unnamed
Part button
CSS State active