Label left, icon right
Sharp 48px buttons with the label at the left edge and the icon pinned right. Primary, secondary, tertiary, ghost.
The code
Plain HTML and CSS on your kit's variables. Put it next to tokens/variables.css from your kit's files and it draws in your look.
<div class="ukc-button-carbon-productive">
<div class="row">
<button class="btn primary" type="button">Add to order <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M12 5v14M5 12h14"/></svg></button>
<button class="btn secondary" type="button">Export <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5 12h14M13 6l6 6-6 6"/></svg></button>
<button class="btn tertiary" type="button">Preview <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7S2 12 2 12z"/><circle cx="12" cy="12" r="3"/></svg></button>
<button class="btn ghost" type="button">Settings <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="12" cy="12" r="3"/><path d="M12 2v3M12 19v3M2 12h3M19 12h3M4.9 4.9l2.1 2.1M17 17l2.1 2.1M4.9 19.1L7 17M17 7l2.1-2.1"/></svg></button>
</div>
</div>
.ukc-button-carbon-productive { position: relative; font-family: var(--uk-font-body, system-ui, sans-serif); color: var(--uk-ink); font-size: 15px; line-height: 1.5;
--tint: color-mix(in srgb, var(--uk-accent) 12%, var(--uk-paper));
--tint-strong: color-mix(in srgb, var(--uk-accent) 22%, var(--uk-paper));
--accent-deep: color-mix(in srgb, var(--uk-accent) 72%, black);
--ink-soft: color-mix(in srgb, var(--uk-ink) 8%, var(--uk-paper));
--line-strong: color-mix(in srgb, var(--uk-ink) 32%, var(--uk-paper));
--danger-tint: color-mix(in srgb, var(--uk-danger) 12%, var(--uk-paper));
--high-tint: color-mix(in srgb, var(--uk-highlight) 28%, var(--uk-paper)); }
.ukc-button-carbon-productive *, .ukc-button-carbon-productive *::before, .ukc-button-carbon-productive *::after { box-sizing: border-box; }
.ukc-button-carbon-productive :where(h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote) { margin: 0; }
.ukc-button-carbon-productive :where(ul, ol) { padding: 0; list-style: none; }
.ukc-button-carbon-productive :where(button, input, select, textarea) { font: inherit; color: inherit; }
.ukc-button-carbon-productive :where(a) { color: inherit; }
.ukc-button-carbon-productive svg { flex: none; }
.ukc-button-carbon-productive .row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.ukc-button-carbon-productive .btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 32px; min-width: 160px; height: 48px; padding: 0 16px; border: 1px solid transparent; border-radius: 0; font-size: 14px; letter-spacing: 0.01em; cursor: pointer; text-align: left; }
.ukc-button-carbon-productive .btn.primary { background: var(--uk-accent); color: var(--uk-accent-ink); }
.ukc-button-carbon-productive .btn.secondary { background: var(--uk-ink); color: var(--uk-paper); }
.ukc-button-carbon-productive .btn.tertiary { background: transparent; color: var(--uk-accent); border-color: var(--uk-accent); }
.ukc-button-carbon-productive .btn.ghost { background: transparent; color: var(--uk-accent); min-width: 0; }
.ukc-button-carbon-productive .btn.ghost:hover, .ukc-button-carbon-productive .btn.tertiary:hover { background: var(--tint); }
.ukc-button-carbon-productive .btn:focus-visible { outline: 2px solid var(--uk-accent); outline-offset: -4px; box-shadow: inset 0 0 0 3px var(--uk-paper); }