collapsible

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2026 License: MIT Imports: 2 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Arrow

func Arrow(p Props, children ...htmx.Node) htmx.Node

Arrow is a component that can be expanded and collapsed.

func Checkbox

func Checkbox(props CheckboxProps, children ...htmx.Node) htmx.Node

Checkbox is a component that can be expanded and collapsed.

func Collapse

func Collapse(props Props, children ...htmx.Node) htmx.Node

Collapse is a component that can be expanded and collapsed.

func Content

func Content(props ContentProps, children ...htmx.Node) htmx.Node

Content is a component that can be expanded and collapsed.

func Title

func Title(p TitleProps, children ...htmx.Node) htmx.Node

Title is a component that can be expanded and collapsed.

Types

type CheckboxProps

type CheckboxProps struct {
	Checked bool

	htmx.ClassNames
}

CheckboxProps is a component that can be expanded and collapsed.

type ContentProps

type ContentProps struct {
	htmx.ClassNames
}

ContentProps is a component that can be expanded and collapsed.

type Props

type Props struct {
	// TabIndex sets the tabindex attribute.
	TabIndex int

	htmx.ClassNames
}

Props is a component that can be expanded and collapsed.

type TitleProps

type TitleProps struct {
	htmx.ClassNames
}

TitleProps is a component that can be expanded and collapsed.

Jump to

Keyboard shortcuts

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