Skip to contents

Creates a Shiny UI wrapper for displaying a survey with an optional response table. The UI includes a loading spinner and conditional panels based on survey state.

Usage

survey_ui_wrapper(
  theme = NULL,
  theme_color = "#000000",
  theme_mode = "light",
  cookie_expiration_days = 7
)

Arguments

theme

The theme configuration for styling the survey

theme_color

Primary color used for UI elements like the loading spinner

theme_mode

The theme mode (e.g., 'light' or 'dark')

Value

A Shiny UI definition