Annotation
Display informative text related to an object on screen. Unlike the tooltip an annotation is not interactive.
- Don't put links or interactive elements in annotations - use Popover instead
- Don’t use annotations if trigger is needed - use Tooltips instead
Basic Usage
Show editable code example
Any Paragon component or export may be added to the code example.
Referring to other elements
Show editable code example
Any Paragon component or export may be added to the code example.
Theme Variables#
CSS Variable | Computed Value |
---|---|
| |
| |
| |
| |
| |
Props API#
Annotation Props API
- children
React.ReactNode
RequiredSpecifies contents of the component.
- className
string
Specifies class name to append to the base element.
- variant
'error'
|'success'
|'warning'
|'light'
|'dark'
Default'success'Specifies variant to use.
- arrowPlacement
'top'
|'right'
|'bottom'
|'left'
Default'bottom'Specifies arrow position.