When should I use a Q2 Tag vs. a Q2 Dropdown component?

Updated:

Related pages: Dropdown, Tag

The q2-tag and q2-dropdown components share many of the same features; the only significant difference is their design. But when should you choose one over the other?

  • q2-dropdown components are intended to allow you to select from one of many actions that may be simple or complex. These might display on each item in a list of data or at the top level of a page to allow users to perform tasks.
  • q2-tag components are meant for displaying meta information, such as what filters you may have active on a list of data. The dropdown functionality is meant to add simple actions like clearing or editing a filter.