Package: bootstrict 0.9.9.9000

Colin Fay

bootstrict: Strict Bootstrap 5.3 Widgets for Shiny

A complete, faithful implementation of the Bootstrap 5.3 component, layout and form library as Shiny UI functions. Every widget mirrors the Bootstrap 5.3 HTML structure one-to-one so that a designer's mockup and SASS variables can be dropped into a Shiny application with minimal deviation from Shiny's own conventions. Interactive components report their state to the server and can be controlled server-side through update functions and proxies. Bootstrap 5.3 itself is vendored and compiled with 'sass', so a designer-provided SASS variable sheet composes natively and the Bootstrap version reaching the browser is fixed by this package.

Authors:Colin Fay [aut, cre]

bootstrict_0.9.9.9000.tar.gz
bootstrict_0.9.9.9000.zip(r-4.7-any)bootstrict_0.9.9.9000.zip(r-4.6-any)bootstrict_0.9.9.9000.zip(r-4.5-any)
bootstrict_0.9.9.9000.tgz(r-4.6-any)bootstrict_0.9.9.9000.tgz(r-4.5-any)
bootstrict_0.9.9.9000.tar.gz(r-4.7-any)bootstrict_0.9.9.9000.tar.gz(r-4.6-any)
bootstrict_0.9.9.9000.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
bootstrict/json (API)

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

Bug tracker:https://github.com/thinkr-open/bootstrict/issues

Pkgdown/docs site:https://thinkr-open.github.io

On CRAN:

Conda:

4.30 score 150 exports 30 dependencies

Last updated from:73e0a1c623. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK156
source / vignettesOK217
linux-releaseOK162
macos-releaseOK107
macos-oldrelOK97
windows-develOK104
windows-releaseOK120
windows-oldrelOK103
wasm-releaseOK116

Exports:bootstrap_depbootstrap_versionbootstrict_depbootstrict_themebs_accordionbs_accordion_panelbs_alertbs_alert_headingbs_alert_linkbs_badgebs_blockquotebs_breadcrumbbs_breadcrumb_itembs_buttonbs_button_groupbs_button_toolbarbs_cardbs_card_bodybs_card_footerbs_card_groupbs_card_headerbs_card_imgbs_card_img_overlaybs_card_linkbs_card_subtitlebs_card_textbs_card_titlebs_carouselbs_carousel_itembs_checkbox_button_inputbs_checkbox_group_inputbs_checkbox_inputbs_close_buttonbs_colbs_collapsebs_collapse_triggerbs_color_inputbs_containerbs_date_inputbs_date_range_inputbs_display_headingbs_download_buttonbs_download_linkbs_dropdownbs_dropdown_dividerbs_dropdown_headerbs_dropdown_itembs_dropdown_textbs_feedbackbs_figurebs_figure_captionbs_figure_imgbs_file_inputbs_floating_labelbs_formbs_form_labelbs_form_textbs_hstackbs_icon_linkbs_imgbs_input_groupbs_input_group_textbs_invalid_feedbackbs_leadbs_list_groupbs_list_group_itembs_list_inlinebs_list_unstyledbs_modalbs_modal_bodybs_modal_footerbs_modal_headerbs_modal_titlebs_modal_triggerbs_navbs_nav_dropdownbs_nav_itembs_nav_linkbs_navbarbs_navbar_brandbs_navbar_navbs_navbar_textbs_notify_toastbs_numeric_inputbs_offcanvasbs_offcanvas_triggerbs_pagebs_page_fillablebs_page_fluidbs_page_itembs_paginationbs_pagination_numberedbs_password_inputbs_placeholderbs_placeholder_glowbs_placeholder_wavebs_popoverbs_progressbs_progress_barbs_radio_button_inputbs_radio_inputbs_range_inputbs_ratiobs_rowbs_scrollspybs_select_inputbs_spinnerbs_switch_inputbs_tab_panelbs_tablebs_tabsetbs_text_inputbs_textarea_inputbs_toastbs_toast_containerbs_tooltipbs_valid_feedbackbs_visually_hiddenbs_vrbs_vstackclose_bs_alerthide_bs_dropdownhide_bs_modalhide_bs_offcanvashide_bs_toastparse_scss_variablesset_bs_color_modeset_bs_validationshow_bs_dropdownshow_bs_modalshow_bs_offcanvasshow_bs_toasttoggle_bs_dropdowntoggle_bs_modaltoggle_bs_offcanvasupdate_bs_accordionupdate_bs_carouselupdate_bs_collapseupdate_bs_colorupdate_bs_date_inputupdate_bs_date_range_inputupdate_bs_list_groupupdate_bs_navupdate_bs_paginationupdate_bs_progressupdate_bs_rangeupdate_bs_tabsetupdate_bs_toggle_buttonsuse_bootstrictuse_bootstrict_golem

