Documentation
¶
Overview ¶
Package ui is the registry facade. Import as:
import "github.com/fastygo/templ/ui"
Use @ui.Button, @ui.Block, … Granular imports (github.com/fastygo/templ/ui/button) remain valid.
Index ¶
- Variables
- func Badge(p BadgeProps) templ.Component
- func BadgeClasses(p BadgeProps) string
- func Block(p BlockProps) templ.Component
- func Box(p BoxProps) templ.Component
- func Break(p BreakProps) templ.Component
- func Button(p ButtonProps) templ.Component
- func ButtonClasses(p ButtonProps) string
- func Checkbox(p CheckboxProps) templ.Component
- func CheckboxClasses(p CheckboxProps) string
- func Container(p ContainerProps) templ.Component
- func DataList(p DataListProps) templ.Component
- func DataOption(p DataOptionProps) templ.Component
- func Dialog(p DialogProps) templ.Component
- func Disclosure(p DisclosureProps) templ.Component
- func Fieldset(p FieldsetProps) templ.Component
- func FieldsetClasses(p FieldsetProps) string
- func Form(p FormProps) templ.Component
- func FormDescription(p FormDescriptionProps, value string) templ.Component
- func FormItem(p FormItemProps) templ.Component
- func FormMessage(p FormMessageProps, value string) templ.Component
- func Grid(p GridProps) templ.Component
- func GridClasses(p GridProps) string
- func GridCol(p GridColProps) templ.Component
- func GridColClasses(p GridColProps) string
- func Group(p GroupProps) templ.Component
- func GroupClasses(p GroupProps) string
- func Icon(p IconProps) templ.Component
- func IconClasses(p IconProps) string
- func Image(p ImageProps) templ.Component
- func ImageClasses(p ImageProps) string
- func Input(p InputProps) templ.Component
- func InputClasses(p InputProps) string
- func Label(p LabelProps) templ.Component
- func Legend(p LegendProps) templ.Component
- func LegendClasses(p LegendProps) string
- func Link(p LinkProps) templ.Component
- func LinkClasses(p LinkProps) string
- func List(p ListProps) templ.Component
- func ListItem(p ListItemProps) templ.Component
- func Meter(p MeterProps) templ.Component
- func MeterClasses(p MeterProps) string
- func OptGroup(p OptGroupProps) templ.Component
- func Output(p OutputProps) templ.Component
- func Picture(p PictureProps) templ.Component
- func Progress(p ProgressProps) templ.Component
- func ProgressClasses(p ProgressProps) string
- func Radio(p RadioProps) templ.Component
- func RadioClasses(p RadioProps) string
- func Select(p SelectProps) templ.Component
- func SelectClasses(p SelectProps) string
- func SelectOption(p OptionProps) templ.Component
- func Separator(p SeparatorProps) templ.Component
- func Source(p SourceProps) templ.Component
- func Stack(p StackProps) templ.Component
- func StackClasses(p StackProps) string
- func Summary(p SummaryProps) templ.Component
- func Switch(p SwitchProps) templ.Component
- func SwitchClasses(p SwitchProps) string
- func Table(p TableProps) templ.Component
- func TableBody(p TableSectionProps) templ.Component
- func TableCaption(p TableCaptionProps) templ.Component
- func TableCell(p TableCellProps) templ.Component
- func TableCol(p TableColProps) templ.Component
- func TableColGroup(p TableColGroupProps) templ.Component
- func TableFoot(p TableSectionProps) templ.Component
- func TableHead(p TableSectionProps) templ.Component
- func TableHeadCell(p TableCellProps) templ.Component
- func TableRow(p TableRowProps) templ.Component
- func Text(p TextProps, value string) templ.Component
- func Textarea(p TextareaProps) templ.Component
- func TextareaClasses(p TextareaProps) string
- func Title(p TitleProps, value string) templ.Component
- type BadgeProps
- type BlockProps
- type BoxProps
- type BreakProps
- type ButtonProps
- type CheckboxProps
- type ContainerProps
- type DataListProps
- type DataOptionProps
- type DialogProps
- type DisclosureProps
- type FieldsetProps
- type FormDescriptionProps
- type FormItemProps
- type FormMessageProps
- type FormProps
- type GridColProps
- type GridProps
- type GroupProps
- type IconProps
- type ImageProps
- type InputProps
- type LabelProps
- type LegendProps
- type LinkProps
- type ListItemProps
- type ListProps
- type MeterProps
- type OptGroupProps
- type OptionProps
- type OutputProps
- type PictureProps
- type ProgressProps
- type RadioProps
- type SelectProps
- type SeparatorProps
- type SourceProps
- type StackProps
- type SummaryProps
- type SwitchProps
- type TableCaptionProps
- type TableCellProps
- type TableColGroupProps
- type TableColProps
- type TableProps
- type TableRowProps
- type TableSectionProps
- type TextProps
- type TextareaProps
- type TitleProps
- type Variants
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ButtonVariants = button.ButtonVariants BadgeVariants = badge.BadgeVariants IconVariants = icon.IconVariants ImageVariants = image.ImageVariants LinkVariants = link.LinkVariants )
Functions ¶
func Badge ¶
func Badge(p BadgeProps) templ.Component
func BadgeClasses ¶
func BadgeClasses(p BadgeProps) string
func Block ¶
func Block(p BlockProps) templ.Component
func Break ¶
func Break(p BreakProps) templ.Component
func Button ¶
func Button(p ButtonProps) templ.Component
func ButtonClasses ¶
func ButtonClasses(p ButtonProps) string
func Checkbox ¶
func Checkbox(p CheckboxProps) templ.Component
func CheckboxClasses ¶
func CheckboxClasses(p CheckboxProps) string
func Container ¶
func Container(p ContainerProps) templ.Component
func DataList ¶
func DataList(p DataListProps) templ.Component
func DataOption ¶
func DataOption(p DataOptionProps) templ.Component
func Dialog ¶
func Dialog(p DialogProps) templ.Component
func Disclosure ¶
func Disclosure(p DisclosureProps) templ.Component
func Fieldset ¶
func Fieldset(p FieldsetProps) templ.Component
func FieldsetClasses ¶
func FieldsetClasses(p FieldsetProps) string
func FormDescription ¶
func FormDescription(p FormDescriptionProps, value string) templ.Component
func FormItem ¶
func FormItem(p FormItemProps) templ.Component
func FormMessage ¶
func FormMessage(p FormMessageProps, value string) templ.Component
func GridClasses ¶
func GridCol ¶
func GridCol(p GridColProps) templ.Component
func GridColClasses ¶
func GridColClasses(p GridColProps) string
func Group ¶
func Group(p GroupProps) templ.Component
func GroupClasses ¶
func GroupClasses(p GroupProps) string
func IconClasses ¶
func Image ¶
func Image(p ImageProps) templ.Component
func ImageClasses ¶
func ImageClasses(p ImageProps) string
func Input ¶
func Input(p InputProps) templ.Component
func InputClasses ¶
func InputClasses(p InputProps) string
func Label ¶
func Label(p LabelProps) templ.Component
func Legend ¶
func Legend(p LegendProps) templ.Component
func LegendClasses ¶
func LegendClasses(p LegendProps) string
func LinkClasses ¶
func ListItem ¶
func ListItem(p ListItemProps) templ.Component
func Meter ¶
func Meter(p MeterProps) templ.Component
func MeterClasses ¶
func MeterClasses(p MeterProps) string
func OptGroup ¶
func OptGroup(p OptGroupProps) templ.Component
func Output ¶
func Output(p OutputProps) templ.Component
func Picture ¶
func Picture(p PictureProps) templ.Component
func Progress ¶
func Progress(p ProgressProps) templ.Component
func ProgressClasses ¶
func ProgressClasses(p ProgressProps) string
func Radio ¶
func Radio(p RadioProps) templ.Component
func RadioClasses ¶
func RadioClasses(p RadioProps) string
func Select ¶
func Select(p SelectProps) templ.Component
func SelectClasses ¶
func SelectClasses(p SelectProps) string
func SelectOption ¶
func SelectOption(p OptionProps) templ.Component
func Separator ¶
func Separator(p SeparatorProps) templ.Component
func Source ¶
func Source(p SourceProps) templ.Component
func Stack ¶
func Stack(p StackProps) templ.Component
func StackClasses ¶
func StackClasses(p StackProps) string
func Summary ¶
func Summary(p SummaryProps) templ.Component
func Switch ¶
func Switch(p SwitchProps) templ.Component
func SwitchClasses ¶
func SwitchClasses(p SwitchProps) string
func Table ¶
func Table(p TableProps) templ.Component
func TableBody ¶
func TableBody(p TableSectionProps) templ.Component
func TableCaption ¶
func TableCaption(p TableCaptionProps) templ.Component
func TableCell ¶
func TableCell(p TableCellProps) templ.Component
func TableCol ¶
func TableCol(p TableColProps) templ.Component
func TableColGroup ¶
func TableColGroup(p TableColGroupProps) templ.Component
func TableFoot ¶
func TableFoot(p TableSectionProps) templ.Component
func TableHead ¶
func TableHead(p TableSectionProps) templ.Component
func TableHeadCell ¶
func TableHeadCell(p TableCellProps) templ.Component
func TableRow ¶
func TableRow(p TableRowProps) templ.Component
func Textarea ¶
func Textarea(p TextareaProps) templ.Component
func TextareaClasses ¶
func TextareaClasses(p TextareaProps) string
Types ¶
type BadgeProps ¶
type BadgeProps = badge.BadgeProps
type BlockProps ¶
type BlockProps = block.BlockProps
type BreakProps ¶
type BreakProps = linebreak.BreakProps
type ButtonProps ¶
type ButtonProps = button.ButtonProps
type CheckboxProps ¶
type CheckboxProps = checkbox.CheckboxProps
type ContainerProps ¶
type ContainerProps = container.ContainerProps
type DataListProps ¶
type DataListProps = form.DataListProps
type DataOptionProps ¶
type DataOptionProps = form.DataOptionProps
type DialogProps ¶
type DialogProps = dialog.DialogProps
type DisclosureProps ¶
type DisclosureProps = disclosure.DisclosureProps
type FieldsetProps ¶
type FieldsetProps = form.FieldsetProps
type FormDescriptionProps ¶
type FormDescriptionProps = form.FormDescriptionProps
type FormItemProps ¶
type FormItemProps = form.FormItemProps
type FormMessageProps ¶
type FormMessageProps = form.FormMessageProps
type GridColProps ¶
type GridColProps = grid.GridColProps
type GroupProps ¶
type GroupProps = group.GroupProps
type ImageProps ¶
type ImageProps = image.ImageProps
type InputProps ¶
type InputProps = input.InputProps
type LabelProps ¶
type LabelProps = label.LabelProps
type LegendProps ¶
type LegendProps = form.LegendProps
type ListItemProps ¶
type ListItemProps = list.ListItemProps
type MeterProps ¶
type MeterProps = form.MeterProps
type OptGroupProps ¶
type OptGroupProps = selectfield.OptGroupProps
type OptionProps ¶
type OptionProps = selectfield.OptionProps
type OutputProps ¶
type OutputProps = form.OutputProps
type PictureProps ¶
type PictureProps = image.PictureProps
type ProgressProps ¶
type ProgressProps = form.ProgressProps
type RadioProps ¶
type RadioProps = radio.RadioProps
type SelectProps ¶
type SelectProps = selectfield.SelectProps
type SeparatorProps ¶
type SeparatorProps = separator.SeparatorProps
type SourceProps ¶
type SourceProps = image.SourceProps
type StackProps ¶
type StackProps = stack.StackProps
type SummaryProps ¶
type SummaryProps = disclosure.SummaryProps
type SwitchProps ¶
type SwitchProps = formswitch.SwitchProps
type TableCaptionProps ¶
type TableCaptionProps = table.TableCaptionProps
type TableCellProps ¶
type TableCellProps = table.TableCellProps
type TableColGroupProps ¶
type TableColGroupProps = table.TableColGroupProps
type TableColProps ¶
type TableColProps = table.TableColProps
type TableProps ¶
type TableProps = table.TableProps
type TableRowProps ¶
type TableRowProps = table.TableRowProps
type TableSectionProps ¶
type TableSectionProps = table.TableSectionProps
type TextareaProps ¶
type TextareaProps = textarea.TextareaProps
type TitleProps ¶
type TitleProps = title.TitleProps
Click to show internal directories.
Click to hide internal directories.