skeleton

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package skeleton provides skeleton loading placeholders.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Skeleton

func Skeleton(opts ...Option) g.Node

Skeleton creates a skeleton loading placeholder

Types

type Option

type Option func(*Props)

func WithAttrs

func WithAttrs(attrs ...g.Node) Option

func WithClass

func WithClass(class string) Option

func WithHeight

func WithHeight(h string) Option

func WithWidth

func WithWidth(w string) Option

type Props

type Props struct {
	Width  string
	Height string
	Class  string
	Attrs  []g.Node
}

Jump to

Keyboard shortcuts

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