Documentation
¶
Overview ¶
templ: version: v0.3.856
templ: version: v0.3.856
templ: version: v0.3.856
templ: version: v0.3.856
templ: version: v0.3.856
templ: version: v0.3.856
templ: version: v0.3.856
templ: version: v0.3.856
templ: version: v0.3.856
templ: version: v0.3.856
templ: version: v0.3.856
templ: version: v0.3.856
templ: version: v0.3.856
templ: version: v0.3.856
templ: version: v0.3.856
templ: version: v0.3.856
templ: version: v0.3.856
templ: version: v0.3.856
templ: version: v0.3.856
templ: version: v0.3.856
templ: version: v0.3.856
templ: version: v0.3.856
templ: version: v0.3.856
templ: version: v0.3.856
templ: version: v0.3.856
templ: version: v0.3.856
templ: version: v0.3.856
templ: version: v0.3.856
templ: version: v0.3.856
templ: version: v0.3.856
templ: version: v0.3.856
templ: version: v0.3.856
templ: version: v0.3.856
templ: version: v0.3.856
templ: version: v0.3.856
templ: version: v0.3.856
templ: version: v0.3.856
templ: version: v0.3.856
templ: version: v0.3.856
Index ¶
- Variables
- func Accordion(props ...AccordionProps) templ.Component
- func AccordionContent(props ...AccordionContentProps) templ.Component
- func AccordionItem(props ...AccordionItemProps) templ.Component
- func AccordionTrigger(props ...AccordionTriggerProps) templ.Component
- func Alert(props ...AlertProps) templ.Component
- func AlertDescription(props ...AlertDescriptionProps) templ.Component
- func AlertTitle(props ...AlertTitleProps) templ.Component
- func AspectRatio(props ...AspectRatioProps) templ.Component
- func Avatar(props ...AvatarProps) templ.Component
- func AvatarFallback(props ...AvatarFallbackProps) templ.Component
- func AvatarGroup(props ...AvatarGroupProps) templ.Component
- func AvatarGroupOverflow(count int, props ...AvatarProps) templ.Component
- func AvatarImage(props ...AvatarImageProps) templ.Component
- func AvatarInitials(name string) string
- func Badge(props ...BadgeProps) templ.Component
- func Breadcrumb(props ...BreadcrumbProps) templ.Component
- func BreadcrumbItem(props ...BreadcrumbItemProps) templ.Component
- func BreadcrumbLink(props ...BreadcrumbLinkProps) templ.Component
- func BreadcrumbList(props ...BreadcrumbListProps) templ.Component
- func BreadcrumbPage(props ...BreadcrumbItemProps) templ.Component
- func BreadcrumbSeparator(props ...BreadcrumbSeparatorProps) templ.Component
- func Button(props ...ButtonProps) templ.Component
- func Card(props ...CardProps) templ.Component
- func CardContent(props ...CardContentProps) templ.Component
- func CardDescription(props ...CardDescriptionProps) templ.Component
- func CardFooter(props ...CardFooterProps) templ.Component
- func CardHeader(props ...CardHeaderProps) templ.Component
- func CardHorizontal(props ...CardHorizontalProps) templ.Component
- func CardMedia(props ...CardMediaProps) templ.Component
- func CardTitle(props ...CardTitleProps) templ.Component
- func Carousel(props ...CarouselProps) templ.Component
- func CarouselContent(props ...CarouselContentProps) templ.Component
- func CarouselIndicators(props ...CarouselIndicatorsProps) templ.Component
- func CarouselItem(props ...CarouselItemProps) templ.Component
- func CarouselNext(props ...CarouselNextProps) templ.Component
- func CarouselPrevious(props ...CarouselPreviousProps) templ.Component
- func CarouselScript() templ.Component
- func Chart(props ...ChartProps) templ.Component
- func ChartScripts() templ.Component
- func Checkbox(props ...CheckboxProps) templ.Component
- func CheckboxCard(props ...CheckboxCardProps) templ.Component
- func CheckboxCardDescription(props ...CheckboxCardDescriptionProps) templ.Component
- func CheckboxCardFooter(props ...CheckboxCardFooterProps) templ.Component
- func CheckboxCardHeader(props ...CheckboxCardHeaderProps) templ.Component
- func Code(props ...CodeProps) templ.Component
- func CodeScript() templ.Component
- func CreatePagination(currentPage, totalPages, maxVisible int) struct{ ... }
- func DatePicker(props ...DatePickerProps) templ.Component
- func DatePickerScript() templ.Component
- func Drawer(props ...DrawerProps) templ.Component
- func DrawerClose(props ...DrawerCloseProps) templ.Component
- func DrawerContent(props ...DrawerContentProps) templ.Component
- func DrawerDescription(props ...DrawerDescriptionProps) templ.Component
- func DrawerFooter(props ...DrawerFooterProps) templ.Component
- func DrawerHeader(props ...DrawerHeaderProps) templ.Component
- func DrawerScript() templ.Component
- func DrawerTitle(props ...DrawerTitleProps) templ.Component
- func DrawerTrigger(props ...DrawerTriggerProps) templ.Component
- func DropdownMenu(props ...DropdownMenuProps) templ.Component
- func DropdownMenuContent(props ...DropdownMenuContentProps) templ.Component
- func DropdownMenuGroup(props ...DropdownMenuGroupProps) templ.Component
- func DropdownMenuItem(props ...DropdownMenuItemProps) templ.Component
- func DropdownMenuLabel(props ...DropdownMenuLabelProps) templ.Component
- func DropdownMenuPortal(props ...DropdownMenuPortalProps) templ.Component
- func DropdownMenuScript() templ.Component
- func DropdownMenuSeparator(props ...DropdownMenuSeparatorProps) templ.Component
- func DropdownMenuShortcut(props ...DropdownMenuShortcutProps) templ.Component
- func DropdownMenuSub(props ...DropdownMenuSubProps) templ.Component
- func DropdownMenuSubContent(props ...DropdownMenuSubContentProps) templ.Component
- func DropdownMenuSubTrigger(props ...DropdownMenuSubTriggerProps) templ.Component
- func DropdownMenuTrigger(props ...DropdownMenuTriggerProps) templ.Component
- func FormDescription(props ...FormDescriptionProps) templ.Component
- func FormItem(props ...FormItemProps) templ.Component
- func FormItemFlex(props ...FormItemProps) templ.Component
- func FormLabel(props ...FormLabelProps) templ.Component
- func FormMessage(props ...FormMessageProps) templ.Component
- func Input(props ...InputProps) templ.Component
- func InputOTP(props ...InputOTPProps) templ.Component
- func InputOTPGroup(props ...InputOTPGroupProps) templ.Component
- func InputOTPScript() templ.Component
- func InputOTPSeparator(props ...InputOTPSeparatorProps) templ.Component
- func InputOTPSlot(props ...InputOTPSlotProps) templ.Component
- func Label(props ...LabelProps) templ.Component
- func LabelScript() templ.Component
- func Modal(props ...ModalProps) templ.Component
- func ModalBody(props ...ModalBodyProps) templ.Component
- func ModalClose(props ...ModalCloseProps) templ.Component
- func ModalFooter(props ...ModalFooterProps) templ.Component
- func ModalHeader(props ...ModalHeaderProps) templ.Component
- func ModalScript() templ.Component
- func ModalTrigger(props ...ModalTriggerProps) templ.Component
- func Pagination(props ...PaginationProps) templ.Component
- func PaginationContent(props ...PaginationContentProps) templ.Component
- func PaginationEllipsis() templ.Component
- func PaginationItem(props ...PaginationItemProps) templ.Component
- func PaginationLink(props ...PaginationLinkProps) templ.Component
- func PaginationNext(props ...PaginationNextProps) templ.Component
- func PaginationPrevious(props ...PaginationPreviousProps) templ.Component
- func Popover(props ...PopoverProps) templ.Component
- func PopoverContent(props ...PopoverContentProps) templ.Component
- func PopoverScript() templ.Component
- func PopoverTrigger(props ...PopoverTriggerProps) templ.Component
- func Progress(props ...ProgressProps) templ.Component
- func Radio(props ...RadioProps) templ.Component
- func RadioCard(props ...RadioCardProps) templ.Component
- func RadioCardDescription(props ...RadioCardDescriptionProps) templ.Component
- func RadioCardFooter(props ...RadioCardFooterProps) templ.Component
- func RadioCardHeader(props ...RadioCardHeaderProps) templ.Component
- func Rating(props ...RatingProps) templ.Component
- func RatingGroup(props ...RatingGroupProps) templ.Component
- func RatingItem(props ...RatingItemProps) templ.Component
- func RatingScript() templ.Component
- func Select(props ...SelectProps) templ.Component
- func SelectContent(props ...SelectContentProps) templ.Component
- func SelectGroup(props ...SelectGroupProps) templ.Component
- func SelectItem(props ...SelectItemProps) templ.Component
- func SelectLabel(props ...SelectLabelProps) templ.Component
- func SelectScript() templ.Component
- func SelectTrigger(props ...SelectTriggerProps) templ.Component
- func SelectValue(props ...SelectValueProps) templ.Component
- func Separator(props ...SeparatorProps) templ.Component
- func Skeleton(props ...SkeletonProps) templ.Component
- func Slider(props ...SliderProps) templ.Component
- func SliderInput(props ...SliderProps) templ.Component
- func SliderScript() templ.Component
- func SliderValue(props ...SliderValueProps) templ.Component
- func Spinner(props ...SpinnerProps) templ.Component
- func TabContent(props ...TabContentProps) templ.Component
- func TabTrigger(props ...TabTriggerProps) templ.Component
- func Table(props ...TableProps) templ.Component
- func TableBody(props ...TableBodyProps) templ.Component
- func TableCaption(props ...TableCaptionProps) templ.Component
- func TableCell(props ...TableCellProps) templ.Component
- func TableFooter(props ...TableFooterProps) templ.Component
- func TableHead(props ...TableHeadProps) templ.Component
- func TableHeader(props ...TableHeaderProps) templ.Component
- func TableRow(props ...TableRowProps) templ.Component
- func Tabs(props ...TabsProps) templ.Component
- func TabsList(props ...TabsListProps) templ.Component
- func TabsScript() templ.Component
- func Textarea(props ...TextareaProps) templ.Component
- func TextareaScript() templ.Component
- func TimePicker(props ...TimePickerProps) templ.Component
- func TimePickerScript() templ.Component
- func Toast(props ...ToastProps) templ.Component
- func ToastScript() templ.Component
- func Toggle(props ...ToggleProps) templ.Component
- func Tooltip(props ...TooltipProps) templ.Component
- func TooltipContent(props ...TooltipContentProps) templ.Component
- func TooltipTrigger(props ...TooltipTriggerProps) templ.Component
- type AccordionContentProps
- type AccordionItemProps
- type AccordionProps
- type AccordionTriggerProps
- type AlertDescriptionProps
- type AlertProps
- type AlertTitleProps
- type AlertVariant
- type AspectRatioProps
- type AspectRatioVariant
- type AvatarFallbackProps
- type AvatarGroupProps
- type AvatarGroupSpacing
- type AvatarImageProps
- type AvatarProps
- type AvatarSize
- type BadgeProps
- type BadgeVariant
- type BreadcrumbItemProps
- type BreadcrumbLinkProps
- type BreadcrumbListProps
- type BreadcrumbProps
- type BreadcrumbSeparatorProps
- type ButtonProps
- type ButtonSize
- type ButtonVariant
- type CardContentProps
- type CardDescriptionProps
- type CardFooterProps
- type CardHeaderProps
- type CardHorizontalProps
- type CardMediaPosition
- type CardMediaProps
- type CardMediaWidth
- type CardProps
- type CardTitleProps
- type CarouselContentProps
- type CarouselIndicatorsProps
- type CarouselItemProps
- type CarouselNextProps
- type CarouselPreviousProps
- type CarouselProps
- type ChartConfig
- type ChartData
- type ChartDataset
- type ChartOptions
- type ChartProps
- type ChartVariant
- type CheckboxCardDescriptionProps
- type CheckboxCardFooterProps
- type CheckboxCardHeaderProps
- type CheckboxCardProps
- type CheckboxProps
- type CodeProps
- type CodeSize
- type DateFormat
- type DateLocale
- type DatePickerConfig
- type DatePickerProps
- type DrawerCloseProps
- type DrawerContentProps
- type DrawerDescriptionProps
- type DrawerFooterProps
- type DrawerHeaderProps
- type DrawerPosition
- type DrawerProps
- type DrawerTitleProps
- type DrawerTriggerProps
- type DropdownMenuContentProps
- type DropdownMenuGroupProps
- type DropdownMenuItemProps
- type DropdownMenuLabelProps
- type DropdownMenuPortalProps
- type DropdownMenuProps
- type DropdownMenuSeparatorProps
- type DropdownMenuShortcutProps
- type DropdownMenuSubContentProps
- type DropdownMenuSubProps
- type DropdownMenuSubTriggerProps
- type DropdownMenuTriggerProps
- type FormDescriptionProps
- type FormItemProps
- type FormLabelProps
- type FormMessageProps
- type FormMessageVariant
- type InputOTPGroupProps
- type InputOTPProps
- type InputOTPSeparatorProps
- type InputOTPSlotProps
- type InputProps
- type InputType
- type LabelProps
- type ModalBodyProps
- type ModalCloseProps
- type ModalFooterProps
- type ModalHeaderProps
- type ModalProps
- type ModalTriggerProps
- type PaginationContentProps
- type PaginationItemProps
- type PaginationLinkProps
- type PaginationNextProps
- type PaginationPreviousProps
- type PaginationProps
- type PopoverContentProps
- type PopoverPosition
- type PopoverProps
- type PopoverTriggerProps
- type PopoverTriggerType
- type ProgressProps
- type ProgressSize
- type ProgressVariant
- type RadioCardDescriptionProps
- type RadioCardFooterProps
- type RadioCardHeaderProps
- type RadioCardProps
- type RadioProps
- type RatingGroupProps
- type RatingItemProps
- type RatingProps
- type RatingStyle
- type SelectContentProps
- type SelectGroupProps
- type SelectItemProps
- type SelectLabelProps
- type SelectOption
- type SelectProps
- type SelectTriggerProps
- type SelectValueProps
- type SeparatorDecoration
- type SeparatorOrientation
- type SeparatorProps
- type SkeletonProps
- type SliderProps
- type SliderValueProps
- type SpinnerProps
- type SpinnerSize
- type TabContentProps
- type TabTriggerProps
- type TableBodyProps
- type TableCaptionProps
- type TableCellProps
- type TableFooterProps
- type TableHeadProps
- type TableHeaderProps
- type TableProps
- type TableRowProps
- type TabsListProps
- type TabsProps
- type TextareaProps
- type TimePickerProps
- type ToastPosition
- type ToastProps
- type ToastVariant
- type ToggleProps
- type TooltipContentProps
- type TooltipPosition
- type TooltipProps
- type TooltipTriggerProps
Constants ¶
This section is empty.
Variables ¶
var ( DateLocaleDefault = DateLocale{ MonthNames: []string{"January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"}, DayNames: []string{"Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"}, } DateLocaleSpanish = DateLocale{ MonthNames: []string{"Enero", "Febrero", "Marzo", "Abril", "Mayo", "Junio", "Julio", "Agosto", "Septiembre", "Octubre", "Noviembre", "Diciembre"}, DayNames: []string{"Lu", "Ma", "Mi", "Ju", "Vi", "Sa", "Do"}, } DateLocaleGerman = DateLocale{ MonthNames: []string{"Januar", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember"}, DayNames: []string{"Mo", "Di", "Mi", "Do", "Fr", "Sa", "So"}, } DateLocaleFrench = DateLocale{ MonthNames: []string{"Janvier", "Février", "Mars", "Avril", "Mai", "Juin", "Juillet", "Août", "Septembre", "Octobre", "Novembre", "Décembre"}, DayNames: []string{"Lu", "Ma", "Me", "Je", "Ve", "Sa", "Di"}, } DateLocaleItalian = DateLocale{ MonthNames: []string{"Gennaio", "Febbraio", "Marzo", "Aprile", "Maggio", "Giugno", "Luglio", "Agosto", "Settembre", "Ottobre", "Novembre", "Dicembre"}, DayNames: []string{"Lu", "Ma", "Me", "Gi", "Ve", "Sa", "Do"}, } DateLocaleJapanese = DateLocale{ MonthNames: []string{"1月", "2月", "3月", "4月", "5月", "6月", "7月", "8月", "9月", "10月", "11月", "12月"}, DayNames: []string{"日", "月", "火", "水", "木", "金", "土"}, } )
var ( DatePickerISO = DatePickerConfig{ Format: DateFormatISO, Locale: DateLocaleDefault, } DatePickerEU = DatePickerConfig{ Format: DateFormatEU, Locale: DateLocaleDefault, } DatePickerUK = DatePickerConfig{ Format: DateFormatUK, Locale: DateLocaleDefault, } DatePickerUS = DatePickerConfig{ Format: DateFormatUS, Locale: DateLocaleDefault, } DatePickerLONG = DatePickerConfig{ Format: DateFormatLONG, Locale: DateLocaleDefault, } )
var TemplFiles embed.FS
Functions ¶
func Accordion ¶
func Accordion(props ...AccordionProps) templ.Component
func AccordionContent ¶ added in v0.40.0
func AccordionContent(props ...AccordionContentProps) templ.Component
func AccordionItem ¶
func AccordionItem(props ...AccordionItemProps) templ.Component
func AccordionTrigger ¶ added in v0.40.0
func AccordionTrigger(props ...AccordionTriggerProps) templ.Component
func Alert ¶
func Alert(props ...AlertProps) templ.Component
func AlertDescription ¶
func AlertDescription(props ...AlertDescriptionProps) templ.Component
func AlertTitle ¶
func AlertTitle(props ...AlertTitleProps) templ.Component
func AspectRatio ¶ added in v0.33.0
func AspectRatio(props ...AspectRatioProps) templ.Component
func Avatar ¶
func Avatar(props ...AvatarProps) templ.Component
func AvatarFallback ¶ added in v0.40.0
func AvatarFallback(props ...AvatarFallbackProps) templ.Component
func AvatarGroup ¶ added in v0.40.0
func AvatarGroup(props ...AvatarGroupProps) templ.Component
func AvatarGroupOverflow ¶ added in v0.40.0
func AvatarGroupOverflow(count int, props ...AvatarProps) templ.Component
func AvatarImage ¶ added in v0.40.0
func AvatarImage(props ...AvatarImageProps) templ.Component
func AvatarInitials ¶ added in v0.40.0
func Badge ¶
func Badge(props ...BadgeProps) templ.Component
func Breadcrumb ¶ added in v0.34.0
func Breadcrumb(props ...BreadcrumbProps) templ.Component
func BreadcrumbItem ¶ added in v0.34.0
func BreadcrumbItem(props ...BreadcrumbItemProps) templ.Component
func BreadcrumbLink ¶ added in v0.40.0
func BreadcrumbLink(props ...BreadcrumbLinkProps) templ.Component
func BreadcrumbList ¶ added in v0.40.0
func BreadcrumbList(props ...BreadcrumbListProps) templ.Component
func BreadcrumbPage ¶ added in v0.40.0
func BreadcrumbPage(props ...BreadcrumbItemProps) templ.Component
func BreadcrumbSeparator ¶ added in v0.40.0
func BreadcrumbSeparator(props ...BreadcrumbSeparatorProps) templ.Component
func Button ¶
func Button(props ...ButtonProps) templ.Component
func CardContent ¶
func CardContent(props ...CardContentProps) templ.Component
func CardDescription ¶
func CardDescription(props ...CardDescriptionProps) templ.Component
func CardFooter ¶
func CardFooter(props ...CardFooterProps) templ.Component
func CardHeader ¶
func CardHeader(props ...CardHeaderProps) templ.Component
func CardHorizontal ¶ added in v0.40.0
func CardHorizontal(props ...CardHorizontalProps) templ.Component
func CardMedia ¶ added in v0.40.0
func CardMedia(props ...CardMediaProps) templ.Component
func CardTitle ¶
func CardTitle(props ...CardTitleProps) templ.Component
func Carousel ¶ added in v0.35.0
func Carousel(props ...CarouselProps) templ.Component
func CarouselContent ¶ added in v0.40.0
func CarouselContent(props ...CarouselContentProps) templ.Component
func CarouselIndicators ¶ added in v0.40.0
func CarouselIndicators(props ...CarouselIndicatorsProps) templ.Component
func CarouselItem ¶ added in v0.40.0
func CarouselItem(props ...CarouselItemProps) templ.Component
func CarouselNext ¶ added in v0.40.0
func CarouselNext(props ...CarouselNextProps) templ.Component
func CarouselPrevious ¶ added in v0.40.0
func CarouselPrevious(props ...CarouselPreviousProps) templ.Component
func CarouselScript ¶ added in v0.35.0
func Chart ¶ added in v0.35.0
func Chart(props ...ChartProps) templ.Component
func ChartScripts ¶ added in v0.35.0
func Checkbox ¶
func Checkbox(props ...CheckboxProps) templ.Component
func CheckboxCard ¶ added in v0.34.0
func CheckboxCard(props ...CheckboxCardProps) templ.Component
func CheckboxCardDescription ¶ added in v0.40.0
func CheckboxCardDescription(props ...CheckboxCardDescriptionProps) templ.Component
func CheckboxCardFooter ¶ added in v0.40.0
func CheckboxCardFooter(props ...CheckboxCardFooterProps) templ.Component
func CheckboxCardHeader ¶ added in v0.40.0
func CheckboxCardHeader(props ...CheckboxCardHeaderProps) templ.Component
func CodeScript ¶
func CreatePagination ¶ added in v0.40.0
func DatePicker ¶ added in v0.37.0
func DatePicker(props ...DatePickerProps) templ.Component
func DatePickerScript ¶ added in v0.37.0
func Drawer ¶ added in v0.40.0
func Drawer(props ...DrawerProps) templ.Component
func DrawerClose ¶ added in v0.40.0
func DrawerClose(props ...DrawerCloseProps) templ.Component
func DrawerContent ¶ added in v0.40.0
func DrawerContent(props ...DrawerContentProps) templ.Component
func DrawerDescription ¶ added in v0.40.0
func DrawerDescription(props ...DrawerDescriptionProps) templ.Component
func DrawerFooter ¶ added in v0.40.0
func DrawerFooter(props ...DrawerFooterProps) templ.Component
func DrawerHeader ¶ added in v0.40.0
func DrawerHeader(props ...DrawerHeaderProps) templ.Component
func DrawerScript ¶ added in v0.40.0
func DrawerTitle ¶ added in v0.40.0
func DrawerTitle(props ...DrawerTitleProps) templ.Component
func DrawerTrigger ¶ added in v0.40.0
func DrawerTrigger(props ...DrawerTriggerProps) templ.Component
func DropdownMenu ¶
func DropdownMenu(props ...DropdownMenuProps) templ.Component
func DropdownMenuContent ¶ added in v0.40.0
func DropdownMenuContent(props ...DropdownMenuContentProps) templ.Component
func DropdownMenuGroup ¶ added in v0.40.0
func DropdownMenuGroup(props ...DropdownMenuGroupProps) templ.Component
func DropdownMenuItem ¶
func DropdownMenuItem(props ...DropdownMenuItemProps) templ.Component
func DropdownMenuLabel ¶ added in v0.40.0
func DropdownMenuLabel(props ...DropdownMenuLabelProps) templ.Component
func DropdownMenuPortal ¶ added in v0.40.0
func DropdownMenuPortal(props ...DropdownMenuPortalProps) templ.Component
func DropdownMenuScript ¶
func DropdownMenuSeparator ¶ added in v0.40.0
func DropdownMenuSeparator(props ...DropdownMenuSeparatorProps) templ.Component
func DropdownMenuShortcut ¶ added in v0.40.0
func DropdownMenuShortcut(props ...DropdownMenuShortcutProps) templ.Component
func DropdownMenuSub ¶ added in v0.40.0
func DropdownMenuSub(props ...DropdownMenuSubProps) templ.Component
func DropdownMenuSubContent ¶ added in v0.40.0
func DropdownMenuSubContent(props ...DropdownMenuSubContentProps) templ.Component
func DropdownMenuSubTrigger ¶ added in v0.40.0
func DropdownMenuSubTrigger(props ...DropdownMenuSubTriggerProps) templ.Component
func DropdownMenuTrigger ¶ added in v0.40.0
func DropdownMenuTrigger(props ...DropdownMenuTriggerProps) templ.Component
func FormDescription ¶
func FormDescription(props ...FormDescriptionProps) templ.Component
func FormItem ¶
func FormItem(props ...FormItemProps) templ.Component
func FormItemFlex ¶
func FormItemFlex(props ...FormItemProps) templ.Component
func FormLabel ¶
func FormLabel(props ...FormLabelProps) templ.Component
func FormMessage ¶
func FormMessage(props ...FormMessageProps) templ.Component
func Input ¶
func Input(props ...InputProps) templ.Component
func InputOTP ¶ added in v0.37.0
func InputOTP(props ...InputOTPProps) templ.Component
func InputOTPGroup ¶ added in v0.40.0
func InputOTPGroup(props ...InputOTPGroupProps) templ.Component
func InputOTPScript ¶ added in v0.37.0
func InputOTPSeparator ¶ added in v0.40.0
func InputOTPSeparator(props ...InputOTPSeparatorProps) templ.Component
func InputOTPSlot ¶ added in v0.40.0
func InputOTPSlot(props ...InputOTPSlotProps) templ.Component
func Label ¶
func Label(props ...LabelProps) templ.Component
func LabelScript ¶
func Modal ¶
func Modal(props ...ModalProps) templ.Component
func ModalBody ¶
func ModalBody(props ...ModalBodyProps) templ.Component
func ModalClose ¶
func ModalClose(props ...ModalCloseProps) templ.Component
func ModalFooter ¶
func ModalFooter(props ...ModalFooterProps) templ.Component
func ModalHeader ¶
func ModalHeader(props ...ModalHeaderProps) templ.Component
func ModalScript ¶
func ModalTrigger ¶
func ModalTrigger(props ...ModalTriggerProps) templ.Component
func Pagination ¶ added in v0.36.0
func Pagination(props ...PaginationProps) templ.Component
func PaginationContent ¶ added in v0.40.0
func PaginationContent(props ...PaginationContentProps) templ.Component
func PaginationEllipsis ¶ added in v0.40.0
func PaginationItem ¶ added in v0.40.0
func PaginationItem(props ...PaginationItemProps) templ.Component
func PaginationLink ¶ added in v0.40.0
func PaginationLink(props ...PaginationLinkProps) templ.Component
func PaginationNext ¶ added in v0.40.0
func PaginationNext(props ...PaginationNextProps) templ.Component
func PaginationPrevious ¶ added in v0.40.0
func PaginationPrevious(props ...PaginationPreviousProps) templ.Component
func Popover ¶ added in v0.43.0
func Popover(props ...PopoverProps) templ.Component
func PopoverContent ¶ added in v0.43.0
func PopoverContent(props ...PopoverContentProps) templ.Component
func PopoverScript ¶ added in v0.43.0
func PopoverTrigger ¶ added in v0.43.0
func PopoverTrigger(props ...PopoverTriggerProps) templ.Component
func Progress ¶ added in v0.38.0
func Progress(props ...ProgressProps) templ.Component
func Radio ¶
func Radio(props ...RadioProps) templ.Component
func RadioCard ¶ added in v0.34.0
func RadioCard(props ...RadioCardProps) templ.Component
func RadioCardDescription ¶ added in v0.40.0
func RadioCardDescription(props ...RadioCardDescriptionProps) templ.Component
func RadioCardFooter ¶ added in v0.40.0
func RadioCardFooter(props ...RadioCardFooterProps) templ.Component
func RadioCardHeader ¶ added in v0.40.0
func RadioCardHeader(props ...RadioCardHeaderProps) templ.Component
func Rating ¶ added in v0.38.0
func Rating(props ...RatingProps) templ.Component
func RatingGroup ¶ added in v0.40.0
func RatingGroup(props ...RatingGroupProps) templ.Component
func RatingItem ¶ added in v0.40.0
func RatingItem(props ...RatingItemProps) templ.Component
func RatingScript ¶ added in v0.38.0
func Select ¶
func Select(props ...SelectProps) templ.Component
func SelectContent ¶ added in v0.40.0
func SelectContent(props ...SelectContentProps) templ.Component
func SelectGroup ¶ added in v0.40.0
func SelectGroup(props ...SelectGroupProps) templ.Component
func SelectItem ¶ added in v0.40.0
func SelectItem(props ...SelectItemProps) templ.Component
func SelectLabel ¶ added in v0.40.0
func SelectLabel(props ...SelectLabelProps) templ.Component
func SelectScript ¶ added in v0.40.0
func SelectTrigger ¶ added in v0.40.0
func SelectTrigger(props ...SelectTriggerProps) templ.Component
func SelectValue ¶ added in v0.40.0
func SelectValue(props ...SelectValueProps) templ.Component
func Separator ¶ added in v0.38.0
func Separator(props ...SeparatorProps) templ.Component
func Skeleton ¶ added in v0.38.0
func Skeleton(props ...SkeletonProps) templ.Component
func Slider ¶
func Slider(props ...SliderProps) templ.Component
func SliderInput ¶ added in v0.40.0
func SliderInput(props ...SliderProps) templ.Component
func SliderScript ¶
func SliderValue ¶ added in v0.40.0
func SliderValue(props ...SliderValueProps) templ.Component
func Spinner ¶ added in v0.38.0
func Spinner(props ...SpinnerProps) templ.Component
func TabContent ¶ added in v0.40.0
func TabContent(props ...TabContentProps) templ.Component
func TabTrigger ¶ added in v0.40.0
func TabTrigger(props ...TabTriggerProps) templ.Component
func Table ¶ added in v0.40.0
func Table(props ...TableProps) templ.Component
func TableBody ¶ added in v0.40.0
func TableBody(props ...TableBodyProps) templ.Component
func TableCaption ¶ added in v0.40.0
func TableCaption(props ...TableCaptionProps) templ.Component
func TableCell ¶ added in v0.40.0
func TableCell(props ...TableCellProps) templ.Component
func TableFooter ¶ added in v0.40.0
func TableFooter(props ...TableFooterProps) templ.Component
func TableHead ¶ added in v0.40.0
func TableHead(props ...TableHeadProps) templ.Component
func TableHeader ¶ added in v0.40.0
func TableHeader(props ...TableHeaderProps) templ.Component
func TableRow ¶ added in v0.40.0
func TableRow(props ...TableRowProps) templ.Component
func TabsList ¶ added in v0.40.0
func TabsList(props ...TabsListProps) templ.Component
func TabsScript ¶
func Textarea ¶
func Textarea(props ...TextareaProps) templ.Component
func TextareaScript ¶
func TimePicker ¶ added in v0.37.0
func TimePicker(props ...TimePickerProps) templ.Component
func TimePickerScript ¶ added in v0.37.0
func Toast ¶
func Toast(props ...ToastProps) templ.Component
func ToastScript ¶
func Toggle ¶
func Toggle(props ...ToggleProps) templ.Component
func Tooltip ¶
func Tooltip(props ...TooltipProps) templ.Component
func TooltipContent ¶ added in v0.40.0
func TooltipContent(props ...TooltipContentProps) templ.Component
func TooltipTrigger ¶ added in v0.40.0
func TooltipTrigger(props ...TooltipTriggerProps) templ.Component
Types ¶
type AccordionContentProps ¶ added in v0.40.0
type AccordionContentProps struct { ID string Class string Attributes templ.Attributes }
type AccordionItemProps ¶ added in v0.40.0
type AccordionItemProps struct { ID string Class string Attributes templ.Attributes }
type AccordionProps ¶
type AccordionProps struct { ID string Class string Attributes templ.Attributes }
type AccordionTriggerProps ¶ added in v0.40.0
type AccordionTriggerProps struct { ID string Class string Attributes templ.Attributes }
type AlertDescriptionProps ¶ added in v0.40.0
type AlertDescriptionProps struct { ID string Class string Attributes templ.Attributes }
type AlertProps ¶
type AlertProps struct { ID string Class string Attributes templ.Attributes Variant AlertVariant }
type AlertTitleProps ¶ added in v0.40.0
type AlertTitleProps struct { ID string Class string Attributes templ.Attributes }
type AlertVariant ¶
type AlertVariant string
const ( AlertVariantDefault AlertVariant = "default" AlertVariantDestructive AlertVariant = "destructive" )
type AspectRatioProps ¶ added in v0.33.0
type AspectRatioProps struct { ID string Class string Attributes templ.Attributes Ratio AspectRatioVariant }
type AspectRatioVariant ¶ added in v0.40.0
type AspectRatioVariant string
const ( AspectRatioAuto AspectRatioVariant = "auto" AspectRatioSquare AspectRatioVariant = "square" AspectRatioVideo AspectRatioVariant = "video" AspectRatioPortrait AspectRatioVariant = "portrait" AspectRatioWide AspectRatioVariant = "wide" )
type AvatarFallbackProps ¶ added in v0.40.0
type AvatarFallbackProps struct { ID string Class string Attributes templ.Attributes }
type AvatarGroupProps ¶ added in v0.40.0
type AvatarGroupProps struct { ID string Class string Attributes templ.Attributes Spacing AvatarGroupSpacing }
type AvatarGroupSpacing ¶ added in v0.40.0
type AvatarGroupSpacing string
const ( AvatarGroupSpacingSmall AvatarGroupSpacing = "small" AvatarGroupSpacingMedium AvatarGroupSpacing = "medium" AvatarGroupSpacingLarge AvatarGroupSpacing = "large" )
type AvatarImageProps ¶ added in v0.40.0
type AvatarProps ¶
type AvatarProps struct { ID string Class string Attributes templ.Attributes Size AvatarSize InGroup bool }
type AvatarSize ¶
type AvatarSize string
const ( AvatarSizeSmall AvatarSize = "small" AvatarSizeMedium AvatarSize = "medium" AvatarSizeLarge AvatarSize = "large" )
type BadgeProps ¶
type BadgeProps struct { ID string Class string Attributes templ.Attributes Variant BadgeVariant }
type BadgeVariant ¶
type BadgeVariant string
const ( BadgeVariantDefault BadgeVariant = "default" BadgeVariantSecondary BadgeVariant = "secondary" BadgeVariantDestructive BadgeVariant = "destructive" BadgeVariantOutline BadgeVariant = "outline" )
type BreadcrumbItemProps ¶ added in v0.40.0
type BreadcrumbItemProps struct { ID string Class string Attributes templ.Attributes Current bool }
type BreadcrumbLinkProps ¶ added in v0.40.0
type BreadcrumbLinkProps struct { ID string Class string Attributes templ.Attributes Href string }
type BreadcrumbListProps ¶ added in v0.40.0
type BreadcrumbListProps struct { ID string Class string Attributes templ.Attributes }
type BreadcrumbProps ¶ added in v0.34.0
type BreadcrumbProps struct { ID string Class string Attributes templ.Attributes }
type BreadcrumbSeparatorProps ¶ added in v0.40.0
type BreadcrumbSeparatorProps struct { ID string Class string Attributes templ.Attributes UseCustom bool }
type ButtonProps ¶
type ButtonProps struct { ID string Class string Attributes templ.Attributes Variant ButtonVariant Size ButtonSize FullWidth bool Href string Target string Disabled bool Type string HxGet string HxPost string HxPut string HxDelete string HxTrigger string HxTarget string HxSwap string HxReplaceUrl string }
type ButtonVariant ¶
type ButtonVariant string
const ( ButtonVariantDefault ButtonVariant = "default" ButtonVariantDestructive ButtonVariant = "destructive" ButtonVariantOutline ButtonVariant = "outline" ButtonVariantSecondary ButtonVariant = "secondary" ButtonVariantGhost ButtonVariant = "ghost" ButtonVariantLink ButtonVariant = "link" )
type CardContentProps ¶ added in v0.40.0
type CardContentProps struct { ID string Class string Attributes templ.Attributes }
type CardDescriptionProps ¶ added in v0.40.0
type CardDescriptionProps struct { ID string Class string Attributes templ.Attributes }
type CardFooterProps ¶ added in v0.40.0
type CardFooterProps struct {}
type CardHeaderProps ¶ added in v0.40.0
type CardHeaderProps struct { ID string Class string Attributes templ.Attributes }
type CardHorizontalProps ¶ added in v0.40.0
type CardHorizontalProps struct { ID string Class string Attributes templ.Attributes }
type CardMediaPosition ¶ added in v0.40.0
type CardMediaPosition string
const ( CardMediaTop CardMediaPosition = "top" CardMediaBottom CardMediaPosition = "bottom" CardMediaLeft CardMediaPosition = "left" CardMediaRight CardMediaPosition = "right" )
type CardMediaProps ¶ added in v0.40.0
type CardMediaProps struct { ID string Class string Attributes templ.Attributes Src string Alt string Position CardMediaPosition Width CardMediaWidth AspectRatio AspectRatioVariant }
type CardMediaWidth ¶ added in v0.40.0
type CardMediaWidth string
const ( CardMediaWidthAuto CardMediaWidth = "auto" CardMediaWidthFull CardMediaWidth = "full" CardMediaWidthHalf CardMediaWidth = "half" CardMediaWidthThird CardMediaWidth = "third" CardMediaWidthQuarter CardMediaWidth = "quarter" CardMediaWidthTwoThirds CardMediaWidth = "two-thirds" CardMediaWidthThreeQuarters CardMediaWidth = "three-quarters" )
type CardTitleProps ¶ added in v0.40.0
type CardTitleProps struct { ID string Class string Attributes templ.Attributes }
type CarouselContentProps ¶ added in v0.40.0
type CarouselContentProps struct { ID string Class string Attributes templ.Attributes }
type CarouselIndicatorsProps ¶ added in v0.40.0
type CarouselIndicatorsProps struct { ID string Class string Attributes templ.Attributes Count int }
type CarouselItemProps ¶ added in v0.40.0
type CarouselItemProps struct { ID string Class string Attributes templ.Attributes }
type CarouselNextProps ¶ added in v0.40.0
type CarouselNextProps struct { ID string Class string Attributes templ.Attributes }
type CarouselPreviousProps ¶ added in v0.40.0
type CarouselPreviousProps struct { ID string Class string Attributes templ.Attributes }
type CarouselProps ¶ added in v0.35.0
type ChartConfig ¶ added in v0.35.0
type ChartConfig struct { Type ChartVariant `json:"type"` Data ChartData `json:"data"` Options ChartOptions `json:"options,omitempty"` ShowLegend bool `json:"showLegend,omitempty"` ShowXAxis bool `json:"showXAxis"` ShowYAxis bool `json:"showYAxis"` ShowXLabels bool `json:"showXLabels"` ShowYLabels bool `json:"showYLabels"` ShowXGrid bool `json:"showXGrid"` ShowYGrid bool `json:"showYGrid"` Horizontal bool `json:"horizontal"` Stacked bool `json:"stacked"` }
type ChartData ¶ added in v0.35.0
type ChartData struct { Labels []string `json:"labels"` Datasets []ChartDataset `json:"datasets"` }
type ChartDataset ¶ added in v0.35.0
type ChartDataset struct { Label string `json:"label"` Data []float64 `json:"data"` BorderWidth int `json:"borderWidth,omitempty"` BorderColor string `json:"borderColor,omitempty"` BackgroundColor string `json:"backgroundColor,omitempty"` Tension float64 `json:"tension,omitempty"` Fill bool `json:"fill,omitempty"` Stepped bool `json:"stepped,omitempty"` }
type ChartOptions ¶ added in v0.35.0
type ChartProps ¶ added in v0.35.0
type ChartProps struct { ID string Variant ChartVariant Data ChartData Options ChartOptions ShowLegend bool ShowXAxis bool ShowYAxis bool ShowXLabels bool ShowYLabels bool ShowXGrid bool ShowYGrid bool Horizontal bool Stacked bool Class string Attributes templ.Attributes }
Erweiterung des ChartProps um ID und Attributes
type ChartVariant ¶ added in v0.40.0
type ChartVariant string
const ( ChartVariantBar ChartVariant = "bar" ChartVariantLine ChartVariant = "line" ChartVariantPie ChartVariant = "pie" ChartVariantDoughnut ChartVariant = "doughnut" ChartVariantRadar ChartVariant = "radar" )
type CheckboxCardDescriptionProps ¶ added in v0.40.0
type CheckboxCardDescriptionProps struct { ID string Class string Attributes templ.Attributes }
type CheckboxCardFooterProps ¶ added in v0.40.0
type CheckboxCardFooterProps struct {}
type CheckboxCardHeaderProps ¶ added in v0.40.0
type CheckboxCardHeaderProps struct { ID string Class string Attributes templ.Attributes }
type CheckboxCardProps ¶ added in v0.34.0
type CheckboxProps ¶
type DateFormat ¶
type DateFormat string
const ( DateFormatISO DateFormat = "iso" DateFormatEU DateFormat = "eu" DateFormatUK DateFormat = "uk" DateFormatUS DateFormat = "us" DateFormatLONG DateFormat = "long" )
type DateLocale ¶
type DatePickerConfig ¶ added in v0.37.0
type DatePickerConfig struct { Format DateFormat Locale DateLocale }
func NewDatePickerConfig ¶ added in v0.37.0
func NewDatePickerConfig(format DateFormat, locale DateLocale) DatePickerConfig
type DatePickerProps ¶ added in v0.37.0
type DrawerCloseProps ¶ added in v0.40.0
type DrawerCloseProps struct { ID string Class string Attributes templ.Attributes }
type DrawerContentProps ¶ added in v0.40.0
type DrawerContentProps struct { ID string Class string Attributes templ.Attributes Side DrawerPosition }
type DrawerDescriptionProps ¶ added in v0.40.0
type DrawerDescriptionProps struct { ID string Class string Attributes templ.Attributes }
type DrawerFooterProps ¶ added in v0.40.0
type DrawerFooterProps struct {}
type DrawerHeaderProps ¶ added in v0.40.0
type DrawerHeaderProps struct { ID string Class string Attributes templ.Attributes }
type DrawerPosition ¶ added in v0.40.0
type DrawerPosition string
const ( DrawerPositionTop DrawerPosition = "top" DrawerPositionRight DrawerPosition = "right" DrawerPositionBottom DrawerPosition = "bottom" DrawerPositionLeft DrawerPosition = "left" )
type DrawerProps ¶ added in v0.40.0
type DrawerProps struct { ID string Class string Attributes templ.Attributes Side DrawerPosition }
type DrawerTitleProps ¶ added in v0.40.0
type DrawerTitleProps struct { ID string Class string Attributes templ.Attributes }
type DrawerTriggerProps ¶ added in v0.40.0
type DrawerTriggerProps struct { ID string Class string Attributes templ.Attributes }
type DropdownMenuContentProps ¶ added in v0.40.0
type DropdownMenuGroupProps ¶ added in v0.40.0
type DropdownMenuGroupProps struct { ID string Class string Attributes templ.Attributes }
type DropdownMenuItemProps ¶ added in v0.40.0
type DropdownMenuLabelProps ¶ added in v0.40.0
type DropdownMenuLabelProps struct { ID string Class string Attributes templ.Attributes }
type DropdownMenuPortalProps ¶ added in v0.40.0
type DropdownMenuPortalProps struct { ID string Class string Attributes templ.Attributes }
type DropdownMenuProps ¶
type DropdownMenuProps struct { ID string Class string Attributes templ.Attributes }
type DropdownMenuSeparatorProps ¶ added in v0.40.0
type DropdownMenuSeparatorProps struct { ID string Class string Attributes templ.Attributes }
type DropdownMenuShortcutProps ¶ added in v0.40.0
type DropdownMenuShortcutProps struct { ID string Class string Attributes templ.Attributes }
type DropdownMenuSubContentProps ¶ added in v0.40.0
type DropdownMenuSubContentProps struct { ID string Class string Attributes templ.Attributes }
type DropdownMenuSubProps ¶ added in v0.40.0
type DropdownMenuSubProps struct { ID string Class string Attributes templ.Attributes }
type DropdownMenuSubTriggerProps ¶ added in v0.40.0
type DropdownMenuSubTriggerProps struct { ID string Class string Attributes templ.Attributes }
type DropdownMenuTriggerProps ¶ added in v0.40.0
type DropdownMenuTriggerProps struct { ID string Class string Attributes templ.Attributes }
type FormDescriptionProps ¶
type FormDescriptionProps struct { ID string Class string Attributes templ.Attributes }
type FormItemProps ¶
type FormItemProps struct { ID string Class string Attributes templ.Attributes }
type FormLabelProps ¶
type FormMessageProps ¶
type FormMessageProps struct { ID string Class string Attributes templ.Attributes Variant FormMessageVariant }
type FormMessageVariant ¶ added in v0.40.0
type FormMessageVariant string
const ( FormMessageVariantError FormMessageVariant = "error" FormMessageVariantInfo FormMessageVariant = "info" )
type InputOTPGroupProps ¶ added in v0.40.0
type InputOTPGroupProps struct { ID string Class string Attributes templ.Attributes }
type InputOTPProps ¶ added in v0.37.0
type InputOTPSeparatorProps ¶ added in v0.40.0
type InputOTPSeparatorProps struct { ID string Class string Attributes templ.Attributes }
type InputOTPSlotProps ¶ added in v0.40.0
type InputProps ¶
type InputType ¶
type InputType string
const ( InputTypeText InputType = "text" InputTypePassword InputType = "password" InputTypeEmail InputType = "email" InputTypeNumber InputType = "number" InputTypeTel InputType = "tel" InputTypeURL InputType = "url" InputTypeSearch InputType = "search" InputTypeDate InputType = "date" InputTypeTime InputType = "time" InputTypeFile InputType = "file" )
type LabelProps ¶
type ModalBodyProps ¶ added in v0.40.0
type ModalBodyProps struct { ID string Class string Attributes templ.Attributes }
type ModalCloseProps ¶ added in v0.40.0
type ModalCloseProps struct { ID string Class string Attributes templ.Attributes ModalID string }
type ModalFooterProps ¶ added in v0.40.0
type ModalFooterProps struct {}
type ModalHeaderProps ¶ added in v0.40.0
type ModalHeaderProps struct { ID string Class string Attributes templ.Attributes }
type ModalProps ¶
type ModalTriggerProps ¶ added in v0.40.0
type PaginationContentProps ¶ added in v0.41.0
type PaginationContentProps struct { ID string Class string Attributes templ.Attributes }
type PaginationItemProps ¶ added in v0.41.0
type PaginationItemProps struct { ID string Class string Attributes templ.Attributes }
type PaginationLinkProps ¶ added in v0.40.0
type PaginationNextProps ¶ added in v0.40.0
type PaginationPreviousProps ¶ added in v0.40.0
type PaginationProps ¶ added in v0.36.0
type PaginationProps struct { ID string Class string Attributes templ.Attributes }
type PopoverContentProps ¶ added in v0.43.0
type PopoverContentProps struct { ID string Class string Attributes templ.Attributes Position PopoverPosition DisableClickAway bool DisableESC bool ShowArrow bool HoverDelay int HoverOutDelay int }
type PopoverPosition ¶ added in v0.43.0
type PopoverPosition string
const ( PopoverTop PopoverPosition = "top" PopoverTopStart PopoverPosition = "top-start" PopoverTopEnd PopoverPosition = "top-end" PopoverRight PopoverPosition = "right" PopoverRightStart PopoverPosition = "right-start" PopoverRightEnd PopoverPosition = "right-end" PopoverBottom PopoverPosition = "bottom" PopoverBottomStart PopoverPosition = "bottom-start" PopoverBottomEnd PopoverPosition = "bottom-end" PopoverLeft PopoverPosition = "left" PopoverLeftStart PopoverPosition = "left-start" PopoverLeftEnd PopoverPosition = "left-end" )
type PopoverProps ¶ added in v0.43.0
type PopoverProps struct {
Class string
}
type PopoverTriggerProps ¶ added in v0.43.0
type PopoverTriggerProps struct { ID string For string TriggerType PopoverTriggerType }
type PopoverTriggerType ¶ added in v0.43.0
type PopoverTriggerType string
const ( PopoverTriggerTypeHover PopoverTriggerType = "hover" PopoverTriggerTypeClick PopoverTriggerType = "click" )
type ProgressProps ¶ added in v0.38.0
type ProgressProps struct { ID string Class string Attributes templ.Attributes Max int Value int Label string ShowValue bool Size ProgressSize Variant ProgressVariant BarClass string HxGet string HxTrigger string HxTarget string HxSwap string }
type ProgressSize ¶ added in v0.38.0
type ProgressSize string
const ( ProgressSizeDefault ProgressSize = "" ProgressSizeSm ProgressSize = "sm" ProgressSizeLg ProgressSize = "lg" )
type ProgressVariant ¶ added in v0.38.0
type ProgressVariant string
const ( ProgressVariantDefault ProgressVariant = "default" ProgressVariantSuccess ProgressVariant = "success" ProgressVariantDanger ProgressVariant = "danger" ProgressVariantWarning ProgressVariant = "warning" )
type RadioCardDescriptionProps ¶ added in v0.40.0
type RadioCardDescriptionProps struct { ID string Class string Attributes templ.Attributes }
type RadioCardFooterProps ¶ added in v0.40.0
type RadioCardFooterProps struct {}
type RadioCardHeaderProps ¶ added in v0.40.0
type RadioCardHeaderProps struct { ID string Class string Attributes templ.Attributes }
type RadioCardProps ¶ added in v0.34.0
type RadioProps ¶
type RatingGroupProps ¶ added in v0.40.0
type RatingGroupProps struct { ID string Class string Attributes templ.Attributes }
type RatingItemProps ¶ added in v0.40.0
type RatingItemProps struct { ID string Class string Attributes templ.Attributes Value int Style RatingStyle }
type RatingProps ¶ added in v0.38.0
type RatingStyle ¶ added in v0.38.0
type RatingStyle string
const ( RatingStyleStar RatingStyle = "star" RatingStyleHeart RatingStyle = "heart" RatingStyleEmoji RatingStyle = "emoji" )
type SelectContentProps ¶ added in v0.40.0
type SelectContentProps struct { ID string Class string Attributes templ.Attributes }
type SelectGroupProps ¶ added in v0.40.0
type SelectGroupProps struct { ID string Class string Attributes templ.Attributes }
type SelectItemProps ¶ added in v0.40.0
type SelectLabelProps ¶ added in v0.40.0
type SelectLabelProps struct { ID string Class string Attributes templ.Attributes }
type SelectOption ¶
type SelectProps ¶
type SelectProps struct { ID string Class string Attributes templ.Attributes }
type SelectTriggerProps ¶ added in v0.40.0
type SelectValueProps ¶ added in v0.40.0
type SelectValueProps struct { ID string Class string Attributes templ.Attributes Placeholder string }
type SeparatorDecoration ¶ added in v0.38.0
type SeparatorDecoration string
const ( SeparatorDecorationNone SeparatorDecoration = "none" SeparatorDecorationDashed SeparatorDecoration = "dashed" SeparatorDecorationDotted SeparatorDecoration = "dotted" )
type SeparatorOrientation ¶ added in v0.38.0
type SeparatorOrientation string
const ( SeparatorOrientationHorizontal SeparatorOrientation = "horizontal" SeparatorOrientationVertical SeparatorOrientation = "vertical" )
type SeparatorProps ¶ added in v0.38.0
type SeparatorProps struct { ID string Class string Attributes templ.Attributes Orientation SeparatorOrientation Decoration SeparatorDecoration Label string }
type SkeletonProps ¶ added in v0.38.0
type SkeletonProps struct { ID string Class string Attributes templ.Attributes }
type SliderProps ¶
type SliderValueProps ¶ added in v0.40.0
type SliderValueProps struct { ID string Class string Attributes templ.Attributes For string }
type SpinnerProps ¶ added in v0.38.0
type SpinnerProps struct { ID string Class string Attributes templ.Attributes Size SpinnerSize Color string }
type SpinnerSize ¶ added in v0.38.0
type SpinnerSize string
const ( SpinnerSizeSm SpinnerSize = "sm" SpinnerSizeMd SpinnerSize = "md" SpinnerSizeLg SpinnerSize = "lg" )
type TabContentProps ¶ added in v0.40.0
type TabTriggerProps ¶ added in v0.40.0
type TableBodyProps ¶ added in v0.40.0
type TableBodyProps struct { ID string Class string Attributes templ.Attributes }
type TableCaptionProps ¶ added in v0.40.0
type TableCaptionProps struct { ID string Class string Attributes templ.Attributes }
type TableCellProps ¶ added in v0.40.0
type TableCellProps struct { ID string Class string Attributes templ.Attributes }
type TableFooterProps ¶ added in v0.40.0
type TableFooterProps struct {}
type TableHeadProps ¶ added in v0.40.0
type TableHeadProps struct { ID string Class string Attributes templ.Attributes }
type TableHeaderProps ¶ added in v0.40.0
type TableHeaderProps struct { ID string Class string Attributes templ.Attributes }
type TableProps ¶ added in v0.40.0
type TableProps struct { ID string Class string Attributes templ.Attributes }
type TableRowProps ¶ added in v0.40.0
type TableRowProps struct { ID string Class string Attributes templ.Attributes Selected bool }
type TabsListProps ¶ added in v0.40.0
type TabsListProps struct { ID string Class string Attributes templ.Attributes }
type TextareaProps ¶
type TimePickerProps ¶ added in v0.37.0
type ToastPosition ¶ added in v0.40.0
type ToastPosition string
const ( ToastPositionTopRight ToastPosition = "top-right" ToastPositionTopLeft ToastPosition = "top-left" ToastPositionTopCenter ToastPosition = "top-center" ToastPositionBottomRight ToastPosition = "bottom-right" ToastPositionBottomLeft ToastPosition = "bottom-left" ToastPositionBottomCenter ToastPosition = "bottom-center" )
type ToastProps ¶
type ToastProps struct { ID string Class string Attributes templ.Attributes Title string Description string Variant ToastVariant Position ToastPosition Duration int Dismissible bool ShowIndicator bool Icon bool }
type ToastVariant ¶ added in v0.40.0
type ToastVariant string
const ( ToastVariantDefault ToastVariant = "default" ToastVariantSuccess ToastVariant = "success" ToastVariantError ToastVariant = "error" ToastVariantWarning ToastVariant = "warning" ToastVariantInfo ToastVariant = "info" )
type ToggleProps ¶
type TooltipContentProps ¶ added in v0.40.0
type TooltipContentProps struct { ID string Class string Attributes templ.Attributes ShowArrow bool Position TooltipPosition HoverDelay int HoverOutDelay int }
type TooltipPosition ¶ added in v0.40.0
type TooltipPosition string
const ( TooltipPositionTop TooltipPosition = "top" TooltipPositionRight TooltipPosition = "right" TooltipPositionBottom TooltipPosition = "bottom" TooltipPositionLeft TooltipPosition = "left" )
type TooltipProps ¶
type TooltipProps struct { ID string Class string Attributes templ.Attributes }
type TooltipTriggerProps ¶ added in v0.40.0
type TooltipTriggerProps struct { ID string Class string Attributes templ.Attributes For string }
Source Files
¶
- accordion_templ.go
- alert_templ.go
- aspect_ratio_templ.go
- avatar_templ.go
- badge_templ.go
- breadcrumb_templ.go
- button_templ.go
- card_templ.go
- carousel_templ.go
- chart_templ.go
- checkbox_card_templ.go
- checkbox_templ.go
- code_templ.go
- date_picker_templ.go
- drawer_templ.go
- dropdown_menu_templ.go
- embed.go
- form_templ.go
- input-otp_templ.go
- input_templ.go
- label_templ.go
- modal_templ.go
- pagination_templ.go
- popover_templ.go
- progress_templ.go
- radio_card_templ.go
- radio_templ.go
- rating_templ.go
- select_templ.go
- separator_templ.go
- skeleton_templ.go
- slider_templ.go
- spinner_templ.go
- table_templ.go
- tabs_templ.go
- textarea_templ.go
- time_picker_templ.go
- toast_templ.go
- toggle_templ.go
- tooltip_templ.go