For AI agents: the complete documentation index is available at https://payhon.github.io/AppKernia/en-US/llms.txt, the full documentation bundle is available at https://payhon.github.io/AppKernia/en-US/llms-full.txt, and this page is available as Markdown at https://payhon.github.io/AppKernia/en-US/mobile-components/button.md.

ak-button

The button covers primary, secondary, and dangerous actions. It has a 44px minimum height and emits no click while loading or disabled.

<ak-button
  variant="primary"
  :loading="saving"
  :disabled="!canSubmit"
  :loading-text="t('common.status.saving')"
  :label="t('common.actions.save')"
  @click="submit"
/>
PropTypeDefaultMeaning
variantStringprimaryprimary, secondary, or danger; unknown values fall back to primary
loadingBooleanfalseShows loadingText and blocks click
disabledBooleanfalseReduces opacity and blocks click
loadingTextString''Localized loading label
labelString''Takes precedence over the default slot when non-empty

click emits with no payload only when the control is enabled and not loading. Keep one primary action in a group; use danger only for destructive actions with an explicit consequence and confirmation.