Homelogologo
Sponsor

Group

Groups elements with optional visual attachment

Usage

Use Group to arrange multiple items together with consistent spacing. Pass your items as children.

import { Group } from "@elemnts-ui/react" <Group> {...items} </Group>

Button

An example demonstrating how to use the Group component to arrange multiple buttons with consistent spacing.

Attached

Use the attached prop to visually connect the children.

Full width

Use the fullWidth prop to let the children expand to fill the available space.

API Reference

PropTypeDefault
fullWidthbooleanfalse
attachedbooleanfalse
asReact.ElementTypeundefined
asChildbooleanundefined