Documentation
¶
Overview ¶
Package skeletons provides skeleton components for various UI elements.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SkeletonText ¶
func SkeletonText(props SkeletonTextProps, children ...htmx.Node) htmx.Node
SkeletonText is a component that renders a skeleton text element.
Types ¶
type Props ¶
type Props struct {
// Width describes the width of the skeleton.
Width int
// Height describes the height of the skeleton.
Height int
// ClassNames are the additional class names for the skeleton.
htmx.ClassNames
}
Props is a struct that contains the props of the skeleton component.
type SkeletonTextProps ¶
type SkeletonTextProps struct {
htmx.ClassNames
}
SkeletonTextProps is a struct that contains the props of the skeleton text component.