Button
<gok-button>brand for the single hero call.design system · v2 · components
33 families on the same six-file anatomy — Lit web components that read only tokens, so they inherit the neutral-led brand and theme by one attribute. Each below shows its variants and a quick use / don't.
Get started
Not yet published — for now, consume from the workspace. Once published the shape is one import for the foundations, then per-element registrations.
import '@gokberknur/design-system/tokens.css';
import '@gokberknur/design-system/gok-button';
<gok-button variant="brand">Get started</gok-button>
The things people click. One primary action per context — neutral; forest is the one rationed brand button.
<gok-button>brand for the single hero call.<gok-link>Read the
<gok-tag>Inputs and choices. Selection states stay neutral; the focus ring is the forest stamp.
<gok-input>label + helper; show errors with a word, not just colour.<gok-checkbox><gok-radio-group><gok-switch><gok-select><gok-segmented><gok-theme-switch>Showing content. One frame per surface; the featured mark is a single warm beat, never a fill.
<gok-card>A neutral-led identity for a regional cider maker — one earned green, set in Geist.
Footers pin to the bottom, so actions align across a card-grid row even when bodies differ.
<gok-badge>info = turquoise, featured = sunset.<gok-divider>Above the rule.
Below the rule.
<gok-icon>label when it stands alone, none when paired with text.<gok-accordion>Invoices are issued on the first of each month and charged to your default card.
Choose which events reach you by email and which stay in-app.
<gok-empty-state>Try a different search term or clear your filters.
<gok-table>Telling people what happened, and floating layers. Status is rule + icon + word; overlays trap focus and return it.
<gok-alert><gok-toast>toaster helper; it auto-dismisses.<gok-tooltip><gok-popover>Anyone with the link can view the result.
<gok-dialog>The current build replaces the live site.
<gok-drawer><gok-spinner><gok-progress><gok-skeleton>