# Dropdown The Dropdown component is used to show a list of options when a button is clicked. ## Usage ```vue ``` ## Props | Name | Default | Value | Description | | :---------- | :------- | :------------------------ | :----------------------------------------------- | | `options` | `null` | `Array` | See [options](#options) | | `button` | `null` | `String` | Object that is sent as props to Button component | | `placement` | `'left'` | `left \| center \| right` | Placement of dropdown with respect to button | ## `options` The only required prop for Dropdown is `options`. It can be a list of options or a list of groups of options. ```js // list of options options = [ { label, handler, icon, // optional component, // optional }, ... ] // list of groups of options options = [ { group, hideLabel, items: [ { label, handler, icon, // optional component, // optional }, ... ] } ] ```