Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/Appsilon/semantic.dashboard

Quick, beautiful and customizable dashboard template for Shiny based on shiny.semantic and Fomantic UI.
https://github.com/Appsilon/semantic.dashboard

dashboard fomantic-ui r rhinoverse semantic-ui shiny

Last synced: 3 months ago
JSON representation

Quick, beautiful and customizable dashboard template for Shiny based on shiny.semantic and Fomantic UI.

Awesome Lists containing this project

README

        

# semantic.dashboard semantic.dashboard logo

> _Quick, beautiful and customizable dashboard template for Shiny based on shiny.semantic and Fomantic UI._

[![R-CMD-check](https://github.com/Appsilon/semantic.dashboard/workflows/R-CMD-check/badge.svg)](https://github.com/Appsilon/semantic.dashboard/actions/workflows/main.yml)
[![codecov](https://codecov.io/gh/Appsilon/semantic.dashboard/branch/master/graph/badge.svg)](https://codecov.io/gh/Appsilon/semantic.dashboard)
[![cranlogs](https://cranlogs.r-pkg.org/badges/semantic.dashboard)](https://CRAN.R-project.org/package=semantic.dashboard)
[![total](https://cranlogs.r-pkg.org/badges/grand-total/semantic.dashboard)](https://CRAN.R-project.org/package=semantic.dashboard)

Are you fed up with ordinary `shinydashboard` look?

Give your app a new fresh look with [Fomantic UI](https://fomantic-ui.com/) support.

``` r
library(shiny)
library(shinydashboard) # <-- Change this line to: library(semantic.dashboard)

ui <- dashboardPage(
dashboardHeader(title = "Basic dashboard"),
dashboardSidebar(sidebarMenu(
menuItem(tabName = "home", text = "Home", icon = icon("home")),
menuItem(tabName = "another", text = "Another Tab", icon = icon("heart"))
)),
dashboardBody(
fluidRow(
box(plotOutput("plot1", height = 250)),
box(
title = "Controls",
sliderInput("slider", "Number of observations:", 1, 100, 50)
)
)
)
)

server <- function(input, output) {
set.seed(122)
histdata <- rnorm(500)
output$plot1 <- renderPlot({
data <- histdata[seq_len(input$slider)]
hist(data)
})
}

shinyApp(ui, server)
```

![Semantic dashboards comparison](man/figures/compare.png)

`semantic.dashboard` offers basic functions for creating dashboard with Fomantic UI.

## How to install?

Install `shiny.semantic` library first. [Here](https://github.com/Appsilon/shiny.semantic) you can find how.

You can install a stable version `semantic.dashboard` from CRAN repository:

install.packages("semantic.dashboard")

The development version can be installed from GitHub using `remotes`.

remotes::install_github("Appsilon/semantic.dashboard")

To install [previous version]() you can run:

remotes::install_github("Appsilon/semantic.dashboard", ref = "0.1.0")

## Example

You can find examples in the `examples/` folder of the [GitHub repository](https://github.com/Appsilon/semantic.dashboard).

You can check [documentation](https://appsilon.github.io/semantic.dashboard/) for tutorials.

## How to contribute?

If you want to contribute to this project please submit a regular PR, once you're done with new feature or bug fix. Please check `development/README.md` first! It contains useful
information that will help you run your dev environment for `semantic.dashboard`.

## Troubleshooting

We used the latest versions of dependencies for this library, so please update your R environment before installation.

However, if you encounter any problems, try the following:

1. Up-to-date R language environment
2. Installing specific dependent libraries versions
- shiny.semantic

## Future enhacements

- Release of a stable 1.0.0 version
- Closer integration with shinydashboard

## Appsilon

Appsilon is a **Posit (formerly RStudio) Full Service Certified Partner**.

Learn more at [appsilon.com](https://appsilon.com).

Get in touch [[email protected]](mailto:[email protected])

Explore the [Rhinoverse](https://rhinoverse.dev) - a family of R packages built around [Rhino](https://appsilon.github.io/rhino/)!

We are hiring!