Content
Annotated text
Shows text with annotations
Fields
Name | Type | Description | Options |
---|---|---|---|
Annotated text | Object | Value array with text/annotations. Must be a JSON string or a state reference to an array. | |
Reference | Color | The colour to be used as reference for chroma and luminance, and as the starting point for hue rotation. | |
Seed value | Number | Choose a different value to reshuffle colours. | |
Rotate hue | Text | If active, rotates the hue depending on the content of the string. If turned off, the reference colour is always used. |
|
Copy buttons | Text | If active, adds a control bar with both copy text and JSON buttons. |
|
Button | Color | ||
Button text | 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.