Bindings to use Mantine components from a Purescript codebase.
Currently supporting mantine v7.3.2.
Edit your packages.dhall
to add purescript-mantine and some of its dependencies to your package-set:
let upstream =
https://github.com/purescript/package-sets/releases/download/psc-0.15.10-20231023/packages.dhall
sha256:b9a482e743055ba8f2d65b08a88cd772b59c6e2084d0e5ad854025fa90417fd4
in upstream
with mantine =
{ dependencies =
[ "aff"
, "aff-promise"
, "arrays"
, "console"
, "effect"
, "either"
, "exceptions"
, "foldable-traversable"
, "foreign"
, "foreign-object"
, "functions"
, "integers"
, "js-date"
, "maybe"
, "naturals"
, "newtype"
, "nullable"
, "numbers"
, "prelude"
, "react-basic"
, "react-basic-dom"
, "react-basic-emotion"
, "react-basic-hooks"
, "react-icons"
, "record"
, "strings"
, "tuples"
, "typelevel-prelude"
, "unsafe-coerce"
, "untagged-union"
, "web-dom"
, "web-events"
, "web-file"
, "web-html"
, "web-uievents"
]
, repo = "https://github.com/funky-thunks/purescript-mantine"
, version = "88f5ce1d90ea6696d7f30f632313792263d90844""
}
npm install --save @mantine/core@7.3.2 @mantine/hooks@7.3.2 @mantine/dates@7.3.2 dayjs react
spago install mantine
It would be a good idea to first have a look at https://mantine.dev, but if
you want to deep dive into the purescript bindings, you can have a look at the examples
in the examples/
directory.