Documentation
¶
Overview ¶
Package components is the composite registry facade. Import as:
import cmp "github.com/fastygo/templ/components"
Use @cmp.Card, @cmp.Alert, … Granular imports remain valid.
Index ¶
- func Alert(p AlertProps) templ.Component
- func AlertClasses(p AlertProps) string
- func Breadcrumb(p BreadcrumbProps) templ.Component
- func Card(p CardProps) templ.Component
- func CardClasses(p CardProps) string
- func CardContent(p CardContentProps) templ.Component
- func CardDescription(p CardDescriptionProps, value string) templ.Component
- func CardFooter(p CardFooterProps) templ.Component
- func CardHeader(p CardHeaderProps) templ.Component
- func CardTitle(p CardTitleProps, value string) templ.Component
- func IconBadge(p IconBadgeProps) templ.Component
- func IconBadgeClasses(p IconBadgeProps) string
- func Nav(p NavProps) templ.Component
- func NavItem(p NavItemProps) templ.Component
- func NavLink(p NavLinkProps) templ.Component
- func NavLinkClasses(p NavLinkProps) string
- func NavList(p NavListProps) templ.Component
- func NavListClasses(p NavListProps) string
- func Sheet(p SheetProps) templ.Component
- func SheetClasses(p SheetProps) string
- func SheetClose(p SheetCloseProps) templ.Component
- func SheetContent(p SheetContentProps) templ.Component
- func SheetDescription(p SheetDescriptionProps, value string) templ.Component
- func SheetHeader(p SheetHeaderProps) templ.Component
- func SheetOverlay(p SheetOverlayProps) templ.Component
- func SheetTitle(p SheetTitleProps, value string) templ.Component
- func SheetTrigger(p SheetTriggerProps) templ.Component
- type AlertProps
- type BreadcrumbItem
- type BreadcrumbProps
- type CardContentProps
- type CardDescriptionProps
- type CardFooterProps
- type CardHeaderProps
- type CardProps
- type CardTitleProps
- type IconBadgeProps
- type NavItemProps
- type NavLinkProps
- type NavListProps
- type NavProps
- type SheetCloseProps
- type SheetContentProps
- type SheetDescriptionProps
- type SheetHeaderProps
- type SheetOverlayProps
- type SheetProps
- type SheetTitleProps
- type SheetTriggerProps
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Alert ¶
func Alert(p AlertProps) templ.Component
func AlertClasses ¶
func AlertClasses(p AlertProps) string
func Breadcrumb ¶
func Breadcrumb(p BreadcrumbProps) templ.Component
func CardClasses ¶
func CardContent ¶
func CardContent(p CardContentProps) templ.Component
func CardDescription ¶
func CardDescription(p CardDescriptionProps, value string) templ.Component
func CardFooter ¶
func CardFooter(p CardFooterProps) templ.Component
func CardHeader ¶
func CardHeader(p CardHeaderProps) templ.Component
func IconBadge ¶
func IconBadge(p IconBadgeProps) templ.Component
func IconBadgeClasses ¶
func IconBadgeClasses(p IconBadgeProps) string
func NavItem ¶
func NavItem(p NavItemProps) templ.Component
func NavLink ¶
func NavLink(p NavLinkProps) templ.Component
func NavLinkClasses ¶
func NavLinkClasses(p NavLinkProps) string
func NavList ¶
func NavList(p NavListProps) templ.Component
func NavListClasses ¶
func NavListClasses(p NavListProps) string
func Sheet ¶
func Sheet(p SheetProps) templ.Component
func SheetClasses ¶
func SheetClasses(p SheetProps) string
func SheetClose ¶
func SheetClose(p SheetCloseProps) templ.Component
func SheetContent ¶
func SheetContent(p SheetContentProps) templ.Component
func SheetDescription ¶
func SheetDescription(p SheetDescriptionProps, value string) templ.Component
func SheetHeader ¶
func SheetHeader(p SheetHeaderProps) templ.Component
func SheetOverlay ¶
func SheetOverlay(p SheetOverlayProps) templ.Component
func SheetTitle ¶
func SheetTitle(p SheetTitleProps, value string) templ.Component
func SheetTrigger ¶
func SheetTrigger(p SheetTriggerProps) templ.Component
Types ¶
type AlertProps ¶
type AlertProps = alert.AlertProps
type BreadcrumbItem ¶
type BreadcrumbItem = breadcrumb.BreadcrumbItem
type BreadcrumbProps ¶
type BreadcrumbProps = breadcrumb.BreadcrumbProps
type CardContentProps ¶
type CardContentProps = card.CardContentProps
type CardDescriptionProps ¶
type CardDescriptionProps = card.CardDescriptionProps
type CardFooterProps ¶
type CardFooterProps = card.CardFooterProps
type CardHeaderProps ¶
type CardHeaderProps = card.CardHeaderProps
type CardTitleProps ¶
type CardTitleProps = card.CardTitleProps
type IconBadgeProps ¶
type IconBadgeProps = iconbadge.IconBadgeProps
type NavItemProps ¶
type NavItemProps = nav.NavItemProps
type NavLinkProps ¶
type NavLinkProps = nav.NavLinkProps
type NavListProps ¶
type NavListProps = nav.NavListProps
type SheetCloseProps ¶
type SheetCloseProps = sheet.SheetCloseProps
type SheetContentProps ¶
type SheetContentProps = sheet.SheetContentProps
type SheetDescriptionProps ¶
type SheetDescriptionProps = sheet.SheetDescriptionProps
type SheetHeaderProps ¶
type SheetHeaderProps = sheet.SheetHeaderProps
type SheetOverlayProps ¶
type SheetOverlayProps = sheet.SheetOverlayProps
type SheetProps ¶
type SheetProps = sheet.SheetProps
type SheetTitleProps ¶
type SheetTitleProps = sheet.SheetTitleProps
type SheetTriggerProps ¶
type SheetTriggerProps = sheet.SheetTriggerProps
Click to show internal directories.
Click to hide internal directories.