bulmaSteps: bulma steps

Description Usage Arguments Author(s) Examples

View source: R/bulma-steps.R

Description

Create a step element https://wikiki.github.io/components/steps/.

Usage

1
bulmaSteps(..., size = NULL)

Arguments

...

Slot for bulmaStepItem.

size

Global size : small, medium and large.

Author(s)

David Granjon, dgranjon@ymail.com

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
if (interactive()) {
 library(shiny)

 ui <- bulmaPage(
  bulmaContainer(
   bulmaSteps(
    size = NULL,
    bulmaStepItem(
      color = "success", completed = TRUE, active = FALSE,
      bulmaStepDetail(
        color = NULL, completed = FALSE, title = "Step 1", marker = 1,
        "This is the first step of the process."
      )
    ),
    bulmaStepItem(
      color = NULL, completed = FALSE, active = FALSE,
      bulmaStepDetail(
        color = NULL, completed = FALSE, title = "Step 2", marker = NULL,
        "This is the second step. You get here once you have completed the first step."
      )
    ),
    bulmaStepItem(
      color = NULL, completed = FALSE, active = FALSE,
      bulmaStepDetail(
        color = NULL, completed = FALSE, title = "Step 3", marker = 3,
        "This is the third step. One more step before the end."
      )
    ),
    bulmaStepItem(
      color = NULL, completed = FALSE, active = TRUE,
      bulmaStepDetail(
        color = NULL, completed = FALSE, title = "Step 4", marker = NULL,
        "Final step. You have completed all the previous steps and end the process."
      )
    )
    )
  )
 )

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

 }

 shinyApp(ui = ui, server = server)

}

JohnCoene/shinybulma documentation built on Oct. 17, 2020, 8:57 p.m.