Package: bslib 0.8.0.9000

Carson Sievert

bslib: Custom 'Bootstrap' 'Sass' Themes for 'shiny' and 'rmarkdown'

Simplifies custom 'CSS' styling of both 'shiny' and 'rmarkdown' via 'Bootstrap' 'Sass'. Supports 'Bootstrap' 3, 4 and 5 as well as their various 'Bootswatch' themes. An interactive widget is also provided for previewing themes in real time.

Authors:Carson Sievert [aut, cre], Joe Cheng [aut], Garrick Aden-Buie [aut], Posit Software, PBC [cph, fnd], Bootstrap contributors [ctb], Twitter, Inc [cph], Javi Aguilar [ctb, cph], Thomas Park [ctb, cph], PayPal [ctb, cph]

bslib_0.8.0.9000.tar.gz
bslib_0.8.0.9000.zip(r-4.5)bslib_0.8.0.9000.zip(r-4.4)bslib_0.8.0.9000.zip(r-4.3)
bslib_0.8.0.9000.tgz(r-4.4-any)bslib_0.8.0.9000.tgz(r-4.3-any)
bslib_0.8.0.9000.tar.gz(r-4.5-noble)bslib_0.8.0.9000.tar.gz(r-4.4-noble)
bslib_0.8.0.9000.tgz(r-4.4-emscripten)bslib_0.8.0.9000.tgz(r-4.3-emscripten)
bslib.pdf |bslib.html
bslib/json (API)
NEWS

# Install 'bslib' in R:
install.packages('bslib', repos = c('https://rstudio.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/rstudio/bslib/issues

On CRAN:

bootstraphtmltoolsrmarkdownsassshiny

17.91 score 489 stars 4.2k packages 4.3k scripts 1.1M downloads 139 exports 17 dependencies

Last updated 1 hours agofrom:bfb59bc85c. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 19 2024
R-4.5-winOKNov 19 2024
R-4.5-linuxOKNov 19 2024
R-4.4-winOKNov 19 2024
R-4.4-macOKNov 19 2024
R-4.3-winOKNov 19 2024
R-4.3-macOKNov 19 2024

Exports:accordionaccordion_panelaccordion_panel_closeaccordion_panel_insertaccordion_panel_openaccordion_panel_removeaccordion_panel_setaccordion_panel_updateas_fill_carrieras_fill_itemas_fillable_containeras.card_itembind_task_buttonbootstrapbootstrap_sassbootswatch_themesbreakpointsbs_add_declarationsbs_add_functionsbs_add_mixinsbs_add_rulesbs_add_variablesbs_bundlebs_current_themebs_dependencybs_dependency_deferbs_get_contrastbs_get_variablesbs_global_add_rulesbs_global_add_variablesbs_global_bundlebs_global_clearbs_global_getbs_global_setbs_global_themebs_global_theme_updatebs_removebs_retrievebs_themebs_theme_accent_colorsbs_theme_addbs_theme_add_variablesbs_theme_base_colorsbs_theme_clearbs_theme_dependenciesbs_theme_fontsbs_theme_getbs_theme_get_variablesbs_theme_newbs_theme_previewbs_theme_setbs_theme_updatebs_themerbuiltin_themescardcard_bodycard_body_fillcard_footercard_headercard_imagecard_titlecssfont_collectionfont_facefont_googlefont_linkinput_dark_modeinput_switchinput_task_buttonis_bs_themeis_fill_carrieris_fill_itemis_fillable_containeris.card_itemlayout_column_wraplayout_columnslayout_sidebarnavnav_appendnav_contentnav_hidenav_insertnav_itemnav_menunav_panelnav_panel_hiddennav_prependnav_removenav_selectnav_shownav_spacernavs_barnavs_hiddennavs_pillnavs_pill_cardnavs_pill_listnavs_tabnavs_tab_cardnavset_barnavset_card_pillnavset_card_tabnavset_card_underlinenavset_hiddennavset_pillnavset_pill_listnavset_tabnavset_underlinepagepage_fillpage_fillablepage_fixedpage_fluidpage_navbarpage_sidebarpopoverprecompiled_css_pathremove_all_fillrun_with_themershowcase_bottomshowcase_left_centershowcase_top_rightsidebarsidebar_toggletheme_bootswatchtheme_versiontoggle_dark_modetoggle_popovertoggle_sidebartoggle_switchtoggle_tooltiptooltipupdate_popoverupdate_switchupdate_task_buttonupdate_tooltipvalue_boxvalue_box_themeversion_defaultversions

Dependencies:base64enccachemclidigestfastmapfsgluehtmltoolsjquerylibjsonlitelifecyclememoisemimeR6rappdirsrlangsass

Readme and manuals

Help Manual

Help pageTopics
Create a vertically collapsing accordionaccordion accordion_panel
Dynamically update accordionsaccordion_panel_close accordion_panel_insert accordion_panel_open accordion_panel_remove accordion_panel_set accordion_panel_update
Test and/or coerce fill behavioras_fillable_container as_fill_carrier as_fill_item is_fillable_container is_fill_carrier is_fill_item remove_all_fill
Bind 'input_task_button' to 'ExtendedTask'bind_task_button bind_task_button.default bind_task_button.ExtendedTask
Obtain a list of all available bootswatch themes.bootswatch_themes
Define breakpoint valuesbreakpoints
Add low-level theming customizationsbs_add_functions bs_add_mixins bs_add_rules bs_add_variables bs_bundle
Obtain the currently active theme at render timebs_current_theme
Themeable HTML componentsbs_dependency bs_dependency_defer
Retrieve Sass variable values from the current themebs_get_contrast bs_get_variables
Global themingbs_global_add_rules bs_global_add_variables bs_global_bundle bs_global_clear bs_global_get bs_global_set bs_global_theme bs_global_theme_update
Remove or retrieve Sass code from a themebs_remove bs_retrieve
Create a Bootstrap themebs_theme bs_theme_update is_bs_theme
Compile Bootstrap Sass with (optional) themingbs_theme_dependencies
Preview a Bootstrap themebs_theme_preview
Obtain a list of all available built-in 'bslib' themes.builtin_themes
A Bootstrap card componentcard
Card itemsas.card_item card_body card_footer card_header card_image card_title is.card_item
Helpers for importing web fontsfont_collection font_face font_google font_link
Dark mode input controlinput_dark_mode toggle_dark_mode
Switch input controlinput_switch toggle_switch update_switch
Button for launching longer-running operationsinput_task_button update_task_button
Column-first uniform grid layoutslayout_column_wrap
Responsive 12-column grid layoutslayout_columns
Dynamically update nav containersnav_hide nav_insert nav_remove nav_select nav_show
Navigation itemsnav-items nav_item nav_menu nav_panel nav_panel_hidden nav_spacer
Navigation containersnavset navset_bar navset_card_pill navset_card_tab navset_card_underline navset_hidden navset_pill navset_pill_list navset_tab navset_underline
Modern Bootstrap page layoutspage page_fixed page_fluid
A screen-filling page layoutpage_fillable
Multi-page app with a top navigation barpage_navbar
A sidebar page (i.e., dashboard)page_sidebar
Add a popover to a UI elementpopover toggle_popover update_popover
Theme customization UIbs_themer run_with_themer
Sidebar layoutslayout_sidebar sidebar sidebar_toggle toggle_sidebar
Obtain a theme's Bootswatch theme nametheme_bootswatch
Obtain a theme's Bootstrap versiontheme_version
Add a tooltip to a UI elementtoggle_tooltip tooltip update_tooltip
Value boxshowcase_bottom showcase_left_center showcase_top_right value_box value_box_theme
Available Bootstrap versionsversions version_default