dock

package
v0.0.39 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 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 Dock

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

Dock renders a dock navigation container.

func Item

func Item(props ...ItemProps) templ.Component

Item renders a dock button item.

func Label

func Label(props ...LabelProps) templ.Component

Label renders a dock-label text span.

Types

type ItemProps

type ItemProps struct {
	Class      string
	Attributes templ.Attributes
	Active     bool
}

type LabelProps

type LabelProps struct {
	Class      string
	Attributes templ.Attributes
}

type Props

type Props struct {
	ID         string
	Class      string
	Attributes templ.Attributes
	Size       Size
}

type Size

type Size string
const (
	SizeDefault Size = ""
	SizeXs      Size = "dock-xs"
	SizeSm      Size = "dock-sm"
	SizeMd      Size = "dock-md"
	SizeLg      Size = "dock-lg"
	SizeXl      Size = "dock-xl"
)

Jump to

Keyboard shortcuts

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