Icon Button — Playground

px
shape
appearance
size
State
html.html
<button kuiIconButton type="button" appearance="primary" aria-label="Settings">
  <kui-icon [source]="settingsIcon" />
</button>
NameTypeDefaultDescription
shape'solid' | 'soft' | 'outline' | 'ghost''ghost'Surface treatment. Defaults to ghost. Combines freely with appearance.
appearance'primary' | 'danger' | 'success' | 'warning' | nullnullSemantic color intent. Without an explicit value, solid/soft use primary colors and outline/ghost use neutral defaults.
size'xs' | 'sm' | 'md' | 'lg''md'Square control size mapped to Kikita control height tokens (matches kui-input height at md).
disabledbooleanfalseDisables native button behavior. Anchor icon buttons receive aria-disabled and leave tab order.
loadingbooleanfalseReplaces the icon (and any projected content) with a centered kui-loader spinner, sets aria-busy, and behaves like disabled.
iconKuiIconName | undefinedundefinedRenders a kui-icon resolved by name as the button content, prepended before any other projected content, without hand-projecting kui-icon.

Inputs verified against @kikita-labs/ui v1.6.1 public typings.