Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pvictor/shinyReactWidgets
React widgets for Shiny apps
https://github.com/pvictor/shinyReactWidgets
Last synced: 3 months ago
JSON representation
React widgets for Shiny apps
- Host: GitHub
- URL: https://github.com/pvictor/shinyReactWidgets
- Owner: pvictor
- License: other
- Created: 2019-03-07T13:15:27.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-03-18T17:39:52.000Z (over 5 years ago)
- Last Synced: 2024-06-13T19:49:11.211Z (5 months ago)
- Language: R
- Size: 381 KB
- Stars: 17
- Watchers: 4
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-shiny-extensions - shinyReactWidgets - React widgets for Shiny apps. (UI Components / React)
- jimsghstars - pvictor/shinyReactWidgets - React widgets for Shiny apps (R)
README
# shinyReactWidgets
> [ReactR](https://github.com/react-R/reactR) Widgets for Shiny apps
## Installation
You can install from GitHub:
``` r
# you need branch 'input-binding' from ReactR
remotes::install_github("react-R/reactR@input-binding")remotes::install_github("pvictor/shinyReactWidgets")
```## react-select
Widget for [react-select](https://github.com/JedWatson/react-select)
![](imgs/react-select.png)
``` r
library(shiny)
library(shinyReactWidgets)ui <- fluidPage(
tags$h1("react-select example"),select_input(
inputId = "select",
choices = month.name,
multi = FALSE
),verbatimTextOutput("res")
)server <- function(input, output, session) {
output$res <- renderPrint({
input$select
})}
shinyApp(ui, server)
```