svelte-material-components

0.1.9 • Public • Published

Svelte Material Components

This project delivers Svelte components for Material Components Web (MDC).

WARNING: This project is highly experimental. Actually, it's missing tests, documentation and examples to guarantee that everything is really OK. Pull Requests are totally welcome! But please, do not use on production projects yet! :)

Features

  • Use Svelte hooks to setup and destroy MDC's events and hooks;
  • Import only what's really needed on the JS side, but without managing CSS loading (so you can customize everything using SCSS, for example..);

Examples

  • Button;
  • More examples are welcome! Feel free to submit a pull request adding an example to this list, based on our components =)

TODO

  • Tests;
  • Documentation;
  • Examples - WIP;
  • Guarantee that we are using good practices. For example...should we allow the user to customize the attributes of the root element of the component? I'm still thinking about that.

Readme

Keywords

none

Package Sidebar

Install

npm i svelte-material-components

Weekly Downloads

3

Version

0.1.9

License

MIT

Unpacked Size

3.25 MB

Total Files

192

Last publish

Collaborators

  • fjorgemota