r/purescript • • Mar 16 '20

elm-ui equivalent in purescript?

So recently I discovered purescript, and from the limited things I've read, it seems like a nice alternative to elm (which I also like, but purescript seems to do some extra things that make it a bit closer to haskell)

Is there a library for purescript similar to elm-ui? https://package.elm-lang.org/packages/mdgriffith/elm-ui/latest/

I've never been a fan of doing html/css and when I discovered elm-ui it was one of the best things ever in regards to web dev for me... anyone know if something similar exists under purescript?

9 Upvotes

9 comments sorted by

View all comments

Show parent comment

1

u/gaurdianaq Mar 16 '20

ya I can see how it's similar, so I might look into it. Seems like it requires more boilerplate. Thanks for the tip though!

1

u/JustinLovinger Mar 24 '20

If you want typed CSS, you can use the purescript-css module. It supports rendering to an inline string by default, but you can write an inline rendered for your library of choice, like I do here for Concur.