Embed
A component to embed PDF documents.
Fields
Name | Type | Description | Options |
---|---|---|---|
PDF source | Text | A valid URL. Alternatively, you can provide a state reference to a packed PDF file. | - |
Highlights | Object | A list of highlights to be applied to the PDF as a JSON array of strings. | - |
Selected highlight match | Number | The index of the selected highlight match. | - |
Page | Number | The page to be displayed. | - |
Controls | Boolean | Show controls to navigate the PDF. |
|
Container background | Color | - | - |
Separator | Color | - | - |
Primary text | Color | - | - |
Custom CSS classes | Text | CSS classes, separated by spaces. You can define classes in custom stylesheets. | - |
Low code usage
This component can be declared directly in Python, using backend-driven UI.