Skip to content

rvl/reflex-material

 
 

Repository files navigation

Reflex Material

A Haskell Reflex-Dom wrapper for the Material Components Web project.

This is a work in progress, forked from alasconnect/reflex-material to add more widgets and javascript effects.

The style of API follows reflex-dom-semui. Widgets are prefixed with md to differentiate between e.g. checkbox and mdCheckbox.

Initial goal is to support most of the Material Components Examples.

Try the demo

https://rvl.github.io/reflex-material/

API Documentation

https://rvl.github.io/reflex-material/doc/

Building with nix

./build.sh

This will instantiate reflex-platform and download Material Components Web, fonts, and icons, so may take a little while.

How to use in your project

Ensure that you have js/material-components-web.min.js set up because it's needed by Reflex.Material.Basic.mdcScript.

TODOs

  • Update Select HTML to match new usage
  • Pin version of material-components-web in package.json
  • Update for material-design-components 1.1.0
  • Add radio component and example
  • Port example app to obelisk
  • Clean up CSS class name functions
  • Lots more...

About

Haskell Reflex-Dom wrapper for the Material Components Web project

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Haskell 65.2%
  • Nix 25.8%
  • CSS 8.8%
  • Shell 0.2%