Dependencies:base64encbslibcachemclicommonmarkdigestfastmapfontawesomefsgluehtmltoolshttpuvjquerylibjsonlitelaterlifecyclemagrittrmemoisemimeotelpromisesR6rappdirsRcpprlangsassshinysourcetoolswithrxtable

Get started with bootstrict
Why bootstrict | A first app | Conventions (minimum deviation from Shiny) | The map of the package | How bootstrict differs from Shiny | Overlays live in the UI — they are not built from the server | Server helpers take id first and session last | Two kinds of inputs | bs_button() is an action button only when given an id | Run the bundled apps

Last update: 2026-09-14
Started: 2026-09-04

Layout and the grid
Pages | Containers | The grid: rows and columns | bs_row() | bs_col() | Responsive spans | Gutters, alignment and order | Stacks

Last update: 2026-09-14
Started: 2026-09-04

Theming and the designer hand-off
The motivating workflow | bootstrict_theme() | The _variables.scss sheet | Inspecting a sheet with parse_scss_variables() | Colour modes (Bootstrap 5.3) | Set the initial mode on the page | Flip the mode from the server | Following the operating system | Scope a mode to one component | Utilities | The golem hook | Attaching the dependency by hand

Last update: 2026-09-14
Started: 2026-09-04

Forms and inputs
The two families | Text-like inputs | Select | Checkboxes, switches, radios and groups | Range and colour (native inputs) | Dates and files | Composing inputs | Input groups | Floating labels | Forms, labels, help and validation | Dates | Toggle buttons | Validation | Putting it together

Last update: 2026-09-09
Started: 2026-09-04

Components
Buttons | Download buttons | Cards | Alerts | Badges | Accordion (interactive) | Carousel (interactive) | Collapse (interactive) | List group (interactive) | Progress (interactive) | Spinners and placeholders

Last update: 2026-09-08
Started: 2026-09-04

Navigation
Nav vs. tabset | Static nav | Interactive tabset | Navbar | A navbar that switches pages | Breadcrumbs | Pagination | Dropdowns

Last update: 2026-09-08
Started: 2026-09-04

Content: tables, media and typography
Tables | Images | Figures | Blockquotes | Display typography | Lists | Small helpers

Last update: 2026-09-08
Started: 2026-09-04

Overlays and server-driven interactivity
The overlay model: declare in the UI, open by id | Modal | Dynamic content | Opening without a server round trip | Offcanvas (drawer) | Toasts | Tooltips and popovers | Scrollspy | Inside a Shiny module | The pattern, in one place

Last update: 2026-09-08
Started: 2026-09-04

Readme and manuals

Help Manual

