Logo: Ux Selection Controls

Ux Selection Controls

Organisatioun
Uxcel-Lab
ux-selection-controls

Lued oder iwwerpréift Auswielkontrollen. Wielt déi passend Kontroll (Checkbox, Radio-Button, Kippschalter, Dropdown, Slider oder Picker) fir déi jeeweileg Wiel a befollegt Best Practices fir Bezeechnung, Ausriichtung an Zoustänn. Ausléiser: wann de Benotzer freet, Checkboxen, Radio-Buttons, Kippschalter, Dropdowns, Slider, Beräichsfilter oder eng aner Auswielkontroll ze gestalten oder ze iwwerpréiwen, oder freet: „Wéi eng Kontroll soll ech benotzen?“

Add to TypingMind

Iwwersiicht

EditeurUxcel-Lab
Repositoryproduct-skills
Skill-Nummux-selection-controls
Stären
35
Forks
8
Matgeliwwert Dateien
Nëmmen Instruktiounen
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • Alles an den Instruktiounen

    Alles, wat de Modell brauch, steet an den Instruktiounen — keng zousätzlech Dateien ze synchroniséieren.

  • Open Source

    Uxcel-Lab huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Ux Selection Controls an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/Uxcel-Lab/product-skills/tree/main/ux/components/selection-controls
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Uxcel-Lab/product-skills.git /tmp/product-skills
mkdir -p .claude/skills
cp -r /tmp/product-skills/ux/components/selection-controls .claude/skills/ux-selection-controls
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Ux Selection Controls an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Ux Selection Controls automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Ux Selection Controls net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Selection Controls Skill

How this skill behaves (read first)

This is a generative skill. The default failure mode is wrong-control selection: a dropdown for 3 options, a toggle for something that needs a Submit, radio buttons restyled as squares, a slider where precision matters. The control is determined by the structure of the choice (how many options, how many selectable, immediate vs. deferred effect) — not by looks. This skill gates:

  1. Establish the choice structure — that mostly decides the control; styling questions come second.
  2. Apply the always-true core — conventional shapes, interactive labels, clear alignment, defaults.
  3. Surface the context-dependent decisions (dropdown alternatives, slider variants, preset ranges) with trade-offs.

Then it hands off to ux-heuristics-audit, ux-accessibility-audit, ux-aesthetics-audit, and ux-microcopy-audit for validation.


Step 0 — Establish the choice structure

Four questions essentially pick the control:

  • How many options can the user select? One → radio buttons. Several (or zero) → checkboxes. Exactly on/off → toggle or standalone checkbox.
  • Does the choice take effect immediately or after submit? Immediate (settings, filters that live-update) → toggle switch / slider. Deferred until a Submit/confirm → checkbox or radio.
  • How many options are there? ≤5 → show them all (radio/checkboxes — visible options beat hidden ones). Long lists → dropdown with auto-suggest search, or text input.
  • Is the value a point/range on a scale? Approximate feel (volume, brightness, price band) → slider. Exact value matters → text input (or slider + linked input box).

Also establish platform — mobile changes alignment (switches right, labels left), touch-target demands, and picker choice (input picker for distant dates like birthdates; calendar picker for dates within ~a year).


The always-apply core (correct for almost every case)

Keep conventional shapes — they're load-bearing

  • Square = checkbox, circle = radio, rounded rectangle = switch. Restyle colors, borders, shadows freely; never the fundamental shape — users decide how to interact based on it.
    • ❌ Round checkboxes "for brand consistency" ✅ Square boxes with a checkmark; circles only for radios
  • Uniform control sizes within a group. Varying sizes subtly biases users toward options — guidance must stay transparent, not manipulative.
  • Indeterminate state for parent checkboxes in nested lists: empty = none, horizontal line = some, checkmark = all selected. Nest sub-options indented under their parent rather than flattening everything.

Labels do the heavy lifting

  • Labels are clickable/tappable — the whole label + control area activates the option (pointer cursor on desktop, comfortable touch area on mobile).
  • Start with the keyword, cut the rest. No questions, no ambiguity. For switches, the label states what happens when it's on — test by reading the label aloud + "on/off": ❌ "Do you want notifications?" ✅ "Email notifications"
  • ~14px label size, quieter than body text but readable; margin between control and label tight enough that pairing is never ambiguous.

Align for scanning

  • Vertical, single-column, left-aligned lists — easier to follow, matches left-edge scanning. Horizontal layouts only with generous spacing so label-control pairing stays obvious.
  • Controls before labels (LTR): faster successive clicking and a predictable pattern.
  • Multi-line labels: align the control with the first line of text; wrapped lines align with the line above (bullet-point style).
  • Subheads align with the controls, not the label text.
  • Mobile switches: switch right-aligned, label left-aligned.

Defaults and states

  • Required radio groups always have a default selected — prevents the "no option selected" error; base the default on the most common real choice.
  • Toggles take effect immediately and always have a default value. If the action needs review + Submit, it isn't a toggle — use a checkbox.
  • Standalone checkbox for a single opt-in (terms, newsletter) — never pre-checked for consent-type choices (→ dark-patterns territory).

Sliders (when the value is a range or feel)

  • Anatomy: track, thumb (big enough touch target — motor disabilities, older users), filled portion, min/max labels (essential for non-obvious units like price/time), value display that a finger doesn't cover.
  • Changes apply immediately — no Apply button; that's the slider's entire advantage.
  • Continuous slider for by-feel values (volume, brightness); ticks + auto-snapping when only discrete values are valid; dual thumbs for ranges (price filters); add a linked text input when users may need precision.
  • Recognizable thumb style and enough spacing between adjacent sliders to prevent accidental adjustments.
  • RTL locales: sliders run right-to-left.

