A component to embed PDF documents.

Fields

NameTypeDescriptionOptions
PDF sourceTextA valid URL. Alternatively, you can provide a state reference to a packed PDF file.-
HighlightsObjectA list of highlights to be applied to the PDF as a JSON array of strings.-
Selected highlight matchNumberThe index of the selected highlight match.-
PageNumberThe page to be displayed.-
ControlsBooleanShow controls to navigate the PDF.
  1. Yes
  2. No
Container backgroundColor--
SeparatorColor--
Primary textColor--
Custom CSS classesTextCSS classes, separated by spaces. You can define classes in custom stylesheets.-