stack

package
v0.0.23 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 22, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

templ: version: v0.3.977

Index

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL