| param_group_collapse | R Documentation |
Creates a styled, collapsible parameter group for the Plot Settings sidebar. Clicking the header toggles visibility of the content area. The group preserves the existing color-coded left border styling.
param_group_collapse(id, title, icon_name, color = "#3b82f6", ...)
id |
A unique identifier for the collapse target (used as the div ID). |
title |
Character string for the group header title. |
icon_name |
Character string passed to |
color |
Hex color string for the left border and title accent. Default: "#3b82f6". |
... |
UI elements to place inside the collapsible content area. Groups always start expanded. |
A shiny.tag div representing the collapsible parameter group.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.