components

package
v0.0.0-...-3385ac3 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const FrostedBg = "backdrop-blur-lg bg-white/10 shadow-lg ring-1 ring-black/5"

Variables

This section is empty.

Functions

func AdditionalNodes

func AdditionalNodes(nodes []Node, additional ...Node) []Node

func Card

func Card(children ...Node) Node
func DropDown(button Node, panelEls ...Node) Node

func PrefixStyledInput

func PrefixStyledInput(p PrefixStyledInputProps) Node

func StyledForm

func StyledForm(p StyledFormProps, method string, children ...Node) Node

func StyledFormSection

func StyledFormSection(children ...Node) Node

func StyledFormSectionDescription

func StyledFormSectionDescription(t string) Node

func StyledFormSectionH2

func StyledFormSectionH2(t string) Node

func StyledInput

func StyledInput(p StyledInputProps) Node

Types

type PrefixStyledInputProps

type PrefixStyledInputProps struct {
	Type         string
	Name         string
	ID           string
	AutoComplete string
	Placeholder  string
	Required     bool
	Label        string
	Prefix       string
}

type StyledFormProps

type StyledFormProps struct {
	Action       string
	CancelButton []Node
	SubmitButton []Node
}

type StyledInputProps

type StyledInputProps struct {
	Type         string
	Name         string
	ID           string
	AutoComplete string
	Placeholder  string
	Required     bool
	Label        string
	Value        string
	Class        string
}

Jump to

Keyboard shortcuts

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