Help pageTopics
The Bootstrap HTML dependency for a themebootstrap_dep
The Bootstrap version bootstrict shipsbootstrap_version
The bootstrict HTML dependency (Shiny input bindings + supporting CSS)bootstrict_dep
Create a Bootstrap 5.3 theme for a bootstrict UIbootstrict_theme
Bootstrap accordionbs_accordion bs_accordion_panel
Bootstrap alertbs_alert bs_alert_heading bs_alert_link
Bootstrap badgebs_badge
Bootstrap blockquotebs_blockquote
Bootstrap breadcrumbbs_breadcrumb bs_breadcrumb_item
Bootstrap buttonbs_button
Bootstrap button group / toolbarbs_button_group bs_button_toolbar
Bootstrap cardbs_card bs_card_body bs_card_footer bs_card_group bs_card_header bs_card_img bs_card_img_overlay bs_card_link bs_card_subtitle bs_card_text bs_card_title
Bootstrap carouselbs_carousel bs_carousel_item
Bootstrap checkbox groupbs_checkbox_group_input
Bootstrap checkbox inputbs_checkbox_input bs_switch_input
Bootstrap close buttonbs_close_button
Bootstrap grid columnbs_col
Bootstrap collapsebs_collapse
Trigger a collapse from the UIbs_collapse_trigger
Bootstrap colour inputbs_color_input
Bootstrap containerbs_container
Bootstrap date inputbs_date_input
Bootstrap date range inputbs_date_range_input
Bootstrap display headingbs_display_heading
Bootstrap download buttonbs_download_button
Bootstrap download linkbs_download_link
Bootstrap dropdownbs_dropdown bs_dropdown_divider bs_dropdown_header bs_dropdown_item bs_dropdown_text
Attach validation feedback to a form controlbs_feedback
Bootstrap figurebs_figure bs_figure_caption bs_figure_img
Bootstrap file inputbs_file_input
Bootstrap floating labelbs_floating_label
Bootstrap form elementbs_form
Bootstrap form labelbs_form_label
Bootstrap form help textbs_form_text
Bootstrap stacks (horizontal / vertical flex layouts)bs_hstack bs_vstack
Bootstrap icon linkbs_icon_link
Bootstrap imagebs_img
Bootstrap input groupbs_input_group bs_input_group_text
Bootstrap lead paragraphbs_lead
Bootstrap list groupbs_list_group bs_list_group_item
Bootstrap unstyled / inline listsbs_list_inline bs_list_unstyled
Bootstrap modalbs_modal bs_modal_body bs_modal_footer bs_modal_header bs_modal_title
Trigger a modal from the UIbs_modal_trigger
Bootstrap navigation listbs_nav bs_nav_item bs_nav_link
Bootstrap dropdown inside a nav or a navbarbs_nav_dropdown
Bootstrap navbarbs_navbar bs_navbar_brand bs_navbar_nav bs_navbar_text
Pop a transient toast notification from the serverbs_notify_toast
Bootstrap numeric inputbs_numeric_input
Bootstrap offcanvasbs_offcanvas
Trigger an offcanvas from the UIbs_offcanvas_trigger
A Bootstrap 5.3 pagebs_page bs_page_fillable bs_page_fluid
Bootstrap pagination itembs_page_item
Bootstrap paginationbs_pagination
Build a numbered pagerbs_pagination_numbered
Bootstrap password inputbs_password_input
Bootstrap placeholderbs_placeholder bs_placeholder_glow bs_placeholder_wave
Add a Bootstrap popover to a UI elementbs_popover
Bootstrap progressbs_progress bs_progress_bar
Bootstrap toggle button groupsbs_checkbox_button_input bs_radio_button_input
Bootstrap radio button groupbs_radio_input
Bootstrap range (slider) inputbs_range_input
Fixed aspect-ratio containerbs_ratio
Bootstrap grid rowbs_row
Bootstrap scrollspy containerbs_scrollspy
Bootstrap select inputbs_select_input
Bootstrap spinnerbs_spinner
Bootstrap tablebs_table
Bootstrap tabsetbs_tabset bs_tab_panel
Bootstrap text inputbs_text_input
Bootstrap textarea inputbs_textarea_input
Bootstrap toastbs_toast
Position toasts on screenbs_toast_container
Add a Bootstrap tooltip to a UI elementbs_tooltip
Bootstrap validation feedbackbs_invalid_feedback bs_valid_feedback
Visually hidden textbs_visually_hidden
Vertical rulebs_vr
Close an alert from the serverclose_bs_alert
Parse a SASS/SCSS variable sheet into a named listparse_scss_variables
Switch the Bootstrap colour mode from the serverset_bs_color_mode
Set a control's validation state from the serverset_bs_validation
Open, close or toggle a dropdown from the serverhide_bs_dropdown show_bs_dropdown toggle_bs_dropdown
Control a modal from the serverhide_bs_modal show_bs_modal toggle_bs_modal
Control an offcanvas from the serverhide_bs_offcanvas show_bs_offcanvas toggle_bs_offcanvas
Control a toast from the serverhide_bs_toast show_bs_toast
Control an accordion from the serverupdate_bs_accordion
Control a carousel from the serverupdate_bs_carousel
Control a collapse from the serverupdate_bs_collapse
Update a colour input from the serverupdate_bs_color
Set a date input from the serverupdate_bs_date_input update_bs_date_range_input
Control a list group selection from the serverupdate_bs_list_group
Set the active link of a nav from the serverupdate_bs_nav
Set the active page of a pager from the serverupdate_bs_pagination
Update a progress bar from the serverupdate_bs_progress
Update a range input from the serverupdate_bs_range
Control a tabset from the serverupdate_bs_tabset
Set the selection of a toggle button group from the serverupdate_bs_toggle_buttons
Activate bootstrict inside a UIuse_bootstrict
Scaffold a bootstrict app as a golem project hookuse_bootstrict_golem