| ds_tabs | R Documentation |
Create a tabbed interface using Designsystemet tabs.
ds_tabs(inputId, ..., class = NULL)
inputId |
The input slot for Shiny reactivity |
... |
Child elements (typically ds_tablist and ds_tabpanel elements) |
class |
Additional CSS classes |
A Shiny tag object
ds_tabs("mytabs",
ds_tablist(
ds_tab("First", value = "tab1", selected = TRUE),
ds_tab("Second", value = "tab2")
),
ds_tabpanel(value = "tab1", "Content 1"),
ds_tabpanel(value = "tab2", "Content 2")
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.