Skip to contents

The slim branded header bar (logo + title) the polished default shell uses in place of shiny::titlePanel(). One of the single-piece UI builders for the L3 "own every UI piece" workflow.

Usage

ptr_ui_header(title = "ggpaintr")

Arguments

title

Heading text. Defaults to "ggpaintr".

Value

A shiny::tag.

Examples

ptr_ui_header()
#> <header class="ptr-app__header">
#>   <img class="ptr-app__mark" src="ggpaintr/ggpaintr-logo.png" alt="ggpaintr"/>
#>   <h1 class="ptr-app__title">ggpaintr</h1>
#> </header>
ptr_ui_header("My App")
#> <header class="ptr-app__header">
#>   <img class="ptr-app__mark" src="ggpaintr/ggpaintr-logo.png" alt="ggpaintr"/>
#>   <h1 class="ptr-app__title">My App</h1>
#> </header>