shiny.ui.tags.figure#

shiny.ui.tags.figure(*args, children=None, **kwargs)#

Create a <figure> tag.

The <figure> HTML element represents self-contained content, potentially with an optional caption, which is specified using the figcaption element. The figure, its caption, and its contents are referenced as a single unit. Learn more at https://developer.mozilla.org/en-US/docs/Web/HTML/Element/figure

Parameters
  • *args – Child elements to this tag.

  • children (Optional[List[Union[Tagifiable, Tag, MetadataNode, str, TagList, float, None, Dict[str, Union[str, float, bool, None]], Sequence[Union[Tagifiable, Tag, MetadataNode, str, TagList, float, None, Dict[str, Union[str, float, bool, None]], Sequence[ForwardRef]]]]]]) – Child elements to this tag.

  • **kwargs – Attributes to this tag.

Return type

Tag