- ...
Unnamed arguments should be UI elements (e.g., card()). Named
arguments become attributes on the containing htmltools::tag element.
- width
The desired width of each card, which can be any of the
following:
- fixed_width
When width is greater than 1 or is a CSS length unit,
e.g. "200px", fixed_width indicates whether that width value
represents the absolute size of each column (fixed_width=TRUE) or the
minimum size of a column (fixed_width=FALSE). When fixed_width=FALSE,
new columns are added to a row when width space is available and columns
will never exceed the container or viewport size. When fixed_width=TRUE,
all columns will be exactly width wide, which may result in columns
overflowing the parent container.
- heights_equal
If "all" (the default), every card in every row of the
grid will have the same height. If "row", then every card in each row
of the grid will have the same height, but heights may vary between rows.
- fill
Whether or not to allow the layout to grow/shrink to fit a
fillable container with an opinionated height (e.g., page_fillable()).
- fillable
Whether or not each element is wrapped in a fillable container.
- height
Any valid CSS unit (e.g.,
height="200px"). Doesn't apply when a card is made full_screen
(in this case, consider setting a height in card_body()).
- height_mobile
Any valid CSS unit to use for the height when on mobile
devices (or narrow windows).
- min_height, max_height
The maximum or minimum height of the layout container.
Can be any valid CSS unit (e.g.,
max_height="200px"). Use these arguments in filling layouts to ensure that a
layout container doesn't shrink below min_height or grow beyond max_height.
- gap
A CSS length unit defining the
gap (i.e., spacing) between elements provided to .... This argument is only applicable when fillable = TRUE
- class
Additional CSS classes for the returned UI element.