import panel as pn pn.extension()
StaticText widget displays a text value but does not allow editing it.
For layout and styling related parameters see the customization user guide.
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: