Package: bslib 0.9.0.9002

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:
bslib_0.9.0.9002.tar.gz
bslib_0.9.0.9002.zip(r-4.6)bslib_0.9.0.9002.zip(r-4.5)bslib_0.9.0.9002.zip(r-4.4)
bslib_0.9.0.9002.tgz(r-4.6-any)bslib_0.9.0.9002.tgz(r-4.5-any)
bslib_0.9.0.9002.tar.gz(r-4.6-any)bslib_0.9.0.9002.tar.gz(r-4.5-any)
bslib_0.9.0.9002.tgz(r-4.5-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')) |
Bug tracker:https://github.com/rstudio/bslib/issues
Pkgdown/docs site:https://rstudio.github.io
bootstraphtmltoolsrmarkdownsassshiny
Last updated from:bc56d8e767. Checks:7 ERROR, 2 OK. Indexed: yes.
| Target | Result | Total time | Artifact |
|---|---|---|---|
| linux-devel-x86_64 | ERROR | 180 | |
| source / vignettes | OK | 218 | |
| linux-release-x86_64 | ERROR | 172 | |
| macos-devel-arm64 | ERROR | 126 | |
| macos-release-arm64 | ERROR | 120 | |
| windows-devel | ERROR | 133 | |
| windows-release | ERROR | 126 | |
| windows-oldrel | ERROR | 127 | |
| wasm-release | OK | 122 |
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_linkhide_toastinput_code_editorinput_dark_modeinput_submit_textareainput_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_spacernavbar_optionsnavs_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_themershow_toastshowcase_bottomshowcase_left_centershowcase_top_rightsidebarsidebar_toggletheme_bootswatchtheme_versiontoasttoast_headertoggle_dark_modetoggle_popovertoggle_sidebartoggle_switchtoggle_tooltiptooltipupdate_code_editorupdate_popoverupdate_submit_textareaupdate_switchupdate_task_buttonupdate_tooltipvalue_boxvalue_box_themeversion_defaultversions
Dependencies:base64enccachemclidigestfastmapfsgluehtmltoolsjquerylibjsonlitelifecyclememoisemimeR6rappdirsrlangsass
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Create a vertically collapsing accordion | accordion accordion_panel |
| Dynamically update accordions | accordion_panel_close accordion_panel_insert accordion_panel_open accordion_panel_remove accordion_panel_set accordion_panel_update |
| Test and/or coerce fill behavior | as_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 values | breakpoints |
| Add low-level theming customizations | bs_add_functions bs_add_mixins bs_add_rules bs_add_variables bs_bundle |
| Obtain the currently active theme at render time | bs_current_theme |
| Themeable HTML components | bs_dependency bs_dependency_defer |
| Retrieve Sass variable values from the current theme | bs_get_contrast bs_get_variables |
| Global theming | bs_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 theme | bs_remove bs_retrieve |
| Create a Bootstrap theme | bs_theme bs_theme_update is_bs_theme |
| Compile Bootstrap Sass with (optional) theming | bs_theme_dependencies |
| Preview a Bootstrap theme | bs_theme_preview |
| Obtain a list of all available built-in 'bslib' themes. | builtin_themes |
| A Bootstrap card component | card |
| Card items | as.card_item card_body card_footer card_header card_image card_title is.card_item |
| Helpers for importing web fonts | font_collection font_face font_google font_link |
| Code editor input | input_code_editor update_code_editor |
| Dark mode input control | input_dark_mode toggle_dark_mode |
| Create a textarea input control with explicit submission | input_submit_textarea update_submit_textarea |
| Switch input control | input_switch toggle_switch update_switch |
| Button for launching longer-running operations | input_task_button update_task_button |
| Column-first uniform grid layouts | layout_column_wrap |
| Responsive 12-column grid layouts | layout_columns |
| Dynamically update nav containers | nav_hide nav_insert nav_remove nav_select nav_show |
| Navigation items | nav-items nav_item nav_menu nav_panel nav_panel_hidden nav_spacer |
| Create a set of navbar options | navbar_options |
| Navigation containers | navset 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 layouts | page page_fixed page_fluid |
| A screen-filling page layout | page_fillable |
| Multi-page app with a top navigation bar | page_navbar |
| A sidebar page (i.e., dashboard) | page_sidebar |
| Add a popover to a UI element | popover toggle_popover update_popover |
| Theme customization UI | bs_themer run_with_themer |
| Show or hide a toast notification | hide_toast show_toast |
| Sidebar layouts | layout_sidebar sidebar toggle_sidebar |
| Obtain a theme's Bootswatch theme name | theme_bootswatch |
| Obtain a theme's Bootstrap version | theme_version |
| Toast notifications | toast toast_header |
| Add a tooltip to a UI element | toggle_tooltip tooltip update_tooltip |
| Value box | showcase_bottom showcase_left_center showcase_top_right value_box value_box_theme |
| Available Bootstrap versions | versions version_default |
