Learn R Programming

⚠️There's a newer version (1.0.5) of this package.Take me there.

bsTools (version 0.1.0)

Create HTML Content with Bootstrap 5 Classes and Layouts

Description

Functions are pre-configured to utilize Bootstrap 5 classes and HTML structures to create Bootstrap-styled HTML quickly and easily. Includes functions for creating common Bootstrap elements such as containers, rows, cols, navbars, etc. Intended to be used with the html5 package.

Copy Link

Version

Install

install.packages('bsTools')

Monthly Downloads

259

Version

0.1.0

License

GPL (>= 2)

Maintainer

Timothy Conwell

Last Published

February 9th, 2021

Functions in bsTools (0.1.0)

bs_nav

Create a Bootstrap nav
bs_modal

Create a Bootstrap modal
bs_input

Create a HTML input tag configured with Bootstrap classes
bs_pagination

Create a Bootstrap pagination nav
bs_row

Create a Bootstrap row div
bs_table

Create a HTML table configured with Bootstrap classes
listExtract

Extract the values from each entry in a list of vectors at a specific index
bs_textarea

Create a HTML textarea tag configured with Bootstrap classes
bs_select

Create a HTML select tag configured with Bootstrap classes
bs_img

Create HTML img tag configured with Bootstrap classes
bs_card

Create a Bootstrap card
sampleStr

Generates (pseudo)random strings of the specified char length
bs_figure

Create HTML figure tag configured with Bootstrap classes
bs_navbar

Create a Bootstrap navbar
bs_doc

Create a HTML document preconfigured to load Bootstrap5 from the CDN
bs_col

Create a Bootstrap col div
bs_accordion

Create a Bootstrap accordion
bs_carousel

Create a Bootstrap carousel
bs_clearfix

Create a div with class "clearfix"
bs_collapse

Create a Bootstrap collapse
bs_dropdown

Create a Bootstrap dropdown
bs_col_break

Create a div with class "w-100" to force columns onto a new line
bs_container

Create a Bootstrap container div