NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

semantic.dashboard: Dashboard with Fomantic UI Support for Shiny

Filip Stachura, Dominik Krzemiński, Krystian IgrasOpenalex Unknown 2018 · OpenAlex

Abstract

The semantic.dashboard R package introduces a framework for building professional dashboards using Fomantic UI within the Shiny ecosystem. It addresses the aesthetic limitations of traditional Bootstrap-based dashboards by providing a 16-column grid system and a "Semantic" design language. This paper details the package's architecture, including its API compatibility with shinydashboard, specialized UI components like ribbons and semantic color palettes, and technical strategies for managing CSS conflicts. The package enables data scientists to create modern, visually distinct web applications without requiring extensive front-end expertise.

Introduction

For several years, the shinydashboard package has been the industry standard for building dashboards in R. While robust, its reliance on Bootstrap 3 and the AdminLTE template often results in a uniform appearance across enterprise applications. Developers seeking a more modern or "Semantic" aesthetic have historically faced significant hurdles, often requiring custom CSS or complex manual integrations. semantic.dashboard addresses this gap by providing a high-level R wrapper for Fomantic UI (a community-driven fork of Semantic UI), enabling data scientists to build sophisticated layouts within the R environment.

Methods

The package is built upon the shiny.semantic library and mirrors the structural philosophy of shinydashboard to lower adoption barriers. Key methodological choices include:

  1. API Mirroring: The package provides aliases for common functions (e.g., dashboardHeader() for dashboard_header()), allowing developers to switch from standard libraries with minimal code changes.
  2. 16-Column Grid: Unlike the 12-column grid found in Bootstrap-based layouts, this package utilizes Fomantic’s 16-column system, allowing for finer granularity when positioning elements.
  3. Enhanced Component Logic: The package introduces specialized UI elements such as "ribbons" for boxes and a variety of native Fomantic color palettes (e.g., "teal", "olive", "violet").
Customization parameters for the dashboard box component.

Results

The documentation defines a complete ecosystem for dashboard construction. Functions like dashboard_page, dashboard_header, and dashboard_sidebar provide the structural skeleton. Container elements such as box and tab_box offer high customization, including support for collapsing and side-aligned titles. Furthermore, value_box and info_box provide the "big number" displays essential for executive summaries.

Top-level dashboard page configuration and Bootstrap suppression.

The package also includes a suite of render_ and _output functions to allow dashboard elements to update dynamically based on user input or data changes.

Discussion and Limitations

A notable technical feature is the suppress_bootstrap argument in dashboard_page. The authors recognized that Fomantic UI and Bootstrap often conflict; providing a built-in way to disable Bootstrap ensures a cleaner, more stable UI. However, this may break other Shiny plugins that rely on Bootstrap-specific classes.

Additionally, while the 16-column grid offers more control, it represents a mental shift for developers accustomed to the 12-column Bootstrap standard. Users must manually adjust their width parameters when migrating existing projects. Future iterations of the package are expected to focus on deeper integration with Fomantic’s more complex interactive components, such as modals and advanced form validation.

Conclusion

semantic.dashboard represents a significant advancement in the R Shiny ecosystem, providing developers with the tools to create visually distinct and professional dashboards with minimal friction. By combining the power of Fomantic UI with the ease of use of the Shiny framework, it offers a compelling alternative for modern data visualization projects.

Summary updated

BibTeX
@inproceedings{stachura2018semantic,
  author = {Filip Stachura and Dominik Krzemiński and Krystian Igras},
  title = {{semantic.dashboard: Dashboard with Fomantic UI Support for Shiny}},
  booktitle = {Openalex Unknown},
  year = {2018},
  doi = {10.32614/cran.package.semantic.dashboard},
}
Figure