Component
ki-button
A token-styled action button with native button semantics.
<ki-button variant="primary" tone="success">Save changes</ki-button>Examples
Section titled “Examples”Variants
Section titled “Variants”Five emphasis levels, secondary by default. Use primary for the single
main action of a view.
<ki-button variant="primary">Primary</ki-button><ki-button variant="secondary">Secondary</ki-button><ki-button variant="tertiary">Tertiary</ki-button><ki-button variant="quaternary">Quaternary</ki-button><ki-button variant="ghost">Ghost</ki-button>tone carries intent (confirming, destructive) independently of hierarchy —
never use it for visual emphasis.
<ki-button variant="primary" tone="neutral">Neutral</ki-button><ki-button variant="primary" tone="success">Success</ki-button><ki-button variant="primary" tone="danger">Danger</ki-button><ki-button size="xs">xs</ki-button><ki-button size="sm">sm</ki-button><ki-button size="md">md</ki-button><ki-button size="lg">lg</ki-button><ki-button size="xl">xl</ki-button>Slots and states
Section titled “Slots and states”Decorative slotted media carries aria-hidden="true"; the slotted text is the
accessible name.
<ki-button variant="secondary"><span slot="start" aria-hidden="true">New</span>With slots</ki-button><ki-button variant="primary" disabled>Disabled</ki-button>Form participation
Section titled “Form participation”ki-button defaults to type="submit", exactly like a native button: it
submits the owning form, runs constraint validation and contributes
name/value to the form data. Cancel a submission from the form’s
submit event, not from click.
<form onsubmit="event.preventDefault()"><ki-button name="intent" value="save">Save draft</ki-button></form>API reference
Section titled “API reference”When to use: trigger the single main action of a view, supporting actions in descending hierarchy, or confirming/destructive actions through tone.
When not to use: navigation, icon-only actions, persistent toggles, or loading/progress semantics.
Properties & attributes
| Attribute | Property | Type | Default | Description |
|---|---|---|---|---|
disabled | disabled | boolean | false | Prevents activation, removes the button from keyboard reach, and exposes the unavailable state through the internal native button. When NOT to use: do not use disabled for pending/loading semantics. |
name | name | string | undefined | – | Form-data key contributed when this button submits its form. When NOT to use: omit when no submitter value should be sent. |
size | size | "lg" | "md" | "sm" | "xl" | "xs" | 'md' | Token-backed button size. Every size keeps at least the minimum pointer target; choose the size that matches the density of the surrounding UI. When NOT to use: do not use ki-button for icon-only compact controls. |
tone | tone | "danger" | "neutral" | "success" | 'neutral' | Semantic intent for the action, independent of hierarchy. Use success for confirming actions and danger for destructive actions. When NOT to use: do not use tone for visual hierarchy; use variant. |
type | type | "button" | "reset" | "submit" | 'submit' | Native form action type: submit submits the owning form (running constraint validation and contributing name/value to the form data), reset restores field defaults, button never touches the form. Cancel a submission from the form's submit event (preventDefault()); unlike a native button, preventDefault() on the click event does not cancel it. During submission event.submitter is a transient native button carrying this element's name/value, not the ki-button host. When NOT to use: use button when the action must never submit a form. |
value | value | string | undefined | – | Form-data value paired with name when this button submits its form. When NOT to use: omit when the default empty submitter value is intended. |
variant | variant | "ghost" | "primary" | "quaternary" | "secondary" | "tertiary" | 'secondary' | Visual hierarchy for the action. Use primary for the single main action in a view and lower-emphasis variants for supporting actions. When NOT to use: do not use variant to signal success or danger; use tone for intent. |
Slots
| Slot | Description |
|---|---|
| (default) | Label content. This is the accessible name source. |
end | Trailing icon or media. Follows writing direction. |
start | Leading icon or media. Follows writing direction. |
CSS parts
| Part | Description |
|---|---|
button | Internal native button. |
label | Label wrapper around the default slot. |
CSS custom properties
The public styling contract of ki-button: reassign these tokens at :root or on a subtree — never override internals.
| Token | Description |
|---|---|
--ki-button-backdrop-blur | backdrop blur used by the button component glass variants (primary/secondary). material3 resolves to blur none via the semantic override. |
--ki-button-border-width | dimension used by the button component for border width (MarsUI bevel/outline stroke: 1px). |
--ki-button-focus-ring-color | color used by the button component for focus ring color. |
--ki-button-focus-ring-offset | dimension used by the button component for focus ring offset. |
--ki-button-focus-ring-shadow | shadow used by the button component for the focus ring glow (MarsUI Focus/primary: 3px spread ring). |
--ki-button-focus-ring-width | dimension used by the button component for focus ring width. |
--ki-button-font-family | font family used by the button component for font family. |
--ki-button-font-weight | font weight used by the button component for font weight. |
--ki-button-ghost-danger-hover-bg | color used by the button component for ghost danger hover background. |
--ki-button-ghost-danger-hover-border | color used by the button component for ghost danger hover border. |
--ki-button-ghost-danger-hover-fg | color used by the button component for ghost danger hover foreground. |
--ki-button-ghost-danger-rest-bg | color used by the button component for ghost danger rest background. |
--ki-button-ghost-danger-rest-border | color used by the button component for ghost danger rest border. |
--ki-button-ghost-danger-rest-fg | color used by the button component for ghost danger rest foreground. |
--ki-button-ghost-disabled-shadow | value used by the button component for ghost disabled shadow. |
--ki-button-ghost-hover-shadow | value used by the button component for ghost hover shadow. |
--ki-button-ghost-neutral-disabled-bg | color used by the button component for ghost neutral disabled background. |
--ki-button-ghost-neutral-disabled-border | color used by the button component for ghost neutral disabled border. |
--ki-button-ghost-neutral-disabled-fg | color used by the button component for ghost neutral disabled foreground. |
--ki-button-ghost-neutral-hover-bg | color used by the button component for ghost neutral hover background. |
--ki-button-ghost-neutral-hover-border | color used by the button component for ghost neutral hover border. |
--ki-button-ghost-neutral-hover-fg | color used by the button component for ghost neutral hover foreground. |
--ki-button-ghost-neutral-rest-bg | color used by the button component for ghost neutral rest background. |
--ki-button-ghost-neutral-rest-border | color used by the button component for ghost neutral rest border. |
--ki-button-ghost-neutral-rest-fg | color used by the button component for ghost neutral rest foreground. |
--ki-button-ghost-rest-shadow | value used by the button component for ghost rest shadow. |
--ki-button-ghost-success-hover-bg | color used by the button component for ghost success hover background. |
--ki-button-ghost-success-hover-border | color used by the button component for ghost success hover border. |
--ki-button-ghost-success-hover-fg | color used by the button component for ghost success hover foreground. |
--ki-button-ghost-success-rest-bg | color used by the button component for ghost success rest background. |
--ki-button-ghost-success-rest-border | color used by the button component for ghost success rest border. |
--ki-button-ghost-success-rest-fg | color used by the button component for ghost success rest foreground. |
--ki-button-label-padding-inline | dimension used by the button component for the label Text_wrap inline padding (MarsUI 8003:300: 4px each side of the label; the flex gap subtracts the same value so icon-to-text keeps the composite distance). |
--ki-button-lg-font-size | dimension used by the button component for lg font size. |
--ki-button-lg-gap | dimension used by the button component for lg gap. |
--ki-button-lg-height | dimension used by the button component for lg height. |
--ki-button-lg-icon-size | dimension used by the button component for lg icon size. |
--ki-button-lg-line-height | dimension used by the button component for lg line height. |
--ki-button-lg-min-target | dimension used by the button component for lg min target. |
--ki-button-lg-padding-inline | dimension used by the button component for lg padding inline. |
--ki-button-lg-radius | dimension used by the button component for lg radius. |
--ki-button-md-font-size | dimension used by the button component for md font size. |
--ki-button-md-gap | dimension used by the button component for md gap (MarsUI effective icon-to-text gap 6px). |
--ki-button-md-height | dimension used by the button component for md height. |
--ki-button-md-icon-size | dimension used by the button component for md icon size. |
--ki-button-md-line-height | dimension used by the button component for md line height. |
--ki-button-md-min-target | dimension used by the button component for md min target. |
--ki-button-md-padding-inline | dimension used by the button component for md padding inline. |
--ki-button-md-radius | dimension used by the button component for md radius. |
--ki-button-padding-block | dimension used by the button component for padding block (MarsUI: 4px in every size). |
--ki-button-primary-active-overlay | Pressed state layer for the primary button: primary paints on a dark brand fill, so its wash lightens: the next rung above ki.surface.hover-overlay (White/5 -> White/8 light). Replaces this variant's share of a 45-cell active bg/fg/border matrix whose values were documented mirrors of rest and which WITHDREW the hover overlay rather than deepening it, an appearance legible only to a pointer user who had hovered first. |
--ki-button-primary-danger-hover-bg | color used by the button component for primary danger hover background (MarsUI: rest fill; hover lightening comes from the hover overlay). |
--ki-button-primary-danger-hover-border | color used by the button component for primary danger hover border (MarsUI bevel top/inline edge). |
--ki-button-primary-danger-hover-fg | color used by the button component for primary danger hover foreground. |
--ki-button-primary-danger-rest-bg | color used by the button component for primary danger rest background. Deliberate deviation: Figma specifies the 500 ramp (Surface/danger_med_em #f05149) but white on 500 is ≈3.5:1 < AA 4.5:1; Kimen keeps the 700 ramp (precedent 010 D2, pending founder ratification). |
--ki-button-primary-danger-rest-border | color used by the button component for primary danger rest border (MarsUI bevel top/inline edge). |
--ki-button-primary-danger-rest-fg | color used by the button component for primary danger rest foreground. |
--ki-button-primary-disabled-shadow | value used by the button component for primary disabled shadow. |
--ki-button-primary-hover-overlay | color used by the button component for the primary hover overlay layer (MarsUI hover_overlay, White/5). |
--ki-button-primary-hover-shadow | shadow used by the button component for button primary hover shadow (MarsUI Component_effect/primary_hover). |
--ki-button-primary-neutral-disabled-bg | color used by the button component for primary neutral disabled background. Deliberate deviation: Figma disabled is Surface/disabled_base_em gray.100 with gray.400 text (≈1.4:1); Kimen keeps gray.200 for contrast (precedent 010 D2, pending founder ratification). |
--ki-button-primary-neutral-disabled-border | color used by the button component for primary neutral disabled border. |
--ki-button-primary-neutral-disabled-fg | color used by the button component for primary neutral disabled foreground. Deliberate deviation: Figma disabled text is text/base_em gray.400 (≈1.4:1 on gray.100); Kimen keeps text.muted gray.700 for readable disabled text (precedent 010 D2, pending founder ratification). |
--ki-button-primary-neutral-hover-bg | color used by the button component for primary neutral hover background (MarsUI: rest fill; hover lightening comes from the hover overlay). |
--ki-button-primary-neutral-hover-border | color used by the button component for primary neutral hover border (MarsUI bevel top/inline edge). |
--ki-button-primary-neutral-hover-fg | color used by the button component for primary neutral hover foreground. |
--ki-button-primary-neutral-rest-bg | color used by the button component for primary neutral rest background (MarsUI Surface/primary_med_em, brand 500). |
--ki-button-primary-neutral-rest-border | color used by the button component for primary neutral rest border (MarsUI bevel top/inline edge). |
--ki-button-primary-neutral-rest-fg | color used by the button component for primary neutral rest foreground. |
--ki-button-primary-rest-border-bottom | color used by the button component for the primary bevel bottom edge (MarsUI Outline/primary_button_bottom). |
--ki-button-primary-rest-shadow | shadow used by the button component for button primary rest shadow (MarsUI Component_effect/primary_default). |
--ki-button-primary-success-hover-bg | color used by the button component for primary success hover background (MarsUI: rest fill; hover lightening comes from the hover overlay). |
--ki-button-primary-success-hover-border | color used by the button component for primary success hover border (MarsUI bevel top/inline edge). |
--ki-button-primary-success-hover-fg | color used by the button component for primary success hover foreground. |
--ki-button-primary-success-rest-bg | color used by the button component for primary success rest background. Deliberate deviation: Figma specifies the 500 ramp (Surface/success_med_em #409b3f) but white on 500 is ≈3.5:1 < AA 4.5:1; Kimen keeps the 700 ramp (precedent 010 D2, pending founder ratification). |
--ki-button-primary-success-rest-border | color used by the button component for primary success rest border (MarsUI bevel top/inline edge). |
--ki-button-primary-success-rest-fg | color used by the button component for primary success rest foreground. |
--ki-button-quaternary-danger-hover-bg | color used by the button component for quaternary danger hover background. |
--ki-button-quaternary-danger-hover-border | color used by the button component for quaternary danger hover border (MarsUI quaternary is borderless in every state). |
--ki-button-quaternary-danger-hover-fg | color used by the button component for quaternary danger hover foreground. |
--ki-button-quaternary-danger-rest-bg | color used by the button component for quaternary danger rest background. |
--ki-button-quaternary-danger-rest-border | color used by the button component for quaternary danger rest border (MarsUI quaternary is borderless in every state). |
--ki-button-quaternary-danger-rest-fg | color used by the button component for quaternary danger rest foreground. |
--ki-button-quaternary-disabled-shadow | value used by the button component for quaternary disabled shadow. |
--ki-button-quaternary-hover-shadow | value used by the button component for quaternary hover shadow. |
--ki-button-quaternary-neutral-disabled-bg | color used by the button component for quaternary neutral disabled background. |
--ki-button-quaternary-neutral-disabled-border | color used by the button component for quaternary neutral disabled border (MarsUI quaternary is borderless in every state). |
--ki-button-quaternary-neutral-disabled-fg | color used by the button component for quaternary neutral disabled foreground. |
--ki-button-quaternary-neutral-hover-bg | color used by the button component for quaternary neutral hover background (MarsUI hover mechanism: hover_overlay_inverse Black/3 wash over the transparent rest fill). |
--ki-button-quaternary-neutral-hover-border | color used by the button component for quaternary neutral hover border (MarsUI quaternary is borderless in every state). |
--ki-button-quaternary-neutral-hover-fg | color used by the button component for quaternary neutral hover foreground (MarsUI quaternary label text/med_em gray; the outlined-purple rest identity was a pre-master synthesis). |
--ki-button-quaternary-neutral-rest-bg | color used by the button component for quaternary neutral rest background. |
--ki-button-quaternary-neutral-rest-border | color used by the button component for quaternary neutral rest border (MarsUI quaternary is borderless in every state). |
--ki-button-quaternary-neutral-rest-fg | color used by the button component for quaternary neutral rest foreground (MarsUI quaternary label text/med_em gray; the outlined-purple rest identity was a pre-master synthesis). |
--ki-button-quaternary-rest-shadow | value used by the button component for quaternary rest shadow. |
--ki-button-quaternary-success-hover-bg | color used by the button component for quaternary success hover background. |
--ki-button-quaternary-success-hover-border | color used by the button component for quaternary success hover border (MarsUI quaternary is borderless in every state). |
--ki-button-quaternary-success-hover-fg | color used by the button component for quaternary success hover foreground. |
--ki-button-quaternary-success-rest-bg | color used by the button component for quaternary success rest background. |
--ki-button-quaternary-success-rest-border | color used by the button component for quaternary success rest border (MarsUI quaternary is borderless in every state). |
--ki-button-quaternary-success-rest-fg | color used by the button component for quaternary success rest foreground. |
--ki-button-secondary-active-overlay | Pressed state layer for the secondary button: secondary paints on a light fill, so its wash darkens: the next rung above ki.surface.hover-overlay-inverse (Black/3 -> Black/5 light). Replaces this variant's share of a 45-cell active bg/fg/border matrix whose values were documented mirrors of rest and which WITHDREW the hover overlay rather than deepening it, an appearance legible only to a pointer user who had hovered first. |
--ki-button-secondary-danger-hover-bg | color used by the button component for secondary danger hover background. |
--ki-button-secondary-danger-hover-border | color used by the button component for secondary danger hover border (MarsUI bevel top/inline edge, variant trait). |
--ki-button-secondary-danger-hover-fg | color used by the button component for secondary danger hover foreground. |
--ki-button-secondary-danger-rest-bg | color used by the button component for secondary danger rest background. |
--ki-button-secondary-danger-rest-border | color used by the button component for secondary danger rest border (MarsUI bevel top/inline edge, variant trait). |
--ki-button-secondary-danger-rest-fg | color used by the button component for secondary danger rest foreground. |
--ki-button-secondary-disabled-shadow | value used by the button component for secondary disabled shadow. |
--ki-button-secondary-hover-overlay | color used by the button component for the secondary hover overlay layer (MarsUI hover_overlay_inverse, Black/3). |
--ki-button-secondary-hover-shadow | shadow used by the button component for secondary hover shadow (MarsUI Component_effect/secondary_hover). |
--ki-button-secondary-neutral-disabled-bg | color used by the button component for secondary neutral disabled background. |
--ki-button-secondary-neutral-disabled-border | color used by the button component for secondary neutral disabled border. |
--ki-button-secondary-neutral-disabled-fg | color used by the button component for secondary neutral disabled foreground. |
--ki-button-secondary-neutral-hover-bg | color used by the button component for secondary neutral hover background (MarsUI: rest fill; hover darkening comes from the hover overlay). |
--ki-button-secondary-neutral-hover-border | color used by the button component for secondary neutral hover border (MarsUI bevel top/inline edge). |
--ki-button-secondary-neutral-hover-fg | color used by the button component for secondary neutral hover foreground (MarsUI text/high_em). |
--ki-button-secondary-neutral-rest-bg | color used by the button component for secondary neutral rest background (MarsUI Surface/special/secondary_alpha_base: gray glass, not a brand tint). |
--ki-button-secondary-neutral-rest-border | color used by the button component for secondary neutral rest border (MarsUI bevel top/inline edge). |
--ki-button-secondary-neutral-rest-fg | color used by the button component for secondary neutral rest foreground (MarsUI text/high_em). |
--ki-button-secondary-rest-border-bottom | color used by the button component for the secondary bevel bottom edge (MarsUI Outline/secondary_button_bottom). |
--ki-button-secondary-rest-shadow | shadow used by the button component for secondary rest shadow (MarsUI Component_effect/secondary_default). |
--ki-button-secondary-success-hover-bg | color used by the button component for secondary success hover background. |
--ki-button-secondary-success-hover-border | color used by the button component for secondary success hover border (MarsUI bevel top/inline edge, variant trait). |
--ki-button-secondary-success-hover-fg | color used by the button component for secondary success hover foreground. |
--ki-button-secondary-success-rest-bg | color used by the button component for secondary success rest background. |
--ki-button-secondary-success-rest-border | color used by the button component for secondary success rest border (MarsUI bevel top/inline edge, variant trait). |
--ki-button-secondary-success-rest-fg | color used by the button component for secondary success rest foreground. |
--ki-button-sm-font-size | dimension used by the button component for sm font size. |
--ki-button-sm-gap | dimension used by the button component for sm gap (interpolated between xs and md effective gaps). |
--ki-button-sm-height | dimension used by the button component for sm height. |
--ki-button-sm-icon-size | dimension used by the button component for sm icon size. |
--ki-button-sm-line-height | dimension used by the button component for sm line height. |
--ki-button-sm-min-target | dimension used by the button component for sm min target. |
--ki-button-sm-padding-inline | dimension used by the button component for sm padding inline. |
--ki-button-sm-radius | dimension used by the button component for sm radius. |
--ki-button-tertiary-danger-hover-bg | color used by the button component for tertiary danger hover background (one light step over the rest fill; dark keeps the rest fill — the hover signal is Component_effect/secondary_hover). |
--ki-button-tertiary-danger-hover-border | color used by the button component for tertiary danger hover border (MarsUI secondary bevel top/inline edge — tertiary carries the secondary_button outline pair). |
--ki-button-tertiary-danger-hover-fg | color used by the button component for tertiary danger hover foreground. |
--ki-button-tertiary-danger-rest-bg | color used by the button component for tertiary danger rest background (MarsUI tertiary fill Surface/special/light-s0_dark-s2: White light, Dark/800 dark). |
--ki-button-tertiary-danger-rest-border | color used by the button component for tertiary danger rest border (MarsUI secondary bevel top/inline edge — tertiary carries the secondary_button outline pair). |
--ki-button-tertiary-danger-rest-fg | color used by the button component for tertiary danger rest foreground. |
--ki-button-tertiary-disabled-shadow | value used by the button component for tertiary disabled shadow. |
--ki-button-tertiary-hover-shadow | shadow used by the button component for tertiary hover shadow (MarsUI Component_effect/secondary_hover). |
--ki-button-tertiary-neutral-disabled-bg | color used by the button component for tertiary neutral disabled background. |
--ki-button-tertiary-neutral-disabled-border | color used by the button component for tertiary neutral disabled border. |
--ki-button-tertiary-neutral-disabled-fg | color used by the button component for tertiary neutral disabled foreground. |
--ki-button-tertiary-neutral-hover-bg | color used by the button component for tertiary neutral hover background (one light step over the rest fill; dark keeps the rest fill — the hover signal is Component_effect/secondary_hover). |
--ki-button-tertiary-neutral-hover-border | color used by the button component for tertiary neutral hover border (MarsUI secondary bevel top/inline edge — tertiary carries the secondary_button outline pair). |
--ki-button-tertiary-neutral-hover-fg | color used by the button component for tertiary neutral hover foreground (MarsUI tertiary label text/med_em gray — Kimen tertiary maps to Figma tertiary; the purple-label row is primary_flat, documented alternative). |
--ki-button-tertiary-neutral-rest-bg | color used by the button component for tertiary neutral rest background (MarsUI tertiary fill Surface/special/light-s0_dark-s2: White light, Dark/800 dark). |
--ki-button-tertiary-neutral-rest-border | color used by the button component for tertiary neutral rest border (MarsUI secondary bevel top/inline edge — tertiary carries the secondary_button outline pair). |
--ki-button-tertiary-neutral-rest-fg | color used by the button component for tertiary neutral rest foreground (MarsUI tertiary label text/med_em gray — Kimen tertiary maps to Figma tertiary; the purple-label row is primary_flat, documented alternative). |
--ki-button-tertiary-rest-border-bottom | color used by the button component for the tertiary bevel bottom edge (MarsUI Outline/secondary_button_bottom — same bevel pair as secondary). |
--ki-button-tertiary-rest-shadow | shadow used by the button component for tertiary rest shadow (MarsUI Component_effect/secondary_default — replaces the migrated M2-era stack, which the material3 theme keeps via its own override). |
--ki-button-tertiary-success-hover-bg | color used by the button component for tertiary success hover background (one light step over the rest fill; dark keeps the rest fill — the hover signal is Component_effect/secondary_hover). |
--ki-button-tertiary-success-hover-border | color used by the button component for tertiary success hover border (MarsUI secondary bevel top/inline edge — tertiary carries the secondary_button outline pair). |
--ki-button-tertiary-success-hover-fg | color used by the button component for tertiary success hover foreground. |
--ki-button-tertiary-success-rest-bg | color used by the button component for tertiary success rest background (MarsUI tertiary fill Surface/special/light-s0_dark-s2: White light, Dark/800 dark). |
--ki-button-tertiary-success-rest-border | color used by the button component for tertiary success rest border (MarsUI secondary bevel top/inline edge — tertiary carries the secondary_button outline pair). |
--ki-button-tertiary-success-rest-fg | color used by the button component for tertiary success rest foreground. |
--ki-button-xl-font-size | dimension used by the button component for xl font size. |
--ki-button-xl-gap | dimension used by the button component for xl gap (MarsUI effective icon-to-text gap 8px). |
--ki-button-xl-height | dimension used by the button component for xl height. |
--ki-button-xl-icon-size | dimension used by the button component for xl icon size. |
--ki-button-xl-line-height | dimension used by the button component for xl line height. |
--ki-button-xl-min-target | dimension used by the button component for xl min target. |
--ki-button-xl-padding-inline | dimension used by the button component for xl padding inline (MarsUI 14px). |
--ki-button-xl-radius | dimension used by the button component for xl radius. |
--ki-button-xs-font-size | dimension used by the button component for xs font size (MarsUI caption_1 10px). |
--ki-button-xs-gap | dimension used by the button component for xs gap (MarsUI effective icon-to-text gap 4px). |
--ki-button-xs-height | dimension used by the button component for xs height. |
--ki-button-xs-icon-size | dimension used by the button component for xs icon size (MarsUI 14px). |
--ki-button-xs-line-height | dimension used by the button component for xs line height (MarsUI caption_1 16px). |
--ki-button-xs-min-target | dimension used by the button component for xs min target. |
--ki-button-xs-padding-inline | dimension used by the button component for xs padding inline. |
--ki-button-xs-radius | dimension used by the button component for xs radius. |
--ki-motion-duration-fast | Fast interaction transition duration. |
--ki-motion-easing-out | Decelerating interaction transition easing curve. |
--ki-transparent-inverse | semantic color for transparent inverse. |
Accessibility
Section titled “Accessibility”The slotted text is the accessible name — icon-only usage is unsupported
(that is ki-icon-button’s job, with
its mandatory label). disabled removes the button from keyboard reach
and exposes the unavailable state through the internal native button; do not
use it for pending or loading semantics.
Workshop
Section titled “Workshop”Open ki-button in Storybook — every state, with theme and scheme toolbars.