ui

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2026 License: MIT Imports: 30 Imported by: 0

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

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 Box

func Box(p BoxProps) 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 Form

func Form(p FormProps) templ.Component

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 Grid

func Grid(p GridProps) templ.Component

func GridClasses

func GridClasses(p GridProps) string

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 Icon

func Icon(p IconProps) templ.Component

func IconClasses

func IconClasses(p IconProps) string

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 Link(p LinkProps) templ.Component

func LinkClasses

func LinkClasses(p LinkProps) string

func List

func List(p ListProps) templ.Component

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 Text

func Text(p TextProps, value string) templ.Component

func Textarea

func Textarea(p TextareaProps) templ.Component

func TextareaClasses

func TextareaClasses(p TextareaProps) string

func Title

func Title(p TitleProps, value string) templ.Component

Types

type BadgeProps

type BadgeProps = badge.BadgeProps

type BlockProps

type BlockProps = block.BlockProps

type BoxProps

type BoxProps = box.BoxProps

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 FormProps

type FormProps = form.FormProps

type GridColProps

type GridColProps = grid.GridColProps

type GridProps

type GridProps = grid.GridProps

type GroupProps

type GroupProps = group.GroupProps

type IconProps

type IconProps = icon.IconProps

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 LinkProps

type LinkProps = link.LinkProps

type ListItemProps

type ListItemProps = list.ListItemProps

type ListProps

type ListProps = list.ListProps

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 TextProps

type TextProps = text.TextProps

type TextareaProps

type TextareaProps = textarea.TextareaProps

type TitleProps

type TitleProps = title.TitleProps

type Variants

type Variants = uiutils.Variants

Jump to

Keyboard shortcuts

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