Strong thud on a button
A button that gives a heavy thud when pressed, so a big action feels deliberate.
JSON 7 lines
{
"type": "button",
"id": "launch",
"position": [0, 0],
"label": "Launch",
"haptic": "heavy"
}1 field, each with what it does.
| Field | Type | Default | What it does |
|---|---|---|---|
haptichaptic | text | — | The buzz you feel on a tap Plays the named haptic on the phone when you interact with the control; none or an unknown name gives no tactile feedback. |
3 examples, each one a control you can paste into a layout.
A button that gives a heavy thud when pressed, so a big action feels deliberate.
{
"type": "button",
"id": "launch",
"position": [0, 0],
"label": "Launch",
"haptic": "heavy"
}A toggle that plays the positive success pattern each time it flips.
{
"type": "toggle",
"id": "lights",
"position": [0, 1],
"label": "Lights",
"haptic": "success"
}A stepper that ticks very lightly with each step, so counting up stays subtle.
{
"type": "stepper",
"id": "count",
"position": [1, 0],
"label": "Count",
"min": 0,
"max": 10,
"haptic": "selection"
}| Name | Feel |
|---|---|
light |
Subtle tap |
medium |
Standard (Border thickness default) |
heavy |
Strong thud |
success |
Positive pattern |
warning |
Cautionary |
error |
Failure |
selection |
Ultra-light tick |
"haptic": "heavy"
Defaults: Border thickness = medium, Knob shadow = light, Symbol color = light, Choices = selection
Generated from ControlDocs/haptics.md. Something unclear or missing? Tell me.