The context-dependent decisions (surface, don't auto-apply)

DecisionApply whenAvoid / adapt whenDefault recommendation
Dropdown vs. visible optionsLong lists (countries) — saves space; add auto-suggest + frequent options on top≤5 options (hides choices, adds interaction cost)Radio/checkboxes up to ~5; searchable dropdown beyond
Toggle vs. checkboxImmediate-effect settings → toggleChoices reviewed and submitted together → checkboxDecide by effect timing, never by looks
Slider vs. preset rangesDesktop / precision-tolerant users → sliderMobile/on-the-go: tap-friendly presets ("Under $50," "$100–200")Offer presets where popular ranges are known; slider for custom
Slider vs. radio/dropdownGenuine range with many valuesFew distinct options or exact values requiredIf options are countable on one hand, don't use a slider
Histogram sliderData context helps the choice (price distribution à la Airbnb)Data adds noise, not signalPlain dual slider unless the distribution informs the decision
Picker type (mobile dates)Input picker + mask for distant dates (birthdate); calendar picker within ~a year (booking)Calendar pickers for birthdates (endless scrolling); nested dropdownsMatch picker to date distance
Default selection (radios)Required fields; research-backed most-common optionDefaults that steer toward a paid/consent choice (→ dark-patterns)Default to the genuinely most common option
Video-style slidersMedia scrubbing — preview thumbnail, clickable thumb, keyboard shortcutsStandard form contextsOnly for timeline navigation

Validate the result (orchestration)

Hand-offs name each lens by its installable skill name. Invoke one only if that skill is installed; if it isn't, this skill's own core already carries these rules — proceed without it rather than blocking.

After generating or revising, hand the result to the audit lenses rather than declaring it done. These are candidate lenses — posture is set by docs/orchestration-policy.md, or route the whole thing through ux-design-review. Here, heuristics, microcopy, and dark-patterns are Tier A (auto-run); accessibility, aesthetics, and mobile-responsiveness are Tier B (offered) — under an existing design system aesthetics is suppressed and accessibility narrows to usage; mobile-responsiveness applies only on mobile. If the user invoked this skill for one specific thing, respect that scope.

  • ux-heuristics-audit (Tier A) — match to mental models (effect timing vs. control type), consistency, error prevention (defaults, snapping).
  • ux-accessibility-audit (Tier B — offer; narrow under a design system) — touch-target sizes (thumbs, checkboxes), keyboard operability, label-control association, contrast of small control glyphs.
  • ux-aesthetics-audit (Tier B — offer; suppress under a design system) — alignment rhythm, spacing, whether restyled controls stayed recognizable.
  • ux-microcopy-audit (Tier A) — label phrasing (keyword-first, on-state wording for switches), group subheads.
  • ux-dark-patterns-audit (Tier A) — when defaults or pre-selections steer consent, payment, or data-sharing choices: sizing bias, pre-checked opt-ins, steering defaults.
  • ux-mobile-responsiveness-audit (Tier B — offer; applies only on mobile) — when the context is mobile: switch alignment, picker choice, thumb targets.

If the audits surface a conflict, resolve back toward the primary task: the user should grasp the choice structure at a glance and select without errors.


Common do/don't patterns

❌ Don't✅ Do
Dropdown for 3 payment methodsRadio buttons — all options visible, one tap
Toggle that only applies after "Save"Checkbox + Submit; toggles = immediate effect
Round checkboxes / square radios for styleConventional shapes; restyle color and borders only
Label as a question ("Want emails?")Keyword-first on-state label ("Email notifications")
Only the tiny control square is clickableWhole label + control activates the option
Required radio group with nothing selectedResearch-based default pre-selected
Slider for choosing 1 of 4 plansRadio buttons; sliders are for ranges/feel
Slider with an Apply buttonImmediate effect — that's the point of a slider
Price filter with no min/max labelsMin/max shown; dual thumbs; presets for mobile
Pre-checked consent checkbox as a "default"Unchecked consent; defaults prefill facts, not decisions (→ dark-patterns)
Ship without checkingHand off to heuristics + accessibility + aesthetics + microcopy

Source lessons (Uxcel)

Heefeg gestallte Froen

Wat mécht de KI-Skill Ux Selection Controls?

Lued oder iwwerpréift Auswielkontrollen. Wielt déi passend Kontroll (Checkbox, Radio-Button, Kippschalter, Dropdown, Slider oder Picker) fir déi jeeweileg Wiel a befollegt Best Practices fir Bezeechnung, Ausriichtung an Zoustänn. Ausléiser: wann de Benotzer freet, Checkboxen, Radio-Buttons, Kippschalter, Dropdowns, Slider, Beräichsfilter oder eng aner Auswielkontroll ze gestalten oder ze iwwerpréiwen, oder freet: „Wéi eng Kontroll soll ech benotzen?“

Firwat Ux Selection Controls op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Ux Selection Controls besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Ux Selection Controls an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/Uxcel-Lab/product-skills/tree/main/ux/components/selection-controls an. TypingMind liest d'Datei SKILL.md an installéiert de Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Ux Selection Controls benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Ux Selection Controls benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Ux Selection Controls domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Ux Selection Controls gratis?

Jo. Uxcel-Lab huet de Skill ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