Skip to contents

Create Survey UI with CSS and Message Components

Usage

survey_ui(
  id = "surveyContainer",
  theme = "defaultV2",
  primary = "#003594",
  mode = "light",
  cookie_expiration_days = 7
)

Arguments

id

Optional id for the survey div container (default is "surveyContainer")

theme

Theme name ("defaultV2" or "modern")

primary

Primary color hex code (optional)

mode

Color mode ("light" or "dark")

Value

A tagList containing survey dependencies and container