breakpoints: Define breakpoint values

View source: R/breakpoints.R

breakpointsR Documentation

Define breakpoint values

Description

[Experimental]

A generic constructor for responsive breakpoints.

Usage

breakpoints(..., sm = NULL, md = NULL, lg = NULL)

Arguments

...

Other breakpoints (e.g., xl).

sm

Values to apply at the sm breakpoint.

md

Values to apply at the md breakpoint.

lg

Values to apply at the lg breakpoint.

References

Bootstrap's Breakpoints article provides more detail on breakpoints and how they are used and customized.

See Also

breakpoints() is used by layout_columns().

Examples

breakpoints(sm = c(4, 4, 4), md = c(3, 3, 6), lg = c(-2, 8, -2))


bslib documentation built on Nov. 22, 2023, 1:08 a.m.