import panel as pn pn.extension()
StaticText widget displays a text value but does not allow editing it.
Discover more on using widgets to add interactivity to your applications in the how-to guides on interactivity. Alternatively, learn how to set up callbacks and (JS-)links between parameters or how to use them as part of declarative UIs with Param.
name(str): The title of the widget
value(str): Parsed datetime value
static_text = pn.widgets.StaticText(name='Static Text', value='A string') static_text
StaticText.value returns a string that can be read out but cannot be set like other widgets: