• Stars
    star
    104
  • Rank 318,892 (Top 7 %)
  • Language
    R
  • License
    Other
  • Created over 5 years ago
  • Updated almost 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A 'NES' css for 'Shiny'

nessy

A NES css for Shiny.

Note: I did not code the CSS, but brought an existing one to Shiny. Give the original css a star if you like it!

Install

#install.packages("remotes")
remotes::install_github("ColinFay/nessy")

Init

Starting point

Every new page is launched by the cartridge() function. Itโ€™s more or less equivalent to shiny::fluidPage(), but with NES CSS loaded.

library(nessy)

ui <- cartridge(
  title = "{nessy}",
  subtitle = "NES-style CSS Framework for Shiny.",
  footer = "{nessy}, based on NES.css"
)

server <- function(input, output, session) {
  
}

shiny::shinyApp(ui, server)
  

New container

You can simply pass along a tagList() of objects. The framed areas are launched by the container, container_simple and container_with_title functions.

library(nessy)

ui <- cartridge(
  title = "{nessy}",
  container_with_title(
      "a container", 
      octocat_animate()
  )
)

server <- function(input, output, session) {
  
}

shiny::shinyApp(ui, server)
  

UI Elements

There are five different buttons & a radio_buttons():

ui <- cartridge(
  title = "{nessy}",
  container_with_title(
    title = "Buttons",
    button("Normal", "Normal"),
    button_primary("Primary", "Primary"),
    button_success("Success", "Success"),
    button_warning("Warning", "Warning"),
    button_error("Error", "Error"),
    radio_buttons("sure", "Are you sure?", c("yes", "no"))
  )
)

server <- function(input, output, session) {
  
}

shiny::shinyApp(ui, server)

You can also find:

  • Balloons
  • Checkbox
  • Text Input
  • Various Icons

Example

nessy_examples() returns the path to all available examples.

nessy::nessy_examples()
#> [1] "app2.R"       "app3.R"       "app4.R"       "exampleapp.R"

You can then:

shiny::runApp(nessy_examples("exampleapp.R"))

Please note that the โ€˜nessyโ€™ project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.

More Repositories

1

attempt

Tools for defensive programming in R
R
122
star
2

brochure

[WIP] Natively Multipage Shiny Apps
R
101
star
3

hexmake

A Shiny App for Making Hex Stickers.
R
90
star
4

erum2018

"Building a package that lasts" โ€” eRum 2018 workshop
78
star
5

hordes

R from NodeJS, the right way.
JavaScript
58
star
6

aside

Send a long R job to be run aside
R
57
star
7

golemexamples

Gathering in one place some {golem} examples
R
55
star
8

bubble

Launch and interact with a NodeJS session from R
HTML
52
star
9

backyard

A Web App for Easier Bookdown Collaboration
R
50
star
10

conf

Slides from various conferences
R
49
star
11

gargoyle

Event-Based Structures for 'Shiny'
R
48
star
12

golemize

Example of turning apps to golem
JavaScript
46
star
13

fryingpane

Serve datasets from a package inside the RStudio Connection Pane.
R
41
star
14

glouton

'JS-cookies' in Shiny
R
40
star
15

tidystringdist

String distance calculation the tidy way.
R
40
star
16

user2019workshop

38
star
17

tidytuesday201942

A golem App for #TidyTuesday, 2019-10-15
HTML
38
star
18

geoloc

Add geolocation inside your shiny app
R
38
star
19

craneur

Create your own R Archive Network
HTML
36
star
20

argh

Hey, Everybody Makes Mistakes
R
36
star
21

resume

Bootstrap Resume Template for Shiny
R
32
star
22

purrr-cookbook

[Work In Progress] A cookbook of purrr recipes
HTML
30
star
23

crrry

'crrri' recipes for 'shiny'
R
28
star
24

r-ci

Docker images for Continous Integration / Continuous Delivery for R Projects
Dockerfile
26
star
25

feathericons

Feather Icons for Shiny
R
24
star
26

golemexample

An example app for illustrating golem features
R
24
star
27

proustr

Tools for Natural Language Processing in French and texts from Marcel Proust's collection "A La Recherche Du Temps Perdu"
R
24
star
28

handydandy

