Variants and sizes

  • k-btngroup: pills at their natural width; they wrap to a second line when space runs out.
  • k-btngroup k-btngroup--fill: one equal column per button across the full width; each button stretches, and its side padding drops to space-md so the label fits.
  • In the spotlight: "Remind me later" (k-btn--on-spot-tonal) and "Skip" (k-btn--on-spot-outline) in a k-btngroup--fill, under the k-btn--on-spot k-btn--xl k-btn--block main action. SpotlightCard's k-spot__actions is the same two-up, built into the card.

States

The group has no state of its own; each button keeps its hover, pressed, focus and disabled states. When an action does not apply, leave it out rather than disable it: in a fill group, the button that stays takes the width.

Do and don’t

Do

  • Lead with the strongest action, and keep one ink or accent button per group.

  • Keep two-up labels to a few short words: "Remind me later", "Skip".

Don’t

  • Put more than two buttons in a two-up, or more than three in a row.

  • Mix button sizes in one group.

  • Group actions that act on different things.

What you provide

  • The buttons: label, variant and press handler for each, icon optional.
  • The group's name.
  • The layout: row or fill.