Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
using react-bootstrap instead of clay-ui
Hi
Can I use react-bootstrap library instead of clay-ui for my Liferay's UI?
Can I use react-bootstrap library instead of clay-ui for my Liferay's UI?
Any suggestion??
The answer is probably Yes. I would create a theme, include the necessary files and see what happens.
You will probably experience some clashes, e.g. when we used materialize (https://materializecss.com/), we found that Liferay and Materialize use the "modal" class. We needed to remove the import for modal.scss from the materialize scss file before building it, otherwise all modal dialogs simply broke.
And you will probably experience some "style clashes" and fix a few things.
You will probably experience some clashes, e.g. when we used materialize (https://materializecss.com/), we found that Liferay and Materialize use the "modal" class. We needed to remove the import for modal.scss from the materialize scss file before building it, otherwise all modal dialogs simply broke.
And you will probably experience some "style clashes" and fix a few things.
Thanks for your guide.
Actually I am so newbie in Liferay.
If possible, help me where should I start?
Actually I am so newbie in Liferay.
If possible, help me where should I start?
And I have never even looked at react-bootstrap. If I read it correctly react-bootstrap is just react on top of bootstrap. Well, Liferay is bootstrap based, so bootstrap is already there.
I would create a theme and create a test application and check what has to be changed. It could be quite some work, possibly tedious, since you probably need to look at all components (fields, buttons, messages, ...)
I am just guessing here, I am not the guy who creates/maintains themes, but when you create a theme, maybe it helps to avoid importing atlas? There should be less styles and it should be closer to bootstrap then.
https://help.liferay.com/hc/en-us/articles/360017887952-Importing-Clay-CSS-into-a-Theme-
I would create a theme and create a test application and check what has to be changed. It could be quite some work, possibly tedious, since you probably need to look at all components (fields, buttons, messages, ...)
I am just guessing here, I am not the guy who creates/maintains themes, but when you create a theme, maybe it helps to avoid importing atlas? There should be less styles and it should be closer to bootstrap then.
https://help.liferay.com/hc/en-us/articles/360017887952-Importing-Clay-CSS-into-a-Theme-
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™