Skip to contents

Create a dashboard

page_sidebar()
A sidebar page (i.e., dashboard)

Page layouts

Theme creation

Tools for creating customized Bootstrap themes.

bs_theme() bs_theme_update() is_bs_theme()
Create a Bootstrap theme
bs_add_variables() bs_add_rules() bs_add_functions() bs_add_mixins() bs_bundle()
Add low-level theming customizations
font_face font_link font_google font_collection
Helpers for importing web fonts

Interactive theming

Interactively customize themes.

bs_theme_preview()
Preview the currently set theme
run_with_themer() bs_themer()
Theme customization UI

Cards

Create cards

Value box

Highlight important findings

Accordions

Create collapsible sections of content

Create (tabbed) sections of content.

Layout multiple UI elements

Layout helpers

layout_columns()
Responsive column-based grid layouts
breakpoints()
Define breakpoint values
sidebar() layout_sidebar() sidebar_toggle()
Sidebar layouts
layout_column_wrap()
A grid-like, column-first, layout

Fill items and fillable containers

Create and test for fill items and fillable containers

Dynamic theming

Create dynamically themable HTML widgets.

bs_dependency() bs_dependency_defer()
Themeable HTML components
bs_theme_dependencies()
Compile Bootstrap Sass with (optional) theming
bs_current_theme()
Obtain the currently active theme at render time

Global theme creation

Use Bootstrap themes globally.

Theme subsetting

Reduce the final CSS bundle size.

bs_remove() bs_retrieve()
Remove or retrieve Sass code from a theme

Other utility functions

bs_get_variables() bs_get_contrast()
Retrieve Sass variable values from the current theme
theme_version()
Obtain a theme's Bootstrap version
theme_bootswatch()
Obtain a theme's Bootswatch theme name
bootswatch_themes()
Obtain a list of all available bootswatch themes.
versions() version_default()
Available Bootstrap versions