Skip to content
CtrlK

ArdoHeroAction

On this page
import type { ArdoHeroAction } from "ardo/ui"

type ArdoHeroAction = {
    /** Button text */
    text: string;
    /** Link destination - internal route path or external URL */
    link: RoutePath;
    /** Visual theme: "brand" for primary, "alt" for secondary */
    theme?: "alt" | "brand";
    /** Optional icon as ReactNode (e.g. a Streamline Core component) */
    icon?: ReactNode;
};

Properties

NameTypeRequiredDescription
textstringYesButton text
linkRoutePathYesLink destination - internal route path or external URL
theme"alt" | "brand"NoVisual theme: "brand" for primary, "alt" for secondary
iconReactNodeNoOptional icon as ReactNode (e.g. a Streamline Core component)