Extras and Extensions for 'xaringan' Slides
Overview
Extras and extensions for 'xaringan' slides. Navigate your slides with tile view. Make your slides editable, live! Announce slide changes with subtle tones. Animate slide transitions with 'animate.css'. Add tabbed panels to slides with 'panelset'. Use the 'Tachyons CSS' utility toolkit for rapid slide development. Scribble on your slides. Add a copy button to your code chunks with 'clipboard'. Add a logo or top or bottom banner to every slide. Broadcast slides to stay in sync with remote viewers. Include yourself in your slides with 'webcam'. Plus a whole lot more!
This release focuses entirely on improving the **panelset** feature, especially
in Quarto web pages and slides. Panelset is also now a Quarto extension that can
be installed with quarto add gadenbuie/xaringanExtra and can be used with any
computation engine.
- **panelset** now works even better in Quarto documents, using the same syntax as used for panelsets in R Markdown documents (#190).
- **panelset** now supports a fenced div syntax where
::: {.panelset}is used to start a panelset and each panel is defined by a new heading within the fenced div. When used in this way, the heading level of the subsections is ignored, the highest level subsection heading within the fenced div determines the section level that creates a new panel (#191).
Show all changes in 0.8.0Hide the rest of the changes in 0.8.0
- **panelset** CSS was revamped for better ergonomics, in particular to improve how the border bottom separating the tabs from the content and the bottom border of the active tab are handled.
style_panelset_tabs()gains a newseparator_colorargument to replacetabs_border_bottom(#192). - **panelset** now fully supports panelset chunks in Quarto, either with
#| panelset: truefor chunk options or the alternative syntax specifying the panel names for the source and output panels (#193): ```markdown`{r} #| panelset: #| - source: The Code #| - output: The Result rnorm(10)```Unlike in R Markdown, where you always need to place panelset chunks in a::: {.panelset}div, in Quarto, panelset code chunks automatically create their own panelsets with two tabs (code and output). Use the::: {.panelset}` syntax to add more than one panelset code chunk to the same panelset (#196). - Nested **panelsets** are now supported (#194)! In xaringan slides and when using the hand-rolled panelset syntax, you can now nest panelsets within panelsets. In R Markdown or Quarto documents, panelsets chunks can be nested within panelset sections. Nesting panelset sections requires the fenced div syntax: ````markdown
Nested fenced divs
::: {.panelset #outer}
One
Outer panel One.
::: {.panelset #inner}
One A
Inner panel One A.
One B
Inner panel One B.
:::
Two
Outer panel Two.
:::
````
- **panelset** fully supports Quarto Revealjs Presentations. All of panelset's features in xaringan are fully supported in Quarto slides, including automatically stepping through the panels on a slides (#195).
- **panelset** now supports synchronized panels (#195)! Give each panelset a
groupattribute with a unique name, e.g.{.panelset group="language"}, and the selected tab will be synchronized across all other panelsets with the same group name. The tab selection is synchronized by tab name, so if the user switches from the "R" tab to the "Python" tab, all panelsets withgroup="language"will have their "Python" tab activated (if they have one). The chosen panel tab is stored in the user's browser, which means that the user's choice is reflected across all pages on your domain. It's also remembered when they return to your page later (in the same browser). Technically, this feature uses the browser's localStorage API and no user data is transmitted anywhere. - **panelset** is now also a Quarto extension that can be installed and used without requiring R (#195). To install the extension, run the following in your terminal. ``
bash quarto add gadenbuie/xaringanExtra`Then, in your Quarto document, add the following to the YAML front matter:``yaml filters: - panelset
```
- **panelset** now forces the chunk options
echo = TRUEandeval = TRUE, whenpanelset = TRUEis used. Without these options, panelset's knitr hooks can't correctly convert the chunk source and output into two separate panels. When these options are disabled via a chunk option on the panelset chunk, panelset will give an error to help you spot this issue early. But ifechoandevalare globally set toFALSE, panelset will now automatically set them toTRUE. This is especially helpful in Quarto revealjs presentations where Quarto defaults toecho = FALSE(#196).
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-04
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
- NOTE12 OK, 1 NOTE2026-06-08
- OK14 OK2026-03-10
Documentation
- Help pages
- 23 (1 internal)includes a package overview page
- Examples that run
- 100%22 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 69%
- Return-value docs
- 100%
- Help pages citing references
- 35%
Downloads
Repository
- PRs merged (all time)
- 83%
- Median days to close, 50 most recently updated closed issues
- 8
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Commits over time
Commit identities over time
6 development-tooling and community-health practices detected across 4 families in the upstream repository
Checks run against github.com/gadenbuie/xaringanextra on 2026-10-22.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
Dependencies
Installing xaringanExtra adds 12 packages (9 with compiled code, 3.1 MB of source tarballs). Heaviest: jsonlite 1.0 MB, rlang 766 KB, knitr 479 KB.
Code & Tests
People & History
Show 6 more copyright holdersHide 6 copyright holders
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- 0.8.0Latest
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- 0.7.02022-07-16 · diff ↗
- 0.6.02022-06-07
- RR 4.2.0 released · 2022-04-22
Package metadata
- First published
- 2022-06-07
- Total releases
- 3 / 4 yrs
- License
- MIT + file LICENSE OSI
- Download size
- 3.0 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("xaringanExtra")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.