RepositoryJavaScriptUSUnited States
glin

glin/reactable

Interactive data tables for R

681stars
85forks
157issues
6views

reactable

CRAN Status Build Status codecov

Interactive data tables for R, based on the React Table library and made with reactR.

Features

  • Sorting, filtering, pagination
  • Grouping and aggregation
  • Built-in column formatting
  • Custom rendering via R or JavaScript — use Shiny HTML tags and HTML widgets in tables
  • Expandable rows and nested tables
  • Conditional styling
  • Virtual scrolling for large tables
  • Works seamlessly within R Markdown documents and Shiny apps

Demos

Installation

You can install reactable from CRAN with:

install.packages("reactable")

Or install the development version from GitHub with:

# install.packages("devtools")
devtools::install_github("glin/reactable")

Usage

To create a table, use reactable() on a data frame or matrix:

library(reactable)

reactable(iris)

reactable example using the iris dataset

You can embed tables in R Markdown or Quarto documents:

```{r}
library(reactable)

reactable(iris)
```

Or use them in Shiny applications:

library(shiny)
library(reactable)

ui <- fluidPage(
  reactableOutput("table")
)

server <- function(input, output) {
  output$table <- renderReactable({
    reactable(iris)
  })
}

shinyApp(ui, server)

To learn more about using reactable, check out the examples below.

Examples

Browser Support

Edge
Edge
Firefox
Firefox
Chrome
Chrome
Safari
Safari
Opera
Opera
Edgelast 2 versionslast 2 versionslast 2 versionslast 2 versions

License

MIT

Similar Projects

Discover other similar projects and AI models.

RepositoryJavaScript
juba/scatterD3

R scatter plot htmlwidget based on D3.js

162
Oct 30, 2026
RepositoryJavaScript
react/react

The library for web and native user interfaces.

253.0k
Nov 30, 2026
RepositoryR
rstudio/shiny

Easy interactive web applications with R

5.7k
Nov 25, 2026
RepositoryR
plotly/plotly.R

An interactive graphing library for R

2.7k
Jul 25, 2026
RepositoryR
jbkunst/highcharter

R wrapper for highcharts

743
Nov 30, 2026
RepositoryR
juba/explor

Interfaces for Multivariate Analysis in R

197
Jul 3, 2026
RepositoryHTML
AdeelK93/collapsibleTree

Create Interactive Collapsible Tree Diagrams in R using D3.js

163
Nov 14, 2023
RepositoryR
vue-r/vueR

vue.js for R

145
Jul 26, 2024
RepositoryTypeScript
freeCodeCamp/freeCodeCamp

freeCodeCamp.org's open-source codebase and curriculum. Learn math, programming, and computer science for free.

459.9k
Dec 2, 2026