Ux Selection Controls logo

Ux Selection Controls

Organization
Uxcel-Lab
ux-selection-controls

Design or critique selection controls — pick the right control (checkbox, radio button, toggle switch, dropdown, slider, picker) for the choice being made, and apply labeling, alignment, and state best practices. Trigger when the user asks to design or review checkboxes, radio buttons, toggles/switches, dropdowns, sliders, range filters, or any "which control should I use" question.

Overview

PublisherUxcel-Lab
Repositoryproduct-skills
Skill nameux-selection-controls
Stars
35
Forks
8
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by Uxcel-Lab on GitHub. Read the source before you install it.

Installation

Install the Ux Selection Controls AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/Uxcel-Lab/product-skills/tree/main/ux/components/selection-controls
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

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
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Ux Selection Controls in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Ux Selection Controls on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Ux Selection Controls is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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)

Frequently asked questions

What does the Ux Selection Controls AI skill do?

Design or critique selection controls — pick the right control (checkbox, radio button, toggle switch, dropdown, slider, picker) for the choice being made, and apply labeling, alignment, and state best practices. Trigger when the user asks to design or review checkboxes, radio buttons, toggles/switches, dropdowns, sliders, range filters, or any "which control should I use" question.

Why use Ux Selection Controls on TypingMind?

Because you install it once and use it with any model. Ux Selection Controls is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Ux Selection Controls in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/Uxcel-Lab/product-skills/tree/main/ux/components/selection-controls. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Ux Selection Controls?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Ux Selection Controls?

As many as you like. As long as a model supports skills, you can use Ux Selection Controls with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Ux Selection Controls AI skill free?

Yes. It is published on GitHub by Uxcel-Lab under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