Package: bslib 0.8.0.9000
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.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')) |
Bug tracker:https://github.com/rstudio/bslib/issues
bootstraphtmltoolsrmarkdownsassshiny
Last updated 1 hours agofrom:bfb59bc85c. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 19 2024 |
R-4.5-win | OK | Nov 19 2024 |
R-4.5-linux | OK | Nov 19 2024 |
R-4.4-win | OK | Nov 19 2024 |
R-4.4-mac | OK | Nov 19 2024 |
R-4.3-win | OK | Nov 19 2024 |
R-4.3-mac | OK | Nov 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 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 |
Dark mode input control | input_dark_mode toggle_dark_mode |
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 |
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 |
Sidebar layouts | layout_sidebar sidebar sidebar_toggle toggle_sidebar |
Obtain a theme's Bootswatch theme name | theme_bootswatch |
Obtain a theme's Bootstrap version | theme_version |
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 |