thumbnail of Christian Brown
Mechanical Design

Right on the Button: Using Button Design as a Showcase for Excellence

You’ve worked for months to get your prototype functioning. It’s time to take that ugly (but functional!) works-like prototype and create a real consumer product. Right now, you may be focused on the general shape, smoothing out the curves and accommodating the awkward PCB shape (darn those electrical engineers!), but soon you’ll feel the need for control—controls, that is, and buttons that look better than the DigiKey panel mount you’ve been using.

Intro to Button Design

(For toggle design, you’ll want to go down the hall to Mrs. Wilkes’ sewing class.)

As always, first things first: How will this be used? Where is it on the machine? Will the user be pressing the button with their thumb or finger?

And what about the indicated use: Is this a simple “press and do” button, or does it indicate an up-down level, like volume?

Buttons are a chance for both comfortable ergonomics and increased intuition in your product design. Large buttons surrounded by smaller ones indicate relative importance. A volume rocker button indicates a level going up and down. A single big red button says, “PANIC.”

panic button
Buttons communicate function in ways that transcend language

On a (literally) deeper level, you’ll need to think about the interior of the case, too. Your button may look pretty on the outside, but on the inside, you’ll need to align it with the PCB-mounted or panel-mounted electronic switch (being sure to check tolerances) and think about depth of throw and potential force. And then there’s the internal wiring—be careful that the wires are out of the way inside.

So much to think about! Let’s dive right in.

Integrating Springs: Cantilever Design

For most external buttons, the design will call for some type of mechanical spring to augment the one on the electronics component, and one of the most common ways to do this is with a plastic cantilever. The cantilever spring is a small finger of plastic that extends from the main body, flexing with each press, and pulling the button back to its rest position afterwards. There are two things to consider in cantilever design: strength and fatigue.

This is (roughly) what the drawings should look like:

drawing 1drawing 2

In designing a cantilever button spring, first determine the depth of “throw”—that is, how much flex you’ll need from the button.

That press depth becomes the desired maximum deflection, δ. How hard the user presses is the required force, F. Look up your material properties to determine the modulus of elasticity, E.  

With these factors determined, you can play with the other geometry as required for the length (L), width (or base, b), and thickness (or height, h), to balance out this equation:

δ= 12FL3/(Ebh3)  – rectangular cross-section only

To do this a bit faster, download our cantilever button spring design calculator here.

Overall, longer is better to reduce fatigue, the second part of the design to check. You don’t want a single-use button, and if your plastic cantilever-beam-cum-spring is bent too far, it’s going to snap more quickly than an office worker with a red Swingline stapler. You may remember from your Strength of Materials 101 class that the stress on a cantilever beam is highest at the origin, or in this case, where the material thickens stepwise.

The stress (𝜎) at a cantilever beam origin can be calculated as:


Maximum stress for your material will tell you how far it can go before breaking, but for a spring like this, it’s important to stay well below that in the elastic region of the stress-strain diagram. This will vary widely from material to material, but as a general rule, you’ll want to ensure that your maximum stress is no more than 20 MPa for the toughest printed materials.

Because a printed spring like this requires high elasticity, the best materials for this kind of design are ABSABS-like and Nylon (see below for more information on each material).

Download our cantilever button spring design calculator here.

Mounting and Alternative Springs

Buttons with integrated springs can either be mounted with a sliding mount, where the button is suspended between the two springs in the case, and the springs slide against their mounts, or by fixing the end of the cantilever to the housing with screws or heat stakes. Of course, when prototyping with 3D printing, you have options you won’t have with an injection molded design—essentially, any shape can be made without worrying about molding angles—so you can actually have the button printed as part of the case. Printing magic, baby!

cantilever-spring button
A cantilever-spring button mounted with a screw mount; image from our Neato robotic vacuum teardown

As an alternative to these unified designs, a rubber backing piece can be used as a spring. Typically, this is used in places where the plastic springs are impractical, due to button spacing, or when a large number of buttons is in a pad, like on a remote control.

A sheet with a series of rounded bumps can be printed, using the rubber-like material, and used as a backing spring for an entire control panel of buttons, freeing the shapes of the buttons from any required spring mounts.

rubber backing
Rubber backing provides another spring material; image from our Nintendo controller teardown

Of course, in looking for springs, a regular coil spring can be used beneath the button. This is ideal for situations with very deep press, such as a blender control panel. Long or deep-throw buttons like this indicate very deliberate action and keep the user from accidentally activating the switch.

compression cell springs
Compression coil springs found underneath push buttons; image from our Logitech gameboard teardown

Types of Buttons and Sample Designs

Volume Rocker

