Skip to content

Dropdown

ReleasedShipped in 0.2.0StorybookFigma node 200:10Source
  • To pick one value from a list of five or more, such as the property filter “All properties” on the back office calendar, or “Who” in the activity log filters.
  • Use size md (36px) in forms and for the sort control on search results; use size sm (30px) in compact filter bars and table headers.
  • Show the label above the field in forms. Hide it (ShowLabel off) only when the value says what it is, such as “Sort: Price, low first”.
  • Always show a value in the field: the current choice or a neutral default such as “All properties”. Never leave it blank.
  • Order options in a way people expect: by frequency, by time, or alphabetically, and put “All” first.
  • Keep option text short enough for one line at the field’s width.

Property names. Item 3 (Figma node 200:37) is copied from Figma as written, with Figma’s spelling of the properties. The code spells it showLabel.

  • For two to four options that should stay visible: use Buttongroup type segmented, or Radiocard.
    Instead: ButtonGroup (type segmented), Radiocard
  • To pick several values at once: use Chip filters or Checkboxes instead.
    Instead: Chip, Checkbox
  • For actions such as “Export” or “Delete”: use Button, or a Buttongroup.
    Instead: Button, ButtonGroup

From the Figma documentation page (usage node 200:30), as written. These items aren’t carried into Dropdown.intent.json, which has no field for them.

  • Always show a value in the field: the current choice or a neutral default such as “All properties”. Never leave it blank.
  • Order options in a way people expect: by frequency, by time, or alphabetically, and put “All” first.
  • Keep option text short enough for one line at the field’s width.
Property Value What it is for
size md forms and the sort control on search results (36px)
size sm compact filter bars and table headers (30px)

From Versioning (VERSIONING.md at b9ffb76):

0.3.0 adds six components on top of 0.2.1: Calendar, Card, Form, Modal, SideBar and Table. It contains twenty-three components, each exported from the package root with its props type: Avatar, Breadcrumbs, Button, ButtonGroup, Calendar, Card, Checkbox, Chip, Dropdown, File, Form, Header, Image, Link, Logo, Modal, ProgressBar, RadioCard, SearchBar, SideBar, Stepper, Table, Toggle. Textfield is exported from the package root as well, with TextfieldProps and TextfieldState, and is public like the others (see decisions.md, 2026-10-07, Textfield). It commits you to their props, prop values and defaults, their hz- class names, the tokens in tokens.css and the three entry points (., ./styles.css, ./tokens.css). Everything in 0.3.0 beyond 0.2.1 is an addition: nothing from 0.2.1 was changed, removed or renamed. A change that breaks any of these on 0.x bumps the version to 0.4.0.

Two things about this release are worth knowing:

  • Form, Modal and Table each passed release review with their literal sizes covered by a ruling in decisions.md (Card, SideBar and Calendar have their own), because no size tokens exist for them. Those literals are accepted until the designer adds matching tokens, so a later change to use tokens at the same rendered sizes would be a patch, not a breaking change.
  • Dark theme is not verified for Table, and its warning tag has low contrast. The Table docs page says so. Neither is a breaking-change risk, but a fix that changes a token’s value is a patch and is listed in the changelog.