EZRShiny-package: EZRShiny: Build Consistent 'shiny' App Layouts with Less Code

EZRShiny-packageR Documentation

EZRShiny: Build Consistent 'shiny' App Layouts with Less Code

Description

EZRShiny wraps 'shiny', 'bslib' and 'shinyjs' so every app shares the same layout and behaviour with far less code.

Details

The functions fall into five groups:

  • Page: UINav() builds the whole page: navigation bar, logos, app name and dark mode switch.

  • Tabs: singleTab(), sidebarLevelTab(), biLevelTab() and triLevelTab() make top-level tabs. subTab(), subSidebarTab(), triSubTab(), triSubSidebarTab() and subTwoColPage() go inside them.

  • Inputs: navButton(), navSelect(), navUpload(), navDownload(), navCheckbox(), navText(), navNumeric(), navColor() and navDate(). Each accepts a tooltipText.

  • Outputs: navOutputTable(), navOutputPlot(), navOutputPlotly(), navOutputGirafe(), navOutputPic(), sideNavOutputPic() and navOutputText().

  • Server helpers: activateItems(), deactivateItems(), showNavTabs(), hideNavTabs(), startSection() and endSection().

To start a new app, run createEZApp(). To see a complete working app, run runExampleApp(). The "Getting started" vignette walks through both: vignette("getting-started", package = "EZRShiny").

Options

  • EZRShiny.cardHeight: default height of the card that holds each tab's contents. Defaults to "85vh" (85% of the window height).

Author(s)

Maintainer: Daniella DeWeerd danielladeweerd@gmail.com [copyright holder]

Authors:

See Also

Useful links:


EZRShiny documentation built on Oct. 10, 2026, 5:08 p.m.