All Projects → Appsilon → Shiny.semantic

Appsilon / Shiny.semantic

Licence: other
Shiny support for powerful Semantic UI library.

Programming Languages

r
7636 projects

Projects that are alternatives of or similar to Shiny.semantic

Bootstrap Table
An extended table to integration with some of the most widely used CSS frameworks. (Supports Bootstrap, Semantic UI, Bulma, Material Design, Foundation, Vue.js)
Stars: ✭ 11,068 (+3108.12%)
Mutual labels:  semantic, semantic-ui
Bcdu Net
BCDU-Net : Medical Image Segmentation
Stars: ✭ 314 (-8.99%)
Mutual labels:  semantic
python-paginate
Pagination support for python web frameworks (study from will_paginate).
Stars: ✭ 17 (-95.07%)
Mutual labels:  semantic-ui
Desktopdeployr
A framework for deploying self-contained R-based applications to the desktop
Stars: ✭ 282 (-18.26%)
Mutual labels:  shiny
Heroku Buildpack R
Heroku buildpack for R - Makes deploying R on Heroku easy
Stars: ✭ 258 (-25.22%)
Mutual labels:  shiny
Ropium
ROPium is a tool that helps you building ROP exploits by finding and chaining gadgets together
Stars: ✭ 288 (-16.52%)
Mutual labels:  semantic
tRakt-shiny
Using trakt to graph show data and such. The on-it's-way-out incarnation of trakt.jemu.name
Stars: ✭ 17 (-95.07%)
Mutual labels:  shiny
Daza Frontend
[DEPRECATED]
Stars: ✭ 326 (-5.51%)
Mutual labels:  semantic-ui
Shinydashboardplus
extensions for shinydashboard
Stars: ✭ 304 (-11.88%)
Mutual labels:  shiny
Pagy
🏆 The Best Pagination Ruby Gem 🥇
Stars: ✭ 3,340 (+868.12%)
Mutual labels:  semantic-ui
Semantic Ui Wordpress
This project incorporates Semantic UI into a starter (aka developer) theme for WordPress.
Stars: ✭ 276 (-20%)
Mutual labels:  semantic
Opennars
OpenNARS for Research 3.0+
Stars: ✭ 264 (-23.48%)
Mutual labels:  semantic
Erfnet pytorch
Pytorch code for semantic segmentation using ERFNet
Stars: ✭ 304 (-11.88%)
Mutual labels:  semantic
Rinno
How to install local shiny apps
Stars: ✭ 255 (-26.09%)
Mutual labels:  shiny
Rhandsontable
A htmlwidgets implementation of Handsontable.js
Stars: ✭ 320 (-7.25%)
Mutual labels:  shiny
scotpho-profiles-tool
ScotPHO profiles tool code
Stars: ✭ 46 (-86.67%)
Mutual labels:  shiny
Dashboardthemes
Now on CRAN: custom theme support for R Shinydashboard applications.
Stars: ✭ 268 (-22.32%)
Mutual labels:  shiny
Code
Compilation of R and Python programming codes on the Data Professor YouTube channel.
Stars: ✭ 287 (-16.81%)
Mutual labels:  shiny
Waiter
🕰️ Loading screens for Shiny
Stars: ✭ 325 (-5.8%)
Mutual labels:  shiny
Native Css
Convert pure CSS to React Style or javascript literal objects.
Stars: ✭ 322 (-6.67%)
Mutual labels:  semantic

We are hiring!

shiny.semantic

R-CMD-check codecov

cranlogs total

Fomantic (Semantic) UI wrapper for Shiny

With this library it is easy to wrap Shiny with Fomantic UI (previously Semantic). Add a few simple lines of code to give your UI a fresh, modern and highly interactive look.

  • shiny
shiny
library(shiny)
ui <- fluidPage(
  div(
    div(
      a("Link"),
      p("Lorem ipsum, lorem ipsum, lorem ipsum"),
      actionButton("button", "Click")
    )
  )
)
  • shiny.semantic
semantic
library(shiny.semantic)
ui <- semanticPage(
  div(class = "ui raised segment",
    div(
      a(class="ui green ribbon label", "Link"),
      p("Lorem ipsum, lorem ipsum, lorem ipsum"),
      actionButton("button", "Click")
    )
  )
)

Shiny.semantic demos

Case studies

🔗 Churn analytics 🔗 Fraud detection

Before and after

We show how shiny.semantic can be used to style an app and change it’s look.

🔗 BEFORE Utah Division of Water Quality (DWQ) 🔗 AFTER Utah Division of Water Quality (DWQ)

Component examples

Components live demo

See more examples with code in the examples folder:

How to install?

You can install a stable shiny.semantic release from CRAN repository:

install.packages("shiny.semantic")

and the latest version with remotes:

remotes::install_github("Appsilon/[email protected]")

(master branch contains the stable version. Use develop branch for latest features)

To install previous versions you can run:

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

How to use it?

Firstly, you will have to invoke shinyUI() with semanticPage() instead of standard Shiny UI definitions like e.g. bootstrapPage(). From now on, all components can be annotated with Fomantic UI specific CSS classes and also you will be able to use shiny.semantic components.

Basic example for rendering a simple button. will look like this:

library(shiny)
library(shiny.semantic)
ui <- semanticPage(
      title = "My page",
      div(class = "ui button", icon("user"),  "Icon button")
    )
server <- function(input, output) {}
shinyApp(ui, server)

For better understanding it’s good to check Fomantic UI documentation.

Note #1

At the moment you have to pass page title in semanticPage()

semanticPage(title = "Your page title", ...)

Note #2

The shiny package works with Bootstrap library under the hood. shiny.semantic uses Fomantic UI. Sometimes using both of these libraries may cause troubles with rendering specific UI elements. That is why by default we turn off Bootstrap dependencies.

However, you can switch off suppressing bootstrap by calling semanticPage(suppress_bootstrap = FALSE, ...)

How to contribute?

We welcome contributions of all types!

We encourage typo corrections, bug reports, bug fixes and feature requests. Feedback on the clarity of the documentation and examples is especially valuable.

If you want to contribute to this project please submit a regular PR, once you’re done with new feature or bug fix.

Changes in documentation

Both repository README.md file and an official documentation page are generated with Rmarkdown, so if there is a need to update them, please modify accordingly a README.Rmd file and use “Knit”.

Documentation is rendered with pkgdown. Just run pkgdown::build_site() after rendering new README.md.

Changes in vignettes

If you modified or added a new vignette, please rebuild them with devtools::build_vignettes().

Important:

  1. Please follow the code style from out styleguide.

  2. We have a Contributor Code of Conduct. Make sure to check it and to follow it.

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
install.packages("shiny", version='0.14.2.9001')
  1. Some bugs may be related directly to Semantic UI. In that case please try to check issues on its repository.
  2. Some bugs may be related to Bootstrap. Please make sure you have it suppressed. Instructions are above in How to use it? section.

Future enhacements

  • create all update functions for input components to mimic shiny as close as possible
  • add some glue code in dsl.R to make using this package smoother
  • adding more semantic components
  • new version release on CRAN

Appsilon Data Science

Appsilon is the Full Service Certified RStudio Partner. Learn more at appsilon.com.

Get in touch [email protected]

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].