Guide

Designing buttons, switches and controls: controls that feel right and keep working

How to start from the person pressing the button, the main types of switch and control and their trade-offs, the mechanical details that stop buttons feeling mushy or sticking, sealing, graphics and backlighting, switch life, and how to prototype and test the feel.

Quick answer

A good control starts with how it will be used, then chooses a switch type to suit, and only then gets detailed in CAD around a checked tolerance stack-up.

Decide how often the control is used, whether people will wear gloves or have wet hands, how to prevent accidental presses and how the user will know it worked. Choose between tactile switches with a plastic actuator, silicone keypads, membrane switches, capacitive touch, rotary controls and toggles on feel, sealing, cost and life. Then check the gap between the button and the switch at the tolerance extremes, guide the button so it cannot wobble or rub, keep side loads off the switch, and test the feel on prototypes with real users.

Contents

  1. Start with the user
  2. The main options
  3. Mechanical design of a button
  4. Sealing buttons
  5. Graphics, legibility and backlighting
  6. Switch life
  7. Prototyping and testing the feel
  8. Worked example: a mushy, sticking button
  9. Common mistakes

Start with the user

Buttons are often designed last and touched first. Before choosing a switch, write down what each control does and for whom:

  • What it does and how often. A power button pressed twice a day, a reset button pressed once a year and a volume control turned constantly need different switches.
  • Gloves and wet hands. Gloved fingers need larger, well-spaced buttons and a clear click. Gloves and water can stop capacitive touch working reliably.
  • Accessibility. Allow for weak grip, limited sight or tremor: a modest operating force, buttons that can be told apart by touch, good contrast and no meaning carried by colour alone.
  • Accidental presses. Keep important buttons away from where the hand grips or the product rests, recess or guard them, or ask for a long press for anything that switches off or erases.
  • Feedback. The user needs to know the press worked: tactile (a click you feel), audible (a click or beep) or visual (an LED or screen change). Use more than one where users may not be looking.

Record these in your product requirements document so the switch choice can be checked against them.

The main options

Each option trades feel, sealing, cost, tooling and life against each other:

Option Feel Sealing Cost, tooling and life
Board-mounted tactile switch with a plastic actuator Crisp click Needs a separate seal Cheap switches; actuator is part of the housing tooling. Sensitive to tolerances
Silicone rubber keypad with carbon pills Softer press, set by the moulded web Good: the keypad seals the openings Own silicone mould and contact pads on the board; printed legends can wear
Membrane switch and printed overlay Flat; metal domes can add a click Good: one bonded face Low tooling; graphics printed behind the film. Adhesive and edges need care
Capacitive touch No movement; needs light, sound or vibration Excellent: behind a solid wall Nothing to wear, but needs careful electronics and testing with water and gloves
Rotary encoder or potentiometer Turning, often with detents Shaft needs a seal An encoder counts steps; a potentiometer gives a position. Keep side loads off the board
Toggle or rocker switch Clear, visible on/off state Sealing boots available Usually panel-mounted; check the electrical rating if it switches main power

Agree the choice with your electronics designer early, because it changes the board. The electronics in a physical product guide covers designing the board and housing together.

Mechanical design of a button

The commonest control is a plastic button pressing a tactile switch on the board. Most complaints about mushy, rattling, sticking or dead buttons come from a few details.

Travel and the tolerance stack-up

A tactile switch has only a small travel before it clicks. If the actuator already presses on it at rest, the switch is half-pressed: the click disappears and the button feels mushy. If the gap is too large, the user pushes through dead travel first.

The gap is set by a chain of parts: the button, the stop that holds it in the housing, the bosses the board sits on, the board and the switch. Check it at both tolerance extremes, not just nominal, as the tolerances and engineering drawings guide explains, and shorten the chain by locating the board next to the button.

Cross-section of a button, actuator and tactile switch A side section through a housing wall with a button passing through a hole. The button cap sits in the hole with clearance all round, a flange under the wall keeps it captive, and housing ribs either side guide it. A stem runs down from the button to a tactile switch on the circuit board, with a small gap above the switch plunger. A support under the board sits directly beneath the switch. Button cap Housing wall Captive flange Guide rib Gap Tactile switch Board support
The gap between the stem and the switch depends on every part in the chain. Check it at both tolerance extremes so the button never preloads the switch and never has excessive dead travel.

Captive buttons and wobble

A separate button needs a stop so it cannot fall or be pulled out, usually a flange inside the housing larger than the hole, or a snap or retaining plate. At rest it should sit against that stop, not on the switch. A button held only at its top edge rocks under an off-centre press and rattles when shaken, so guide it with ribs or a sleeve, as long as space allows, with a small, even clearance.

Buttons moulded into the housing

Some products mould the button into the wall as a flap or tongue. This saves a part, but the flexing section must suit the material: a true living hinge is normally polypropylene, as the snap fits and living hinges guide explains. In a rigid plastic, use a longer tongue that bends only slightly, and check the strain.

Avoiding sticking buttons

Buttons stick when clearance is too tight once draft and moulding variation are included, when an off-centre press tilts the button onto an edge, when the switch alone is too weak to return a large cap against friction, or when dirt gets into the gap. Long guides, even clearance and, for large caps, a separate spring or rubber return prevent most of it.

Side loads and drops

