What options does KendoReact provide for implementing fluid (responsive) layouts using rem units?

1 Answer 17 Views
Accessibility
Nurik
Top achievements
Rank 2
Iron
Iron
Nurik asked on 06 Apr 2025, 07:39 AM
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

Sort by
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.

https://www.telerik.com/design-system/docs/themes/kendo-themes/bootstrap/theme-variables/

Regards,
Silviya
Progress Telerik

Enjoyed our products? Share your experience on G2 and receive a $25 Amazon gift card for a limited time!

Nurik
Top achievements
Rank 2
Iron
Iron
commented on 08 Apr 2025, 11:50 AM

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.

Tags
Accessibility
Asked by
Nurik
Top achievements
Rank 2
Iron
Iron
Answers by
Silviya
Telerik team
Share this question
or