JSPM

  • Created
  • Published
  • Downloads 11381
  • Score
    100M100P100Q129139F
  • License Apache-2.0

Svelte Material UI - List

Package Exports

  • @smui/list
  • @smui/list/Graphic.js
  • @smui/list/bare.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@smui/list) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Svelte Material UI - List

Lists are vertical content sections.

See MDC List for more information on API and Sass mixins.

See the Sass variable file for styling variables.

Installation

npm install --save-dev @smui/list

Basic Usage

<script>
  import List, {Item, Text} from '@smui/list';

  let fruits = ['Apple', 'Orange', 'Banana', 'Mango'];
</script>

<List>
  {#each fruits as fruit}
    <Item>
      <Text>{fruit}</Text>
    </Item>
  {/each}
</List>

Demo

in action: https://sveltematerialui.com/demo/list

demo code: https://github.com/hperrin/svelte-material-ui/blob/master/site/src/routes/demo/list.svelte

Exports

todo...