Great for volume buttons (or any level that increases and decreases in opposition), this two-point button is a standard for most tablets and phones. Using a two-cantilever sliding design allows for each cantilever to act as a fulcrum, while the other side acts as a spring.

two-point rocking buttons
Two-point rocking buttons are a standard on phone designs; image from our Kindle Fire teardown

Directional Pads

A staple of video game controls, the D-pad also commonly shows up in TV remotes and other consumer electronics. It clearly contrasts two different dimensions, keeping users from trying to move a character up-left and back-right simultaneously, or a channel higher and lower at the same time (unless two siblings are fighting between “Game of Thrones” and “The Walking Dead”. May we never face such a dilemma.).

The best design for this situation is a more complicated variation of the sliding cantilever, with a single plastic spring extending from each pad into a sliding mount. Alternatively, with a slightly softer feel, a rubber pad can be placed under all four with similar effect.

directional pads
Directional pads incorporate multi-dimensional duality into the design

Panel Switch

When you really have to use the off-the-shelf part, I suggest hiding a panel mount switch in a recessed area of the electronics enclosure, to retain a sleek, consumer-oriented feel.

panel switch
Panel-mounts can be used, but be careful of the wire routing; image from our hoverboard teardown

Thumb Buttons

In places where the hand is fixed in relation to the device, like in an ergonomic mouse, a thumb button will often take more of a beating with hard stress presses. The thumb button is an opportunity for better ergonomics, recessing the button into a thumb-shaped indentation and providing a larger button area. Mechanically, the strength of a screw-mounted cantilever gives the solidity this type of button requires, and multiple attachment points can be used for a more solid press.

thumb button
The logitech gaming mouse (full product teardown here) has a side thumb button for specialized ergonomics.


Another game controller standard, the trigger button should be easily felt and have a long throw. This unusual button is often hidden away out of sight, so it needs to be simple to identify by touch. The long throw can be accomplished with a rotating mount and either a torsion spring or coil spring for return.

Triggers can mount on a hinge for a long throw; image from our Nintendo controller teardown

Aesthetics of Design

Buttons are often, well, button-shaped, like their clothes-fastening cousins. Explore further, and use the control as an opportunity for an exclamation point in the design. Try using a contrasting color for the button: a bright silver in an otherwise black enclosure, or bright green in an orange case. Experiment!

More unusually, you can also use the button as a window into the design with translucent materials. This can allow the buttons to glow, for easy use of the device in the dark (like a light pipe), or it can simply allow some of the electronics to be seen in designs showing off their technical aspects. Try the transparent material for prototyping and an acrylic or polycarbonate in production.

translucent button
Figure 12: A translucent button can be backlit to add some excitement to the case design; image from our Roomba teardown

Prototyping Your Design

For incorporated springs, there are three strong material options for prototyping: ABSNylon, and ABS-like.

ABS is actual ABS material, but extruded into thin threads, then printed in fused layers. Because the tightest resolution is the thickness of these thin threads, the material is somewhat coarse, and is best for thicker cantilever springs.

Nylon is somewhat finer, and is suitable for medium thickness springs.

ABS-like is the best choice for any cantilever spring, but more expensive, and so is best saved for late-stage prototypes where a more polished appearance is valued.

ultrafine resolution pieces
Figure 13: Beautiful, ultrafine resolution pieces in Polyjet ABS-like material

When testing, keep in mind that materials behave differently when a different manufacturing process is used, such as fused deposition modeling (FDM) or selective laser sintering (SLS). A 3D-printed spring won’t have quite the toughness of your final design, so it can’t be used for fatigue limit testing.

The elasticity and strength will vary, as well, so be sure to look at the material data sheets. However, as a first approximation, the printed buttons and mounts are ideal. Also, if you compare the modulus of elasticity of the printed material to your final manufactured material, you can use that to scale the equations above and determine how much force will be needed for your final button to activate.

Final Thoughts

At the triple intersection between aesthetics, ergonomics and functionality, button controls provide an amazing opportunity to creatively showcase great industrial design. Take the opportunity in your next product design to experiment with unusual shapes, colors, and even textures.

Industrial design is about interaction, the relationship between human and machine, and for many products, that interaction is most intimate where the user reaches out to touch the design: the buttons.

Was this article helpful? Help us by sharing
Last page
Best Practices for Adding Ribs and Gussets to 3D Printed Parts for Structural Integrity
When designing components that will be made of plastic, it’s often necessary to add ribs and gussets to improve the stiffness and strength of load bea
Up Next
From SketchUp to 3D Printer: 3 Common Surface Modeling Issues & How to Fix Them
You’ve created a seamless design—structurally sound, sufficiently thick, and mindful of overhangs.