Skip to contents

Page & theming

Page wrapper, theme presets, and runtime theme control.

page_shad()
A shadshiny page
shad_theme_preset()
Wrap UI in a theme-preset scope
update_shad_theme()
Switch the theme preset and/or dark mode at runtime
shad_run_example()
Run a bundled shadshiny example app

Layout & page shells

Container, stack, and grid primitives, plus whole-page shells. Shadshiny additions, with no shadcn/ui counterpart.

shad_container()
Centred content container
shad_stack()
Flex stack
shad_grid() shad_grid_item()
Responsive grid
shad_page_sidebar()
Page shell with a sidebar
shad_page_navbar()
Page shell with a tabbed navbar

Tier 1 – display & typography

Non-interactive display components and typographic helpers.

Tier 2 – form inputs

Bound Shiny inputs. Read with input$id; update with update_shad_*(). The field composition family (shad_fieldset() and its parts) is experimental.

Chat & AI kit

Streaming transcript primitives – bubbles, messages, attachments, markers, and a stick-to-bottom scroller.

Tier 3 – overlays

Dialogs, popovers, menus, command palette, and toasts (UI side).

Tier 3 – navigation & structure

Tabs, accordion, pagination, carousel, and the sidebar layout family.

Server – updates

Update bound component values from the server. Shiny-side API, so there is nothing in shadcn/ui to compare it against. bind_shad_task_button() is experimental.

Server – overlays & toast

Open/close overlays and raise toast notifications from the server. Shiny-side API, so there is nothing in shadcn/ui to compare it against.

Data table

A full-featured data table with sorting, filtering, paging, and selection, client-side or (experimental) lazily paged from the server.

shad_data_table()
Interactive data table
shad_col()
Column specification for shad_data_table()
shad_fmt_number() shad_fmt_percent() shad_fmt_date() shad_fmt_badge()
Cell formatters for shad_data_table()
update_shad_data_table()
Update a data table from the server
shad_data_table_server()
Server-backed interactive data table

Dashboard & charts

KPI cards, chart wrappers, timelines, and plot theming. Everything here except shad_chart_container() is a shadshiny addition. The ggplot2, plotly, and echarts4r adapters are experimental.

shad_value_box()
KPI / value box
shad_sparkline()
Sparkline
shad_mini_donut()
Mini donut chart
shad_chart_container()
Chart container
shad_timeline()
Timeline
shad_timeline_item()
Timeline item
shad_theme_ggplot2() shad_scale_color_shad() shad_scale_fill_shad()
ggplot2 theme matching the shadshiny design system
shad_theme_plotly()
Apply the shadshiny theme to a plotly chart
shad_theme_echarts4r()
Apply the shadshiny theme to an echarts4r chart
shad_tokens()
Resolve theme tokens
shad_chart_colors()
Chart series colors
shad_current_theme()
The active shadshiny theme (reactive)

Flow & input components

Stepper, tree, rating, number input, and file dropzone. Shadshiny additions, with no shadcn/ui counterpart.

shad_stepper()
Stepper
shad_step()
A stepper step
shad_tree()
Tree view
shad_tree_item()
Tree item
shad_rating()
Star rating
shad_number_input()
Number input with stepper buttons
shad_dropzone()
File dropzone
shad_date_presets()
Default date-range presets

Questionnaire

An experimental multi-step questionnaire of native fieldsets, with branching, skips, and bookmark restoration.

shad_questionnaire()
Questionnaire input
shad_question()
Define one questionnaire question
update_shad_questionnaire()
Update a questionnaire from the server

Forms & validation

A server-side validator with shadcn-styled field messaging. The shadcn/ui equivalent validates on the client; shad_form_summary() has no counterpart at all.

Custom theming

Build, import, and switch custom themes. Registry import is experimental.

shad_theme()
Define a custom theme
shad_theme_scope()
Scope a custom theme to a subtree
shad_theme_from_registry()
Import a theme from a shadcn / tweakcn registry export

Chat

A streaming chat module built on the chat kit, and an experimental structured workbench for sources, tools, and attachments. Shadshiny additions, with no shadcn/ui counterpart.

shad_chat_ui()
Chat UI
shad_chat_server()
Chat server
shad_chat_workbench_ui()
Structured chat workbench UI
shad_chat_workbench_server()
Structured chat workbench server

Utilities

Icons and the asset dependency.

shad_icon()
Inline Lucide icon
shad_icon_raw()
Use an arbitrary SVG as a shadshiny icon
shad_icon_names()
Available shadshiny icon names
shadshiny_deps()
Attach the shadshiny asset bundle