Leveraging CSS to Make Shiny Mobile-Responsive
summary
Built a mobile-ready Shiny app in two to three weeks with minimal R changes, using CSS media queries and breakpoints to resize fonts, swap layout with Grid/Flexbox, hide elements via display:none, and replace icons with a single button on small screens. Plot titles, axis text and orientation switch by passing a device argument and detecting width with shinybrowser (note: detect reports dimensions only at initial load). Demo at bit.ly/mfano and code at bit.ly/mfanocode.
AI-written summary · about
chapters (4)
related talks
05mLeveraging CSS to Make Shiny Mobile-Responsive
17mHTML and CSS for R Users
17mWe CAN have nice Shiny apps: What's new in Shiny's UI & UX
35mModern CSS Replacements for Better Responsive Code
01h 01mThe Evolution of Responsive Web Design: What's Next?
25mFlipping Tables Displaying Data on Small Screens
43mResponsive Design: now 90% easier with SASS!
45mHow Responsive Are You in CSS? 2026 Edition
