Skip to content

any plan to support react (next) with Mantine? #35

Answered by Kitenite
wizztjh asked this question in Questions
Discussion options

You must be logged in to vote

Hey @wizztjh ,
No explicit plan for mantine atm. However, you can see here where the classes are being generated from CSS and written to the React nodes. For Mantine I would generate the mantine styles from CSS and then write it into the style node instead of className node.

Generate Tailwind from CSS: https://github.com/onlook-dev/studio/blob/main/app/src/lib/editor/engine/code/index.ts#L40
Write tailwind classes to React: https://github.com/onlook-dev/studio/blob/main/app/electron/main/code/index.ts#L40

I will keep checking this and prioritize higher if there's more demand :)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Kitenite
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
2 participants