Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@rmwc/list

Package Overview
Dependencies
Maintainers
1
Versions
175
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rmwc/list

RMWC List component

  • 5.0.1-alpha.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
6.8K
increased by25.16%
Maintainers
1
Weekly downloads
 
Created
Source

Lists

Lists are continuous, vertical indexes of text or images.

  • import from '@rmwc/list';
  • Import styles:
    • import '@material/list/dist/mdc.list.css';
  • MDC Docs: https://material.io/develop/web/components/lists/

ListItems can be verbose to import and render. A 'SimpleListItem' component has been created to improve the developer experience which contains a default template for ListItems. This page shows some basic usage, be sure to check out the variants page to see all of the ways you can customize your lists.

Standard Usage

import {
  List,
  ListItem
} from '@rmwc/list';

<List>
  <ListItem>Cookies</ListItem>
  <ListItem>Pizza</ListItem>
  <ListItem>Icecream</ListItem>
</List>

Simplified Usage

import {
  List,
  SimpleListItem
} from '@rmwc/list';

<List twoLine>
  <SimpleListItem graphic="star_border" text="Cookies" secondaryText="Chocolate chip" metaIcon="info" />
  <SimpleListItem graphic="local_pizza" text="Pizza" secondaryText="Pepperoni" metaIcon="info" />
  <SimpleListItem activated graphic="mood" text="Icecream" secondaryText="Chocolate cookie dough" meta="Winner!" />
</List>
import { Docs } from '@rmwc/base/utils/document-component';
import * as docs from './docgen.json';

<Docs src={docs} components={[
  'List',
  'ListItem',
  'ListItemPrimaryText',
  'ListItemSecondaryText',
  'ListItemGraphic',
  'ListItemMeta',
  'ListDivider',
  'ListGroup',
  'ListGroupSubheader',
  'SimpleListItem'
]} />

Keywords

FAQs

Package last updated on 30 Jan 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc