| inline_link | R Documentation |
A link widget similar to shiny::actionLink() that can be included in an
inline() wrapper.
inline_link(id, label, icon = NULL, meaning = label, accent = NULL)
id |
The |
label |
The text appearing within the link. 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::actionLink for how the link works with your Shiny server.
ui <- bslib::page_fixed(
shiny::h1("Link examples"),
inline("These are ", inline_link("link1", "some"), " ",
inline_link("link2", "increasingly", accent = "danger"), " ",
inline_link("link3", "fancy", accent = c("success", "underline-warning", "offset-2")), " ",
inline_link("link4", "links", icon = shiny::icon("link"), accent = "info"), "!")
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.