What options does KendoReact provide for implementing fluid (responsive) layouts using rem units? In case when we use component where we can use only px, instead of px we want exchange to rem.
1 Answer, 1 is accepted
1
Accepted
Silviya
Telerik team
answered on 08 Apr 2025, 10:18 AM
Hi Nurik,
You can use our Kendo Bootstrap theme, which is based on rem units instead of pixels.
Can I use rem units for components without relying on libraries like Kendo Bootstrap? Or do I always need to create a function to convert rem to px and pass it as a prop to the components?
Silviya
Telerik team
commented on 09 Apr 2025, 12:43 PM
The Kendo Bootstrap Theme is one of our built-in themes for KendoReact components. It's not a third-party library and can be installed and included in your project right away.
Have you had a chance to try it? In case you do and you are facing more specific troubles using it, please send us a sample to investigate further.