rstudio / rstudio/bslib

`toolbar_download_button()`

Open
#1,292 1 comment 0 reactions 1 assignee View on GitHub

@elnelson575 is already working on this.

Since Mar 13, 2026.

Dominant language
SCSS
Stars
569
Forks
72
Avg merge
1d 2h
Merged PRs (30d)
5

Description

Morning folks,

I've been playing with the dev version of {bslib} incl. the toolbar options and they're really neat.

I was curious whether it'd be possible to include a toolbar_download_button() to accompany the toolbar_input_button()?

I'm keen to do something like the below where you have a table in a card and a nice elegant "download" option in the card header.

card(
  card_header(
    "Flower Data",
    toolbar(
      align = "right",
      toolbar_download_button("btn", label = "Download", icon = icon("download")) # maybe this icon is the default?
    )
  ),
  card_body(
    reactable::reactable(iris)
  )
)
Image

Cheers!

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.