RayCraftDocs
v1.0.3 raycraft.dev
On this page

Stack

Free

Lays children out in a row or column with a consistent gap.

Example

Stack control

Parameters

ParameterTypeDescription
AlignstringLeft (default), Center or Right.
ChildContentRenderFragmentContent rendered inside the component.
ClassstringExtra CSS classes added to the root element.
DirectionStackDirectionRow (default) or Column.
JustifystringCSS justify-content value.
SpacingintGap in multiples of 0.25rem.
StylestringInline style added to the root element.
WrapboolLets items wrap onto multiple lines.

Package

Stack is part of RayCraft Free. Package: RayCraft.Blazor. It comes from nuget.org. See Getting started.