component

Group

props · 20 shown · 20 total

Appearance

  • "transparent" "surface.peak" "surface.hill" "surface.base" "surface.valley" "surface.ground"
    default "transparent"

    Panel surface background of the group container.

  • "none" "default" "bold" "muted" "accent"
    default "none"

    Panel chrome — opt into a bordered/padded/filled container drawn AROUND the joined children. By default Group is chrome-less (the outline is the children's own borders).

  • "none" "default" "bold" "muted" "accent"

    Panel interactive border treatment applied to the opt-in container frame.

  • "primary" "secondary" "tertiary"

    Panel emphasis (primary / secondary / tertiary) for the opt-in container frame.

  • "inherit" "lg" "md" "sm" "xs" "none" "2xl" "xl" "inner" "2xs" "3xl" "4xl" "5xl" "6xl" "full"

    Corner radius of the framed container. By default the radius is owned by the `size` variant (so joined children nest concentrically). Pass an explicit `radius` to override that size-derived default — useful when the Group frames a chrome'd container (e.g. a segmented nav) that must match a sibling's radius rather than its own size scale.

  • boolean
    default true

    Opt out of the Panel's reserved 1px border footprint. The default keeps the reserved space so toggling border variants never shifts layout; set `false` on a chrome-less group that must not add 1px around the joined set (e.g. a structural join-group nested inside a parent that already owns the frame).

  • "lg" "md" "sm" "xs" "none" "xl"

    Panel shadow elevation applied to the opt-in container frame.

  • "lg" "md" "sm" "xs"
    default "md"

    Border radius matching the size of the inner controls (`controls` variant).

  • "inherit" "cyan" "danger" "dynamic" "mauve" "neutral" "pink" "primary" "sage" "slate" "stone" "success" "teal" "violet" "warning"
    default "neutral"

    Semantic color palette for the group, inherited by children and any opt-in frame.

  • boolean

    Render the container frame with a translucent (frosted) surface.

Layout

  • boolean
    default false

    Stretch the group to fill its container's width.

  • "horizontal" "vertical"
    default "horizontal"

    Lay children out in a row or a column.

  • "lg" "md" "sm" "xs" "none" "2xl" "xl" "2xs" "3xl" "4xl" "5xl" "6xl" "10xl" "11xl" "3xs" "4xs" "7xl" "8xl" "9xl"
    default "none"

    Panel padding — inner spacing of the group container.

  • "controls" "stack"
    default "controls"

    Layout mode. `controls` (default) joins children into one connected unit using their OWN borders — it flattens the corners where they meet and overlaps adjacent borders into a single seam (no group frame, no double border). `stack` renders children as an avatar face pile with overlap and leftmost-on-top cascade.

Behavior

  • boolean

    Enable Panel interactive (hover/press) affordances on the container frame.

Slots

  • children slot svelte
    Snippet

    Default content.

Advanced

  • string

    Additional class name(s) merged onto the group's root element.

  • element binding svelte
    HTMLDivElement null

    Bound reference to the root element (`bind:this`).

  • GroupPassThrough<RootElementAttributes>

    Per-slot style and attribute override bag for the group's root element.

  • boolean
    default false

    Astro / vanilla: serialize the props into `data-group-config` so the client runtime hydrates this instance and `getPindoba(el, "group")` can `update()` it. Frameworks with their own reactivity don't need it.

Plus all standard <div> HTML attributes.

Type

  • Components
  • Blocks