Phones and touch screens

44 px tap targets, type sizes

2 min readWritten for your agentMarkdown
  • A phone's tap targets are 44 px. On a touch screen (a coarse pointer) these take the touch size by themselves, with no prop: Button (and DestructiveButton, CopyButton), IconButton, the property chips (SelectTrigger, MultiSelect, Combobox and DatePickerTrigger shape="chip"), ToggleButton, ToggleGroup, Tabs, SegmentedControl, MenuButton, Pagination, Slider, Rating, Checkbox, Switch, RadioGroup and ChoiceGroup. A button, a chip, a tab, a segment, a star, a toggle in a group, a choice's row or a slider grows to 44 px; an icon button, an icon toggle, a box or a switch keeps its size under a 44 px tap area. So do the top bar's controls (TopBar, ColorModeToggle, AccountMenu, NotificationCenter, WorkspaceSwitcher, AppFrameTrigger), the closes of a Banner, a Toast and a Dialog's header, FilterChips, a chart legend's toggles (Chart, ChartDonut) and the ghost Item rows. So do the links, rows and menus: a Link pill, chip or sidebar row, SidebarMenuButton, a CollapsibleTrigger, a ListGroupHeader, a menu's row (DropdownMenu, ContextMenu, Command, CommandPalette), a Card on a button or link, a CodeBlock's copy, a FileUploadItem's Retry and Remove, a PopoverRow, a PropertyRow, a Board column's header, a Gantt group's band and its bars, an Identity's linked name and a FooterLink; a standalone Link of words (accent, crumb, meta, cell) keeps its box under a 44 px tap area; a link inside running text keeps its line. The form fields need no prop either (TextInput, InputGroup, NumberInput, Textarea, PasswordField, SearchInput, TimePicker, SelectTrigger, Combobox, MultiSelect, TagsInput, DatePickerInput, DateRangePicker: 44 px high on a touch screen). A narrow window under a mouse is not a touch screen: every control keeps its own size there. On a phone the words a person types are 16 px in every field (so the page never zooms into a focused field), running copy (Prose) is 14 px, and no text is under 12 px but the initials of the smallest avatars (the 14 to 20 px circles). A Link of words standing alone in a row of your own, or a row of your own round a small control, takes touch:min-h-control-touch.

Where would you like to start?

Free · now

The Goop plugin

A design system for your AI coding agent, so screen ten matches screen one.

/plugin marketplace add goop-so/skillsthen /plugin install goop@goopCodex, Cursor, ChatGPT, the Claude app and more: Connect Goop
FreePro

The components

Every part live, with its props, its keys and what an agent sees. Whole page and app templates, working with sample data.