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%
Find a file
2026-07-22 15:15:28 +00:00
.githooks Fix Float.toString and String.startWith in Std for styled-ppx/css (#360) 2023-09-18 18:35:49 +02:00
.github Delete rescript tests 2026-05-22 14:34:59 +00:00
demo/melange Fix opam install artifacts 2026-07-22 14:25:50 +00:00
documents Document 0.62 release changes 2026-07-22 14:27:44 +00:00
packages Update error location snapshots 2026-07-22 15:15:28 +00:00
scripts delete rescript runtime 2026-05-22 14:36:47 +00:00
tasks Use latest server-reason-react style-attribute 2026-06-01 11:42:22 +00:00
.git-blame-ignore-revs Reflect dependencies changes into package.json and opam file (#332) 2023-03-17 15:05:56 +01:00
.gitattributes Treat dune as lf text 2024-11-26 15:50:35 +01:00
.gitignore Rework documentation website for 0.62 static extraction (#578) 2026-07-14 16:35:34 +02:00
.ocamlformat CSS static extraction and atomization (#573) 2026-05-20 17:17:47 +02:00
AGENTS.md Remove dead code left behind by static extraction 2026-07-20 13:01:33 +00:00
CHANGES.md Polish 0.62 release notes and comments 2026-07-22 15:13:12 +00:00
CONTRIBUTING.md delete rescript runtime 2026-05-22 14:36:47 +00:00
dune Preparation to fix the issue with multiple-selectors (#554) 2025-04-11 12:43:59 +02:00
dune-project delete rescript runtime 2026-05-22 14:36:47 +00:00
dune-workspace Migrate to opam (#350) 2023-06-23 16:50:22 +02:00
LICENSE Add LICENSE BSD-2 2022-07-28 19:15:42 +02:00
Makefile Fix opam install artifacts 2026-07-22 14:25:50 +00:00
package-lock.json Rework documentation website for 0.62 static extraction (#578) 2026-07-14 16:35:34 +02:00
package.json delete rescript runtime 2026-05-22 14:36:47 +00:00
README.md Remove ReScript from README 2026-01-16 11:59:21 +00:00
styled-ppx.opam Delete legacy and emotion stuff 2026-07-14 16:36:32 +00:00

styled-ppx-header-lightstyled-ppx-header-dark

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:

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)