components

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: May 1, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

templ: version: v0.3.1001

templ: version: v0.3.1001

templ: version: v0.3.1001

templ: version: v0.3.1001

templ: version: v0.3.1001

templ: version: v0.3.1001

templ: version: v0.3.1001

templ: version: v0.3.1001

templ: version: v0.3.1001

templ: version: v0.3.1001

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Accordion

func Accordion(props AccordionProps) templ.Component

func AccordionContent

func AccordionContent(props AccordionContentProps) templ.Component

func AccordionItem

func AccordionItem(props AccordionItemProps) templ.Component

func AccordionTrigger

func AccordionTrigger(props AccordionTriggerProps) templ.Component

func Alert

func Alert(props AlertProps) templ.Component

func AlertDialog

func AlertDialog(props AlertDialogProps) templ.Component

func AlertDialogAriaAttrs added in v0.4.0

func AlertDialogAriaAttrs(props AlertDialogProps) templ.Attributes

func AlertDialogCancelButton

func AlertDialogCancelButton(label string) templ.Component
func Breadcrumb(props BreadcrumbProps) templ.Component

func Card

func Card(props CardProps) templ.Component

func CardContent

func CardContent(props CardContentProps) templ.Component

func CardDescription

func CardDescription(props CardDescriptionProps, value string) templ.Component

func CardFooter

func CardFooter(props CardFooterProps) templ.Component

func CardHeader

func CardHeader(props CardHeaderProps) templ.Component

func CardTitle

func CardTitle(props CardTitleProps, value string) templ.Component

func Combobox

func Combobox(props ComboboxProps) templ.Component

func Dialog

func Dialog(props DialogProps) templ.Component

func DialogAriaAttrs added in v0.4.0

func DialogAriaAttrs(props DialogProps) templ.Attributes

func DialogClose

func DialogClose(props string) templ.Component

func DialogDescription

func DialogDescription(id string, props string) templ.Component

func DialogTitle

func DialogTitle(id string, props string) templ.Component

func DialogTrigger

func DialogTrigger(props DialogTriggerProps) templ.Component

func DialogTriggerAttrs added in v0.4.0

func DialogTriggerAttrs(props DialogTriggerProps) templ.Attributes

func Sheet

func Sheet(props SheetProps) templ.Component

func Tabs

func Tabs(props TabsProps) templ.Component

func TabsPanel

func TabsPanel(props TabsPanelProps) templ.Component

func Tooltip

func Tooltip(props TooltipProps) templ.Component

Types

type AccordionContentProps

type AccordionContentProps struct {
	Class string
	Value string
	Open  bool
}

type AccordionItemProps

type AccordionItemProps struct {
	Class string
	Value string
	Open  bool
}

type AccordionProps

type AccordionProps struct {
	Class string
	Type  string
}

type AccordionTriggerProps

type AccordionTriggerProps struct {
	Class string
	Value string
	Open  bool
}

type AlertDialogProps

type AlertDialogProps struct {
	ID        string
	Class     string
	AriaLabel string
	Open      bool
}

type AlertProps

type AlertProps struct {
	Class   string
	Variant string
}
type BreadcrumbItem struct {
	Label    string
	Href     string
	Current  bool
	Disabled bool
}
type BreadcrumbProps struct {
	Class string
	Items []BreadcrumbItem
}

type CardContentProps

type CardContentProps struct {
	Class string
}

type CardDescriptionProps

type CardDescriptionProps struct {
	Class string
}

type CardFooterProps

type CardFooterProps struct {
	Class string
}

type CardHeaderProps

type CardHeaderProps struct {
	Class string
}

type CardProps

type CardProps struct {
	Class   string
	Variant string
	Tag     string
}

type CardTitleProps

type CardTitleProps struct {
	Class string
	Order int
}

type ComboboxOptionProps

type ComboboxOptionProps struct {
	Value    string
	Label    string
	Disabled bool
}

type ComboboxProps

type ComboboxProps struct {
	ID          string
	Class       string
	Name        string
	Label       string
	Placeholder string
	Value       string
	Options     []ComboboxOptionProps
}

type DialogProps

type DialogProps struct {
	ID          string
	Class       string
	Title       string
	Description string
	AriaLabel   string
	Open        bool
}

type DialogTriggerProps

type DialogTriggerProps struct {
	For   string
	Label string
	Class string
	Open  bool
}

type SheetProps

type SheetProps struct {
	Class string
	ID    string
	Side  string
	Size  string
	Title string
}

type TabDescriptor

type TabDescriptor struct {
	Value    string
	Label    string
	Disabled bool
}

type TabsPanelProps

type TabsPanelProps struct {
	TabsID string
	Value  string
	Class  string
	Active bool
}

type TabsProps

type TabsProps struct {
	ID        string
	Class     string
	Tabs      []TabDescriptor
	ActiveTab string
}

type TooltipProps

type TooltipProps struct {
	ID    string
	Class string
	Text  string
	Open  bool
}

Jump to

Keyboard shortcuts

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