commerce

package
v0.0.0-...-b42d0f1 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2026 License: MIT Imports: 4 Imported by: 0

README

Commerce Elements

Copy this package as source when an application needs commerce controls.

Copy:

  • quantity_stepper.templ
  • price_range.templ

Do not copy generated files:

  • *_templ.go

After copying, run templ generate ./... and .ui8px checks in the destination app.

The package depends only on UI8Kit.

Documentation

Overview

templ: version: v0.3.1001

templ: version: v0.3.1001

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PriceRange

func PriceRange(props PriceRangeProps) templ.Component

func QuantityStepper

func QuantityStepper(props QuantityStepperProps) templ.Component

Types

type PriceRangeProps

type PriceRangeProps struct {
	Label    string
	MinLabel string
	MaxLabel string
	Value    string
}

type QuantityStepperProps

type QuantityStepperProps struct {
	Label      string
	Value      string
	MinusLabel string
	PlusLabel  string
}

Jump to

Keyboard shortcuts

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