styled components for Reason/OCaml with type-safe CSS and static extraction
- OCaml 42.8%
- Reason 36.6%
- JavaScript 9.3%
- TypeScript 5.8%
- MDX 4.4%
- Other 1%
| .githooks | ||
| .github | ||
| demo/melange | ||
| documents | ||
| packages | ||
| scripts | ||
| tasks | ||
| .git-blame-ignore-revs | ||
| .gitattributes | ||
| .gitignore | ||
| .ocamlformat | ||
| AGENTS.md | ||
| CHANGES.md | ||
| CONTRIBUTING.md | ||
| dune | ||
| dune-project | ||
| dune-workspace | ||
| LICENSE | ||
| Makefile | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| styled-ppx.opam | ||
Typed styled components for Melange and OCaml
styled-ppx is a ppx and a library that brings styled components to Melange and OCaml. Create React Components or simply className with type-safe style definitions with only CSS.
It allows you to style apps safely, quickly, and performantly - just as you always done it.
Documentation
For the entire documentation, visit styled-ppx.vercel.app
Editor Support
We provide an editor extension that brings syntax highlighting:
- Install the VSCode Extension
- Install the vim plugin
If you are interested on another editor, please file an issue
Contributing
We would love your help improving styled-ppx! Please see our contributing and community guidelines; they'll help you get set up locally and explain the whole process: CONTRIBUTING.md
License
This project is licensed under the Simplified BSD License (BSD 2-Clause License)

