0.1.0 • Published 7 years ago

preact-mdc v0.1.0

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

preact-mdc

Overview

This is a preact integration of the awesome material-components-web material design components library.

material-design-components-web

This library is the successor of the awesome but now depricated material-design-lite library.

Goals

We try to provide all available components from material-design-components-web as pure preact components. We try to not use any of the MDC javascript code but only use the MDC sass styles.

Components

  • Button
  • Card
    • CardAction
    • CardActions
    • CardHorizontalBlock
    • CardMedia
    • CardMediaItem
    • CardPrimary
    • CardSubtitle
    • CardSupportingText
    • CardTitle
  • Checkbox
  • CheckboxLabel
  • Drawer
    • DrawerContent
    • DrawerHeader
    • DrawerToolbarSpacer
  • Fab
  • FormField
  • IconToggle
  • List
    • ListDivider
    • ListGroup
    • ListGroupDivider
    • ListGroupHeader
    • ListItem
    • ListItemDetail
    • ListItemText
    • ListItemTextPrimary
    • ListItemTextSecondary
  • Radio
  • Snackbar
  • Switch
  • TextField
  • Toolbar
    • ToolbarRow
    • ToolbarSection
    • ToolbarTitle

Usage

At the moment we directly provide the components written in ES6 as individual modules.

  • Add this library to your project

npm install --save preact-mdc

Contributing

You are very welcome to report issues, make PRs and become a contributor.