Skip to content

Ap-IconButton

Button is an extension to standard input element with icons and theming.

Example

Default

ts
    <ApButton icon="ap-icon ap-plus" label="Nouvelle publication" />

Secondary

ts
    <ApButton label="Retour" variant="secondary"/>

Disable

ts
    <ApButton label="Confirmer" variant="disable"/>

Ghost

ts
    <ApButton label="Confirmer" variant="ghost"/>

Props

NameTypeDefaultRequired
iconstringnullfalse
labelstringnulltrue
variantdefault secondary disable ghost secondarydefaultfalse