Two booleans set the frame. The default is a bordered box, bordered={false} keeps only the lines between panels, and ghost removes the frame, the fill and the lines. Collapse has no variant prop.
- Bordered is a box with a shaded header band and a line between items. Use it when the stack sits on the page and needs an edge to read as a group.
- Borderless keeps the shaded headers and drops the frame. Use it inside something that already has an edge: a Card, a Drawer, a table cell.
- Ghost drops the fill too, so the stack is titles on whatever is behind it. Use it in dense sidebars and on surfaces whose own color should show through.
- One treatment per surface. Mixing bordered and ghost stacks in one column makes the difference look like a state.