Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified man/figures/navset-card-pill.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified man/figures/navset-card-underline.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified man/figures/navset-pill-list.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified man/figures/navset-pill.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified man/figures/navset-tab-card.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified man/figures/navset-tab.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified man/figures/navset-underline.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified man/figures/page-navbar.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
59 changes: 26 additions & 33 deletions man/fragments/ex-navset_tab.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,11 @@ using `nav_spacer()`.
navset_tab(
nav_panel(title = "One", p("First tab content.")),
nav_panel(title = "Two", p("Second tab content.")),
nav_panel(title = "Three", p("Third tab content")),
nav_spacer(),
nav_item(link_shiny),
nav_menu(
title = "Other links",
align = "right",
nav_panel("Three", p("Third tab content")),
title = "Links",
nav_item(link_shiny),
nav_item(link_posit)
)
)
Expand All @@ -71,12 +70,11 @@ but the tab toggles are _pills_ or button-shaped.
navset_pill(
nav_panel(title = "One", p("First tab content.")),
nav_panel(title = "Two", p("Second tab content.")),
nav_panel(title = "Three", p("Third tab content")),
nav_spacer(),
nav_item(link_shiny),
nav_menu(
title = "Other links",
align = "right",
nav_panel("Three", p("Third tab content")),
title = "Links",
nav_item(link_shiny),
nav_item(link_posit)
)
)
Expand All @@ -90,12 +88,11 @@ navset_pill(
navset_underline(
nav_panel(title = "One", p("First tab content.")),
nav_panel(title = "Two", p("Second tab content.")),
nav_panel(title = "Three", p("Third tab content")),
nav_spacer(),
nav_item(link_shiny),
nav_menu(
title = "Other links",
align = "right",
nav_panel("Three", p("Third tab content")),
title = "Links",
nav_item(link_shiny),
nav_item(link_posit)
)
)
Expand All @@ -115,12 +112,11 @@ using the `sidebar` argument of `navset_card_tab()`.
navset_card_tab(
nav_panel(title = "One", p("First tab content.")),
nav_panel(title = "Two", p("Second tab content.")),
nav_panel(title = "Three", p("Third tab content")),
nav_spacer(),
nav_item(link_shiny),
nav_menu(
title = "Other links",
align = "right",
nav_panel("Three", p("Third tab content")),
title = "Links",
nav_item(link_shiny),
nav_item(link_posit)
)
)
Expand All @@ -138,12 +134,11 @@ navset_card_pill(
placement = "above",
nav_panel(title = "One", p("First tab content.")),
nav_panel(title = "Two", p("Second tab content.")),
nav_panel(title = "Three", p("Third tab content")),
nav_spacer(),
nav_item(link_shiny),
nav_menu(
title = "Other links",
align = "right",
nav_panel("Three", p("Third tab content")),
title = "Links",
nav_item(link_shiny),
nav_item(link_posit)
)
)
Expand All @@ -157,12 +152,11 @@ navset_card_pill(
navset_card_underline(
nav_panel(title = "One", p("First tab content.")),
nav_panel(title = "Two", p("Second tab content.")),
nav_panel(title = "Three", p("Third tab content")),
nav_spacer(),
nav_item(link_shiny),
nav_menu(
title = "Other links",
align = "right",
nav_panel("Three", p("Third tab content")),
title = "Links",
nav_item(link_shiny),
nav_item(link_posit)
)
)
Expand All @@ -177,12 +171,11 @@ adjacent to, rather than on top of, the tab content panels.
navset_pill_list(
nav_panel(title = "One", p("First tab content.")),
nav_panel(title = "Two", p("Second tab content.")),
nav_panel(title = "Three", p("Third tab content")),
nav_spacer(),
nav_item(link_shiny),
nav_menu(
title = "Other links",
align = "right",
nav_panel("Three", p("Third tab content")),
title = "Links",
nav_item(link_shiny),
nav_item(link_posit)
)
)
Expand All @@ -200,14 +193,14 @@ page_navbar(
title = "My App",
bg = "#0062cc",
underline = TRUE,
nav_panel(title = "One", p("First page content.")),
nav_panel(title = "Two", p("Second page content.")),
nav_panel(title = "One", p("First tab content.")),
nav_panel(title = "Two", p("Second tab content.")),
nav_panel(title = "Three", p("Third tab content")),
nav_spacer(),
nav_item(link_shiny),
nav_menu(
title = "Other links",
title = "Links",
align = "right",
nav_panel("Three", p("Third page content.")),
nav_item(link_shiny),
nav_item(link_posit)
)
)
Expand Down
59 changes: 26 additions & 33 deletions man/navset.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.