Table of Contents

Interface IActionItem

Namespace
Htmx.Components.Models
Assembly
Htmx.Components.dll

Represents a visual item that can be displayed with a label, icon, and CSS styling. This interface forms the base for all actionable UI elements in the component system.

public interface IActionItem
Extension Methods

Properties

CssClass

Gets or sets the CSS class to apply to the action item for styling.

string? CssClass { get; set; }

Property Value

string

Icon

Gets or sets the CSS icon class for the action item (e.g., "fas fa-edit").

string? Icon { get; set; }

Property Value

string

Label

Gets or sets the display text for the action item.

string Label { get; set; }

Property Value

string