Skip to contents

Add vertical spacer

Usage

add_spacer(content, height = "2rem", tabgroup = NULL, show_when = NULL)

Arguments

content

A content_collection, viz_collection, or page_object

height

Height (CSS unit, e.g. "2rem", "50px")

tabgroup

Optional tabgroup for organizing content (character vector for nested tabs)

show_when

One-sided formula controlling conditional display based on input values.

Value

Updated object (same type as input)