Title: | Shiny Layout with Collapsible Panels |
---|---|
Description: | Create 'Shiny Apps' with collapsible vertical panels. This package provides a new visual arrangement for elements on top of 'Shiny'. Use the expand and collapse capabilities to leverage web applications with many elements to focus the user attention on the panel of interest. |
Authors: | Juan Pablo Marin Diaz [aut, cre] |
Maintainer: | Juan Pablo Marin Diaz <[email protected]> |
License: | MIT + file LICENSE |
Version: | 0.5.1 |
Built: | 2025-03-11 04:30:53 UTC |
Source: | https://github.com/datasketch/shinypanels |
Box like component
box(..., title = NULL, collapsed = TRUE, color = "")
box(..., title = NULL, collapsed = TRUE, color = "")
... |
html list contents for the panel |
title |
title for the box |
collapsed |
defines initial state |
color |
color name as defined in custom css |
None
box()
box()
Infomessage to show messages
infomessage(..., type = "warning", id = NULL, class = NULL)
infomessage(..., type = "warning", id = NULL, class = NULL)
... |
html list contents for the panel |
type |
one of: warning, success, error or info |
id |
id of html element |
class |
class of html element |
None
infomessage()
infomessage()
Text with tooltip
infoTooltip( title, info, icon = "info-circle", containerStyle = "", iconStyle = "", tooltipStyle = "" )
infoTooltip( title, info, icon = "info-circle", containerStyle = "", iconStyle = "", tooltipStyle = "" )
title |
Text |
info |
Message which appears when a cursor is positioned over an icon |
icon |
HTML name of icon |
containerStyle |
CSS styles for the container div |
iconStyle |
CSS styles for the icon |
tooltipStyle |
CSS styles for the tooltip |
None
infoTooltip("Information", info = "This a content of tooltip", icon = "cloud")
infoTooltip("Information", info = "This a content of tooltip", icon = "cloud")
Modal window
modal( ..., title = NULL, id = NULL, fullscreen = FALSE, id_wrapper = NULL, id_title = NULL, id_content = NULL )
modal( ..., title = NULL, id = NULL, fullscreen = FALSE, id_wrapper = NULL, id_title = NULL, id_content = NULL )
... |
html list contents for the panel |
title |
title for the modal |
id |
html attribute id for the component |
None
modal()
modal()
Modal button to trigger a modal
modalButton(modal_id = NULL, label = NULL, id = NULL)
modalButton(modal_id = NULL, label = NULL, id = NULL)
modal_id |
modal id to be triggered by the button |
label |
label for the button |
id |
html attribute id for the button |
None
modal()
modal()
Panel component for shiny panels layout
panel( head = NULL, body = NULL, footer = NULL, title = NULL, header_right = NULL, color = "malibu", id = NULL, collapsed = FALSE, can_collapse = TRUE, width = NULL, hidden = FALSE, ... )
panel( head = NULL, body = NULL, footer = NULL, title = NULL, header_right = NULL, color = "malibu", id = NULL, collapsed = FALSE, can_collapse = TRUE, width = NULL, hidden = FALSE, ... )
head |
html for the panel header |
body |
html tag list for panel body contents |
footer |
footer contents |
title |
panel title |
color |
color name as defined in custom css |
id |
panel div id |
collapsed |
panel starts as collapsed |
width |
panel width in pixels |
... |
html list contents for the panel |
show_footer |
include footer |
None
panel(title = "My title")
panel(title = "My title")
Shiny panels layout
panelsPage(..., styles = "", header = NULL, title = NULL, debug = FALSE)
panelsPage(..., styles = "", header = NULL, title = NULL, debug = FALSE)
... |
html list contents for the panel |
styles |
custom css styles |
header |
html list with custom header |
title |
Title html page attribute |
debug |
Used for debugging layout html |
None
panelsPage()
panelsPage()
Top bar component for shiny panels layout
topbar(..., title = NULL, image = NULL, background_color = NULL)
topbar(..., title = NULL, image = NULL, background_color = NULL)
... |
html list contents for the panel |
title |
Top bar panel |
image |
Logo image |
background_color |
background color for top bar |
None
topbar()
topbar()