Skip to content

Group layouts

Simple helpers around dmc Group component.

Stack

Helper method for creating a group

def group(children: list[Any],
          grow: bool = True,
          id: str = '',
          justify: str = 'space-around'
          ) -> dmc.Group:
    """
    Renders a dmc.Group component with the correct formatting
    """
    return dmc.Group(children=children, grow=grow, justify=justify, id=id)