Documentation ¶ Overview ¶ templ: version: v0.3.977 Index ¶ func Stack(props ...Props) templ.Component type Position type Props Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Stack ¶ func Stack(props ...Props) templ.Component Types ¶ type Position ¶ type Position string Position controls the alignment of stacked children. const ( PositionDefault Position = "" PositionTop Position = "stack-top" PositionBottom Position = "stack-bottom" PositionStart Position = "stack-start" PositionEnd Position = "stack-end" ) type Props ¶ type Props struct { ID string Class string Attributes templ.Attributes Position Position } Props configures a stack container. Source Files ¶ View all Source files stack_templ.go Click to show internal directories. Click to hide internal directories.