card

package
v1.1.0 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: 11

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Card

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

func Content

func Content(props ...ContentProps) templ.Component

func Description

func Description(props ...DescriptionProps) templ.Component
func Footer(props ...FooterProps) templ.Component
func Header(props ...HeaderProps) templ.Component

func Title

func Title(props ...TitleProps) templ.Component

Types

type ContentProps added in v1.1.0

type ContentProps struct {
	ID         string
	Class      string
	Attributes templ.Attributes
}

type DescriptionProps added in v1.1.0

type DescriptionProps struct {
	ID         string
	Class      string
	Attributes templ.Attributes
}

type FooterProps added in v1.1.0

type FooterProps struct {
	ID         string
	Class      string
	Attributes templ.Attributes
}

type HeaderProps added in v1.1.0

type HeaderProps struct {
	ID         string
	Class      string
	Attributes templ.Attributes
}

type Props

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

type TitleProps added in v1.1.0

type TitleProps struct {
	ID         string
	Class      string
	Attributes templ.Attributes
}

Jump to

Keyboard shortcuts

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