Column

Column lays children out from top to bottom. It supports gaps, flex behavior, wrapping, and accessibility semantics, so it is a natural fit for screens, forms, cards, settings, and other vertical content.
Use Column when order flows vertically and children belong in the normal layout stream. Do not use it for layered overlays, absolute positioning, or huge virtualized lists; those are better handled by ZStack, Positioned, or LazyColumn.

Example

use fission::prelude::*;
use fission::op::AlignItems;

fission_component! {
    pub SecuritySummary<()> {
        props {
            email: String,
            password_changed: String,
        }
    }

    view(summary, _state, cx) {
        let tokens = &cx.view.env().theme.tokens;
    } =>
        Column(
            gap: tokens.spacing.m,
            align_items: AlignItems::Stretch,
            children: [
                Text(cx.tr("account.security")),
                Text(summary.email.clone()),
                Text(summary.password_changed.clone()),
            ],
        )
}
The parent supplies a display-ready password-change date in the current locale. The layout owns order and spacing; it does not turn a date timestamp into a second source of account state.

Field table

Field
Type
Meaning
Notes / default behavior
id
Option<WidgetId>
Stable widget identity.
Defaults to None.
children
Vec<Widget>
Child widgets laid out from top to bottom.
Defaults to an empty list.
semantics
Option<Semantics>
Optional accessibility semantics wrapper.
When present, the lowered column is wrapped in a semantics node.
flex_grow
f32
How much extra space the column absorbs from its parent.
Defaults to 0.0.
flex_shrink
f32
How much the column is allowed to shrink when space is tight.
Defaults to 1.0.
gap
Option<f32>
Vertical spacing between children.
Defaults to None.
wrap
FlexWrap
Whether children wrap when they overflow.
Defaults to FlexWrap::NoWrap. Most columns do not wrap.
align_items
AlignItems
Cross-axis alignment, which is horizontal in a column.
Defaults to AlignItems::Stretch.
justify_content
JustifyContent
Main-axis distribution, which is vertical in a column.
Defaults to JustifyContent::Start.

Layout behavior

Column lowers to a vertical flex layout. That means justify_content controls vertical distribution and align_items controls horizontal placement of each child. Beginners often mix those up because the meaning changes with the layout direction.
Column is also a good root for responsive screen sections because it makes spacing and reading order explicit. When a screen becomes scrollable, the common pattern is a Scroll containing a Column.

Specific advice

Prefer gap over sprinkling fixed Spacer widgets between every child. A spacer is still useful when one child should absorb leftover space, but gap usually reads better for ordinary stacked content.
If you only need a simpler convenience wrapper with children and spacing, use VStack.

Production checklist

•
Test the longest translated content in a narrow parent.
•
Keep main-axis and cross-axis constraints distinct; a column does not scroll by itself.
•
Give data-driven children stable identities before allowing insertion or reordering.
Previous
Clip