scrollstrip

package
v0.0.39 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

templ: version: v0.3.977

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Card

func Card(props ...CardProps) templ.Component

Card renders a compact card item inside the scroll strip.

func ScrollStrip

func ScrollStrip(props ...Props) templ.Component

ScrollStrip renders a horizontal scrollable container for cards or items.

Types

type CardProps

type CardProps struct {
	ID         string
	Class      string
	Attributes templ.Attributes
	Active     bool
}

CardProps configures a single card inside the scroll strip.

type Props

type Props struct {
	ID         string
	Class      string
	Attributes templ.Attributes
	Title      string // optional section title above the strip
}

Props configures the scroll strip container.

Jump to

Keyboard shortcuts

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