Help us shape the future of Go! Take the 2026 Go Developer Survey

separator

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2026 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Separator

func Separator(props ...Props) templ.Component

Types

type Decoration

type Decoration string
const (
	DecorationDashed Decoration = "dashed"
	DecorationDotted Decoration = "dotted"
)

type Orientation

type Orientation string
const (
	OrientationHorizontal Orientation = "horizontal"
	OrientationVertical   Orientation = "vertical"
)

type Props

type Props struct {
	ID          string
	Class       string
	Attributes  templ.Attributes
	Orientation Orientation
	Decoration  Decoration
}

Jump to

Keyboard shortcuts

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