npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@mstyk/paper-item

v1.1.4

Published

A material-design styled list item

Readme

Build status

Demo and API docs

##<paper-item>

Material design: Lists

<paper-item> is an interactive list item. By default, it is a horizontal flexbox.

<paper-item>Item</paper-item>

Use this element with <paper-item-body> to make Material Design styled two-line and three-line items.

<paper-item>
  <paper-item-body two-line>
    <div>Show your status</div>
    <div secondary>Your status is visible to everyone</div>
  </paper-item-body>
  <iron-icon icon="warning"></iron-icon>
</paper-item>

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".

<paper-item role="menuitemcheckbox">
  <paper-item-body>
    Show your status
  </paper-item-body>
  <paper-checkbox></paper-checkbox>
</paper-item>

##<paper-icon-item>

<paper-icon-item> is a convenience element to make an item with icon. It is an interactive list item with a fixed-width icon area, according to Material Design. This is useful if the icons are of varying widths, but you want the item bodies to line up. Use this like a <paper-item>. The child node with the attribute item-icon is placed in the icon area.

<paper-icon-item>
  <iron-icon icon="favorite" item-icon></iron-icon>
  Favorite
</paper-icon-item>
<paper-icon-item>
  <div class="avatar" item-icon></div>
  Avatar
</paper-icon-item>

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 <paper-item-body> in a <paper-item> or <paper-icon-item> to make two- or three- line items. It is a flex item that is a vertical flexbox.

<paper-item>
  <paper-item-body two-line>
    <div>Show your status</div>
    <div secondary>Your status is visible to everyone</div>
  </paper-item-body>
</paper-item>

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 | {} |