Type InputGroupButtonSize

type InputGroupButtonSize uint8

InputGroupButtonSize selects the size of an InputGroupSlotButton, named as shadcn's InputGroupButton sizes are. The zero value is the default, xs.

Constants

const (
	// InputGroupButtonXS is the compact text button: 24 high at the default
	// density, with the icon (if any) before the text.
	InputGroupButtonXS InputGroupButtonSize = iota
	// InputGroupButtonSM is the 32 high text button (Button's small size);
	// inside a group of one control height it is limited to the room within
	// the border.
	InputGroupButtonSM
	// InputGroupButtonIconXS is the 24 pixel square icon button, the clear or
	// reveal button of a field.
	InputGroupButtonIconXS
	// InputGroupButtonIconSM is the 32 pixel square icon button (limited like
	// InputGroupButtonSM).
	InputGroupButtonIconSM
)