README
Share
[](https://travis-ci.org/PolymerElements/paper-item)
_[Demo and API docs](https://elements.polymer-project.org/elements/paper-item)_
##<paper-item>
Material design: [Lists](https://www.google.com/design/spec/components/lists.html)
`
```html
Use this element with `
```html
To use `paper-item` as a link, wrap it in an anchor tag. Since `paper-item` will already receive focus, you may want to prevent the anchor tag from receiving focus as well by setting its tabindex to -1.
```html
If you are concerned about performance and want to use `paper-item` in a `paper-listbox` with many items, you can just use a native `button` with the `paper-item` class applied (provided you have correctly included the shared styles):
```html
### Styling
The following custom properties and mixins are available for styling:
| Custom property | Description | Default | | --- | --- | --- | | `--paper-item-min-height` | Minimum height of the item | `48px` | | `--paper-item` | Mixin applied to the item | `{}` | | `--paper-item-selected-weight` | The font weight of a selected item | `bold` | | `--paper-item-selected` | Mixin applied to selected paper-items | `{}` | | `--paper-item-disabled-color` | The color for disabled paper-items | `--disabled-text-color` | | `--paper-item-disabled` | Mixin applied to disabled paper-items | `{}` | | `--paper-item-focused` | Mixin applied to focused paper-items | `{}` | | `--paper-item-focused-before` | Mixin applied to :before focused paper-items | `{}` |
### Accessibility
This element has `role="listitem"` by default. Depending on usage, it may be more appropriate to set `role="menuitem"`, `role="menuitemcheckbox"` or `role="menuitemradio"`.
```html
##<paper-icon-item>
`
```html
### Styling
The following custom properties and mixins are available for styling:
| Custom property | Description | Default | | --- | --- | --- | | `--paper-item-icon-width` | Width of the icon area | `56px` | | `--paper-item-icon` | Mixin applied to the icon area | `{}` | | `--paper-icon-item` | Mixin applied to the item | `{}` | | `--paper-item-selected-weight` | The font weight of a selected item | `bold` | | `--paper-item-selected` | Mixin applied to selected paper-items | `{}` | | `--paper-item-disabled-color` | The color for disabled paper-items | `--disabled-text-color` | | `--paper-item-disabled` | Mixin applied to disabled paper-items | `{}` | | `--paper-item-focused` | Mixin applied to focused paper-items | `{}` | | `--paper-item-focused-before` | Mixin applied to :before focused paper-items | `{}` |
##<paper-item-body>
Use `
```html
The child elements with the `secondary` attribute is given secondary text styling.
### Styling
The following custom properties and mixins are available for styling:
| Custom property | Description | Default | | --- | --- | --- | | `--paper-item-body-two-line-min-height` | Minimum height of a two-line item | `72px` | | `--paper-item-body-three-line-min-height` | Minimum height of a three-line item | `88px` | | `--paper-item-body-secondary-color` | Foreground color for the `secondary` area | `--secondary-text-color` | | `--paper-item-body-secondary` | Mixin applied to the `secondary` area | `{}` |