algorithmic-color-paleโฆ
Derive a full UI palette from one or two brand colours โ state variants, brand-tinted greys, semantic colours. Use when buildingโฆ
Currency, language, region and unit selectors live in a low-profile header or footer spot. Use when designing locale switchers or product-wide preference controls.
Claude Code
$ npx -y skills add dembrandt/dembrandt-skills --skill global-toolbar-controls --agent claude-code
Codex
$ npx skills add dembrandt/dembrandt-skills --skill global-toolbar-controls -a codex -y
Cursor
$ npx skills add dembrandt/dembrandt-skills --skill global-toolbar-controls -a cursor -y
Gemini CLI
$ npx skills add dembrandt/dembrandt-skills --skill global-toolbar-controls -a gemini-cli -y
GitHub Copilot
$ npx skills add dembrandt/dembrandt-skills --skill global-toolbar-controls -a github-copilot -y
OpenCode
$ npx skills add dembrandt/dembrandt-skills --skill global-toolbar-controls -a opencode -y
Windsurf
$ npx skills add dembrandt/dembrandt-skills --skill global-toolbar-controls -a windsurf -y
name: global-toolbar-controls
description: Currency, language, region and unit selectors live in a low-profile header or footer spot. Use when designing locale switchers or product-wide preference controls.
metadata:
priority: 5
pathPatterns:
- "components/**"
- "src/components/**"
- "**/*.tsx"
- "**/*.jsx"
- "design-system/**"
- "ui/**"
promptSignals:
phrases:
- "currency"
- "language"
- "locale"
- "region"
- "global settings"
- "toolbar"
- "header controls"
- "units"
retrieval:
aliases:
- global settings
- locale switcher
- currency selector
- language switcher
- toolbar controls
- header utility bar
intents:
- add currency switcher
- design language selector
- place global settings in layout
- add locale controls to header
examples:
- where should the currency selector go
- add a language switcher to the header
- design global settings controls for the toolbarGlobal controls affect the entire product experience but are not the user's primary task. They are reached occasionally โ once per session or less โ and should not compete visually with primary navigation or content.
Typical global toolbar controls:
These are distinct from user account settings (which live in a profile menu) and from contextual settings (which live adjacent to the feature they affect).
Two classes hide in this list. Controls that change what is shown (region, market, tenant) and controls that change how it is presented (language, theme, units). Group them apart. Lay the preferences out as a row, not a stack. A stack grows with every preference and gives a personal setting the same weight as the control that picks the data. A row absorbs the next preference at no cost to height.
A secondary row above or within the main header, right-aligned. Common on e-commerce and international sites.
[Logo] [EN | EUR | ๐] [Account] [Cart] โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ [Main navigation]
Inline with the main header, far right, using small typography and minimal visual weight.
[Logo] [Nav items ...] [EUR โพ] [EN โพ] [Account โพ]
For controls the user sets once and rarely revisits. Language and region selectors frequently appear in footers on large international sites (Airbnb, Apple). Appropriate when the control is truly infrequent.
For more complex preference sets, a Settings page or panel is cleaner than cramming everything into the toolbar. The toolbar should link to it, not contain it.
Global toolbar controls are secondary UI โ they should not draw the eye away from primary content.
.toolbar-control {
font-size: var(--text-sm); /* 13โ14px */
color: var(--color-text-secondary);
font-weight: 400;
padding: 4px 8px;
}Global controls typically use a **compact dropdown** โ clicking the label opens a small popover or select with the available options.
To fit a flag into a round or square icon, crop it or use artwork drawn for that shape. Give the icon box explicit equal width and height so no border, line-height or flex container can resize one axis; check rendered width and height separately.
Enterprise UX secrets, now built into your AI agent. Your agent writes the component in seconds. It does not know the modal should be a drawer, or that the grey it picked fails contrast. These skills carry that judgment: what to do, and what breaks otherwise.
Derive a full UI palette from one or two brand colours โ state variants, brand-tinted greys, semantic colours. Use when buildingโฆ
Top bar, sidebar rail, app launcher, tenant and environment cue, status bar. Use when designing the persistent shell, aโฆ
Product visuals must show the real product with real data. Use when building landing pages, hero sections, screenshots or demoโฆ
Shape language across type, radius and icons carries brand personality. Use when starting a design system, picking icons orโฆ
Rest, hover, active, focus, disabled and loading states, derived from the base colour. Use when designing buttons, links, inputsโฆ
Rebuild a live web page 1:1 from measurement into Figma, Penpot or code, then verify it. Use when reproducing a page or checkingโฆ
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, orโฆ
Ask which skill or flow fits your situation. A router over the skills in this repo.