The Content component displays rich HTML and CSS content directly. Use it to embed custom-formatted text, tables, lists, or styled markup. It also supports optional Excel and PDF download links when the content includes tabular data.
Security Warning: While the Content component can support code beyond simple HTML and CSS, avoid using JavaScript where possible. Creators are responsible for creating secure applications when using Content components.
How to read settings tables
The tables below describe each configurable option as it displays in the Unqork IDE. Values are formatted as follows:
inline code— a value to type exactly as shown | Bold — a value selected from a drop-down, radio button, tab, or choice chip | ON/OFF — toggle state | ✓ — checkbox checked | ☐ — checkbox unchecked
Content
| Setting | Field | Type | Default | Description |
|---|---|---|---|---|
| Property ID | key |
Text input | content |
A unique ID for this component instance. |
| Canvas Label Text | label |
Text input | — | Identifies the component on the Module Builder canvas. Does not display to end-users. |
| Content | content |
Code editor | — | The HTML and CSS content to display. Supports custom-formatted text, tables, lists, and styled markup. |
Display Settings
Default State Options
| Setting | Field | Type | Default | Description |
|---|---|---|---|---|
| Hide Field | hidden |
Toggle | OFF | Hides the component from end-users but always displays in the Module Builder. |
Formatting
| Setting | Field | Type | Default | Description |
|---|---|---|---|---|
| Include Excel Download Link | includeExcelDownloadLink |
Toggle | OFF | Adds a download link to export the component's tabular content as an Excel file. Displays only when the content contains a table. |
| Excel Download Label | downloadXLSLabel |
Text input | Excel Download |
The label text for the Excel download link. |
| Include PDF Download Link | includePdfDownloadLink |
Toggle | OFF | Adds a download link to export the component's content as a PDF file. |
| PDF Download Label | downloadPDFLabel |
Text input | PDF Download |
The label text for the PDF download link. |
| Include PDF Download Link (Base 64) | includePdfDownloadLinkBase64 |
Toggle | OFF | Adds a Base64-encoded PDF download link. |
Note: Base64 encoding embeds the PDF as a text string directly in the page instead of generating a separate file download. Use this option when the download must work in environments that restrict external file requests, like iframes or sandboxed contexts.
Changelog
| Date | Change |
|---|---|
| — | Initial publication. |