| inline_button | R Documentation |
A button widget similar to shiny::actionButton() that can be included in an
inline() wrapper.
inline_button(id, label, icon = NULL, meaning = label, accent = NULL)
id |
The |
label |
The text appearing within the button. This can be a character
string or any other HTML, or |
icon |
An optional |
meaning |
A descriptive label, for people using assistive technology such as screen readers. |
accent |
A Bootstrap "accent" (such as |
An inline widget to be included in an inline() wrapper.
shiny::actionButton for how the button works with your Shiny server.
ui <- bslib::page_fixed(
shiny::h1("A wonderful button"),
inline("To update, please feel free to press the ",
inline_button("mybutton",
label = shiny::span(style = "font-style:italic", "button"),
icon = shiny::icon("play"),
meaning = "Update button", accent = "success"),
"."
)
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.