Tactile switches are made to be pressed straight down. Sideways pushes, users leaning on a knob or a button hitting the switch in a drop all end up in the solder joints. Give the button an end stop on the housing, support the board directly under each switch, and hold knobs and shafts in the housing rather than the board. The drops and impacts guide covers board support more widely.

Sealing buttons

Every button is a hole in the housing. Common ways to seal it are a membrane or overlay bonded to a flat face over the switches, a silicone keypad clamped around its edge so it is both button and seal, or a boot or O-ring on each rigid button or shaft. The keypad clamp is a seal like any other, so its squeeze depends on tolerances; the sealing and waterproofing guide explains how to design and test it. Sealing also changes the feel, so test the two together.

Graphics, legibility and backlighting

Legends must stay readable for the product's life. Pad or screen printing is common, but printed legends on a top surface wear, so a protective coating may be needed. Laser etching marks the plastic itself or removes a painted layer to let light through. In-mould decoration moulds a printed film into the part; it is durable but adds tooling effort. Printed overlays carry the graphics on the back face, where they cannot rub off. The surface finishes guide covers these in more detail. Check legend size and contrast in real lighting.

Backlighting usually uses an LED on the board and a light pipe, a clear part that carries the light to the button. Watch for light leaking into neighbouring buttons and bright spots over the LED; opaque walls and a diffusing texture help. Prototype it early in a dark room.

Switch life

Use the rated life from the switch datasheet, and check its test conditions match your use. Estimate the presses over the product's life from how often each control is used, and choose a switch with a comfortable margin. Actuators, hinges, keypads and legends wear too, so test the whole assembly with a simple cycling rig: a motor and cam, or a small linear actuator, pressing the real button in the real housing, with a counter. Stop at intervals to check function, feel and legend.

Prototyping and testing the feel

  • Printed actuators. Print several versions with different lengths, clearances and guides, and try them on the real board. Printed parts are rougher than mouldings, so treat friction as approximate.
  • Feel panels. Mount candidate switches or keypad samples side by side so people can compare force, travel and click directly.
  • Usability testing. Give real users realistic tasks, with gloves, wet hands or dim light where those are normal, and watch for missed, accidental or repeated presses. See the usability testing guide.

Confirm the feel again on the first moulded samples.

Worked example: a mushy, sticking button

Illustrative example. A handheld device has two moulded buttons, power and mode, pressing tactile switches on the main board. On the first moulded samples the mode button feels mushy on some units and sometimes stays down on others. The team cut a sample through the button and measured the parts in the chain.

Finding Cause Fix
Mushy, no click on some units The gap had only been checked at nominal; at one extreme the stem half-pressed the switch Re-ran the stack-up at both extremes and shortened the stem so the smallest gap is still positive
Long tolerance chain The board was located by bosses at the far end of the housing Added a locating feature and support next to the switch
Button sometimes stays down Guided only at its top edge, the cap tilted and rubbed on the drafted edge of the hole Added guide ribs, slightly increased the hole clearance and rounded the cap edge

They checked the changes with printed actuators before agreeing the tool changes with the toolmaker. Adding guide ribs only removes steel, but shortening the stem and opening up the hole take plastic off the part, which means adding steel to the tool, so they asked how best to make those. They then ran a short cycling test on the new samples.

Common mistakes

Designing the buttons last. Button positions, switch types and board layout are linked; settle them together.
Checking the gap only at nominal. Check the stack-up at both extremes.
Letting the switch take the load. Add an end stop and support the board under each switch.
Capacitive touch without feedback. Add light, sound or vibration, and test with water and gloves.
Testing the switch, not the button. Cycle-test the whole assembly.

Next steps

  1. List every control with what it does, how often it is used, and any gloves, wet hands or accessibility needs.
  2. Choose a switch type for each and agree the board layout with your electronics designer.
  3. Check each button gap at the tolerance extremes with the Tolerance Stack-up Calculator.
  4. Add feel, life and sealing tests to your plan with the Product Test Plan Builder.
  5. See where this sits in the wider journey in the development and prototyping hub.

FAQ

Should I use tactile switches or a silicone keypad?

Tactile switches with plastic actuators give a crisp click and suit products with a few buttons, but need a separate seal. A silicone keypad seals the openings and suits several buttons together, with a softer feel and its own mould. A keypad over tactile switches combines a seal with a firmer click.

Does capacitive touch work with gloves or wet hands?

Often not reliably. Gloves can stop a touch registering, and water can cause false presses. It can be tuned to cope better, but if gloves or wet hands are normal for your users, a mechanical button or a combination is usually safer. Test with real gloves and water early.

How do I stop a button rattling or wobbling?

Guide it along its length with ribs or a sleeve in the housing rather than only at the top edge, keep the clearance small and even, and make sure it rests against a stop in the housing when not pressed. A longer guide resists tilting better than a tighter one.

How many presses should a button be designed for?

Estimate it from how often each control is used and how long the product should last, then choose a switch whose datasheet rating sits comfortably above that. Check the rest of the button, such as hinges, keypads and legends, with a cycling test on the real assembly.

Can I prototype the feel of a button with 3D printing?

Yes, for travel, gaps, guides and overall layout, especially by printing several variants at once. Printed parts are rougher and less consistent than mouldings, so confirm the final feel and any moulded hinge on the first tool samples.