fab

package
v0.5.4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Button

func Button(p ButtonProps, children ...htmx.Node) htmx.Node

Button generates a button for the floating action button (FAB) based on the provided properties.

func Fab

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

Fab generates a floating action button (FAB) based on the provided properties.

Types

type ButtonProps

type ButtonProps struct {
	// TabIndex sets the tabindex attribute.
	TabIndex int
	// Role sets the role attribute.
	Role string

	htmx.ClassNames
}

ButtonProps represents the properties for a button inside the floating action button (FAB).

type Props

type Props struct {
	htmx.ClassNames
}

Props represents the properties for a floating action button (FAB).

Jump to

Keyboard shortcuts

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