DocsBlog

Get Started

Components

Data Grid

Signals

Styling

Theming

↑↓Navigate
↵Select
EscClose
  • 1.8.0

  • Day

    Night

    Preview

    Switch mode
  • cerberus

    acheron

    elysium

    oceanus

Get Started
Components
Data Grid
Signals
Styling
Theming

Concepts

OverviewCompositionCerberus ContextTesting

Layout

Aspect RatioBleedBoxCenterContainerContainer QueryDividerFlexFloatGridGroupLink OverlayScrollableStackWrap

Components

AccordionAdmonitionAvatarButtonCarouselCheckboxClipboardCollapsibleComboboxConfirm ModalCTA ModalDate PickerDialogFieldFieldsetFile UploaderIconButtonInputLoading StatesMarqueeMenuNotificationsNumber InputPaginationPin InputPopoverProgress IndicatorsPrompt ModalRadioRatingSelectSliderSplit ButtonSwitchTableTabsTagTextTextareaToggleTooltip

Utilities

Client OnlyDownload TriggerEnvironmentFeature FlagsFocus TrapForFormat ByteFormat NumberFormat Relative TimeFormat Relative TimeFrameHighlightJSON Tree ViewLocalePortalPresenceShowSwapsplitPropsTheme

Group

Used to layout its children in an attached or normal group.

View as Markdown
Open this page in Markdown
Anthropic
Open in Claude
Ask questions about this page
OpenAI
Open in ChatGPT
Ask questions about this page

Import

import { Group } from '@cerberus/react'

Usage

Used to group and attach elements together.

Loading example...

Attached

Use the layout prop to attach the group of children together.

Loading example...

Grow

Use the grow variant of the layout prop to make the children fill the space.

Loading example...

Orientation

Use the orientation prop to change the direction of the children.

Loading example...

Stack

Use the stack variant of the layout with orientation to stack the children.

Loading example...

Props

The Group component accepts the following utility props in addition to style and factory props:

PropTypeDescription
layoutdefault | attached | grow | stackThe layout of the children along the cross axis.
orientationhorizontal | verticalThe direction of the children.
asChildbooleanUse the provided child element as the default rendered element, combining their props and behavior.

On this page

  • Import
  • Usage
  • Attached
  • Grow
  • Orientation
  • Stack
  • Props
Edit this page on Github
1
2
Commit status90+
1
2
1
2
1
2