Easy CSS Styling for Shiny
R
22
star
29

darkmode

'darkmode.js' for 'Shiny'
R
19
star
30

frankenstein

Bring your Shiny App back from the dead
R
18
star
31

haddock

[WIP - DO NOT USE] A Shiny Server written in Node JS
JavaScript
18
star
32

chuck

10x Shiny App with Chuck Norris jokes
R
18
star
33

ronline

A NodeJS app to explore multiple versions of R
JavaScript
18
star
34

mdlinks

A Google Chrome extension to create Markdown links for the current page
JavaScript
17
star
35

odds

On Disk Data Storage for Cross-Session Access in R
R
16
star
36

jekyllthat

RMarkdown to Github Jekyll md
R
15
star
37

r-db

[WIP] A Docker image w/ the whole stack of packages from the CRAN task view "Databases"
HTML
15
star
38

tweetthat

A simple wrapper to tweet straight from your R session.
R
14
star
39

rpinterest

An R package to access the Pinterest API
R
11
star
40

rgeoapi

This package requests informations from the french GรฉoAPI inside R โ€” https://api.gouv.fr/api/geoapi.html
R
10
star
41

writing-r-extensions

"Writing R Extensions" manual as a bookdown
R
8
star
42

skeleton

Skeleton CSS for Shiny
R
8
star
43

dockerstats

R Wrapper Around 'docker stats'
R
7
star
44

debugin

An RStudio Addin for Debugging
R
7
star
45

ariel

Access the SIRENE API from R
R
7
star
46

minifying

An Application to Minify CSS, JAVASCRIPT, CSS, and HTML files
R
6
star
47

golem-joburg

satRday Johannesburg golem Workshop
R
6
star
48

minifyr

Wrapper around node-minify NodeJS module
R
6
star
49

worrkout

Generate and post workouts as a issue to a GitHub repo.
R
6
star
50

noon

Watch MIDI Events from R
R
5
star
51

languagelayeR

Access the languagelayer API with R
HTML
5
star
52

rrocketchat

R API wrapper for Rocket.Chat
R
4
star
53

rnotify

A Wrapper Around the 'node-notify-cli' module, in R.
R
4
star
54

clientsdb

A docker image with a client review database built with postgre, to be used for teaching.
R
4
star
55

ur-first-5k

Running your first 5K by closing GitHub issues
R
4
star
56

lexiquer

Access Lexique3.81, a Natural Language Processing Database for French
R
4
star
57

colinfay.github.io

website
HTML
4
star
58

rfeel

A Wrapper for the FEEL lexicon
R
3
star
59

here.js

Finding your files in NodeJS โ€” Port of the {here} R package
JavaScript
3
star
60

tuRbonegro

[Just for fun] Plays a random Turbonegro clip in your R Viewer
R
3
star
61

r-internals

"R Internals" manual as a bookdown
R
3
star
62

daw

R
2
star
63

LoremJulia

A basic lorem ipsum generator made in Julia.
Julia
2
star
64

wikileaksdm

Wikileaks Twitter DMs leak as a browsable and reusable format
HTML
2
star
65

rstudiosnippets

Random RStudio Snippets
2
star
66

cordes

[WIP] Boilerplate for Wrapping Node Modules in R packages
R
2
star
67

wtfismyip

A simple, dependency free wrapper around wtfismyip
R
2
star
68

shinymaterial

R
2
star
69

website

Personnal Website
CSS
2
star
70

golem4bench

A very simple golem-based package, made for benchmark
R
1
star
71

orderdiv

R
1
star
72

majordome

[WIP] Manage Remote 'RConnect' and 'RStudio Package Manger' from your R session
R
1
star
73

r-language-definition

"R Language Definition" manual as a bookdown
R
1
star
74

osgridfolio

[WIP] A dead simple grid portfolio to display your GitHub projects, written in pure CSS & vanilla JS
CSS
1
star
75

gloup

glop
R
1
star
76

colinfay

1
star
77

webrspongebob

Example repo of an app built with `webrcli` & `spidyr`
JavaScript
1
star
78

intro-to-r

"Intro to R" manual as a bookdown
HTML
1
star
79

r-devel-doc

Documenting the process of submitting a bug fix to R
Shell
1
star