Questions tagged [bs4dash]
60 questions
8
votes
1 answer
Not able to change bs4Dash "dark" skin theme background in Shiny
Hello I am playing around with the {fresh} theme package and {bs4Dash}. What I am trying to do is change the main background for the app. However, it looks like the package bs4Dash will not let me change the main background while the "dark" theme is…

Jordan Wrong
- 1,205
- 1
- 12
- 32
3
votes
2 answers
Scalability of plots within bs4Dash::box when maximizable = TRUE in R Shiny
I would like plots to be adjusted to full screen when maximizing a bs4Dash box. It works with standard plot on the horizontal axis, but not the vertical one.
Plotly does not seems to be affected by the maximized.
This post Maximizing plots in R…

yeahman269
- 705
- 7
- 16
3
votes
1 answer
bs4Dash: How to disable (remove) dark/light skin switch?
It seems that changing the main background color and also header (navbar) background color in dark mode is not possible. per this link:
Not able to change bs4Dash "dark" skin theme background in Shiny.
We can always change the sidebar background…

Farhad
- 151
- 7
3
votes
2 answers
Maximizing plots in R Shiny bs4Dash
I have looked online everywhere to no avail. I cannot seem to get these plots to maximize their heights and widths to full window size upon maximizing the boxes. It is a requirement that I use bs4Dash. I looked at this post but the provided…

FreyGeospatial
- 325
- 4
- 17
2
votes
2 answers
bslib::value_box within bs4Dash displays not as intended
I am trying to adapt for my own application the last example in this documentation of creating valueBoxes with "showcase"d sparklines made interactive via plotly. The example does not go as far as rendering within a shiny app and the bslib package…

bikeactuary
- 447
- 4
- 18
2
votes
1 answer
In Shiny bs4Dash Sidebar collapsing but images are icons menu are not displayed
When I collapse the sidebar the icons of each tabItems menu the icons are no longer visible.
How can I change the css to show the image/img/icons when the sidebar is collapsed?
library(bs4Dash)
library(shiny)
library(purrr)
ui <- dashboardPage(
…

Laura
- 675
- 10
- 32
2
votes
2 answers
Position title in the header in shinydashboard
Having this basic shiny app:
I would like to position my title in the header like indicated in red in the image below:
There are already some solutions Add text on right of shinydashboard header
but I am wondering if there is a more "straight"…

TarJae
- 72,363
- 6
- 19
- 66
2
votes
1 answer
Is it possible to conditionally show the controlbar in shiny apps?
I want to show the controlbar (right sidebar) only for several tabs in the left sidebar.
library(shiny)
library(bs4Dash)
shinyApp(
ui = dashboardPage(
header = dashboardHeader(
title = "My dashboard"
),
sidebar =…

Philipp Schulz
- 131
- 1
- 8
2
votes
1 answer
problem with updateTabItems. in R shiny with Golem
I am bulding an app with golem in R . I'm trying to change a TabItem through a button from tabItem (acceuil) to an other tabItem (Rating)
this is Module "Acceuil"
mod_Accueil_ui <- function(id){
ns <- NS(id)
tagList(
…

AZABI Ahmed
- 23
- 4
2
votes
1 answer
create dynamically an accordion with lapply in bs4Dash
I try to dynamically create an accordion bast on a dataframe. Despite many try-outs I did not manage to get it working. Below the code of an example dashboard with two examples:
lappy: not working (lijst1)
program each item: working (lijst2)
see…

Roelof Waaijman
- 202
- 1
- 5
2
votes
1 answer
add URL (href) to menuItem in bs4Dash
I am trying to add an external URL in a shiny dashboard that uses the package bs4Dash but when I click in it their is no response. I have something similar to the example below. It does not work using newTab = FALSE or newTab = TRUE. Am I missing…

rjss
- 935
- 10
- 23
2
votes
1 answer
Change navbar theme colour permanently in bs4Dash R shiny app
I am using bs4Dash (version >2.0) in a shiny app but I am unable to change the navbar color (change permanently irrespective of the dark/light theme) to yellow (#ffc107).
You can check the minimal example given in ?bs4Dash::skinSelector(). While the…

Narendra Sahu
- 136
- 2
- 14
2
votes
1 answer
Jumping to Tab Items using an ActionButton in R Shiny
I am building an app using the bs4Dash package, and I would like to include action buttons in the main page that would allow the user to jump to the appropriate page. However, the buttons do not do anything.
This is very much the same as this…

Phil
- 7,287
- 3
- 36
- 66
1
vote
1 answer
Modularized Shiny app: How to download dataset passed between modules
Background
I want to pass a dataset (iris in the below reprex) between modules. Once passed, I want to click a button to download the dataset. I'm not able to download the dataset. It's part of a larger app, so I want to keep things as consistent as…

s-mabdurrazak
- 64
- 6
1
vote
2 answers
How to keep DT table borders within tabBox()
I want to control the position of a DT table output within a tabBox():
This example app gives this:
library(shiny)
library(bs4Dash)
library(DT)
shinyApp(
ui = dashboardPage(
header = dashboardHeader(),
sidebar = dashboardSidebar(),
…

TarJae
- 72,363
- 6
- 19
- 66