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.-
Enable controlsBooleanShow controls to navigate the PDF.-
Container backgroundColor--
SeparatorColor--
Primary textColor--
Custom CSS classesTextCSS classes, separated by spaces. You can define classes in custom stylesheets.-