svelte-material-components
v0.1.9
Published
Svelte wrapper for "Material Components for the web"
Downloads
45
Readme
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.