Skip to contents

Builds a banner with a fixed-width image lane on the left and title/subtitle text on the right.

Usage

str_banner_row(
  image_path,
  title = "Project Title",
  subtitle = "Concise one-liner about the project",
  layout_style = banner_layout_style(),
  text_style = NULL
)

Arguments

image_path

Path to a PNG/JPEG logo.

title, subtitle

Text content.

layout_style

A list from [banner_layout_style()] controlling geometry and colors.

text_style

A list with `title` and `subtitle` entries produced by [text_style()].

Value

A `gtable` representing the banner.