i

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

templ: version: v0.3.857

Index

Constants

View Source
const (
	SizeXXS = "8"
	SizeXS  = "16"
	SizeSM  = "20"
	SizeMD  = "24"
	SizeLG  = "32"
	SizeXL  = "48"
	SizeXXL = "64"
)
View Source
const (
	StrokePrimary          = "text-primary"
	StrokePrimaryContent   = "text-primary-content"
	StrokeSecondary        = "text-secondary"
	StrokeSecondaryContent = "text-secondary-content"
	StrokeAccent           = "text-accent"
	StrokeAccentContent    = "text-accent-content"
	StrokeNeutral          = "text-neutral"
	StrokeNeutralContent   = "text-neutral-content"
	StrokeBase             = "text-base-content"
	StrokeInfo             = "text-info"
	StrokeInfoContent      = "text-info-content"
	StrokeSuccess          = "text-success"
	StrokeSuccessContent   = "text-success-content"
	StrokeWarning          = "text-warning"
	StrokeWarningContent   = "text-warning-content"
	StrokeError            = "text-error"
	StrokeErrorContent     = "text-error-content"
	StrokeCurrent          = "text-current"
	FillPrimary            = "fill-primary"
	FillPrimaryContent     = "fill-primary-content"
	FillSecondary          = "fill-secondary"
	FillSecondaryContent   = "fill-secondary-content"
	FillAccent             = "fill-accent"
	FillAccentContent      = "fill-accent-content"
	FillNeutral            = "fill-neutral"
	FillNeutralContent     = "fill-neutral-content"
	FillBase               = "fill-base-content"
	FillInfo               = "fill-info"
	FillInfoContent        = "fill-info-content"
	FillSuccess            = "fill-success"
	FillSuccessContent     = "fill-success-content"
	FillWarning            = "fill-warning"
	FillWarningContent     = "fill-warning-content"
	FillError              = "fill-error"
	FillErrorContent       = "fill-error-content"
	FillCurrent            = "fill-current"
)
View Source
const (
	StrokeThin    = "1"
	StrokeRegular = "1.5"
	StrokeMedium  = "2"
	StrokeBold    = "2.5"
	StrokeHeavy   = "3"
)

Variables

This section is empty.

Functions

func FilledIcon added in v1.0.4

func FilledIcon(viewBox string, props ...Props) templ.Component

func FlagIcon added in v1.1.0

func FlagIcon(viewBox string, props ...Props) templ.Component

func OutlinedIcon added in v1.0.4

func OutlinedIcon(viewBox string, props ...Props) templ.Component

Types

type Props

type Props struct {
	Size        string
	Class       string
	StrokeWidth string
	ID          string
	AriaLabel   string
}

func DefaultProps

func DefaultProps() Props

func (*Props) GetProps

func (p *Props) GetProps(override Props)

Jump to

Keyboard shortcuts

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