Learn R Programming

tabler (version 0.1.0)

sidebar_brand: Create a Sidebar Brand

Description

Helper to build a brand structure for `sidebar_menu(title = ...)`.

Usage

sidebar_brand(text = NULL, img = NULL, href = "#")

Value

A named list suitable to pass to `sidebar_menu(title = )`

Arguments

text

Brand text/label

img

Optional image URL/path for brand logo

href

Optional link URL for the brand (defaults to "#")

Examples

Run this code
sidebar_brand("My App", img = "logo.png")

Run the code above in your browser using DataLab