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
| Name | Type | Required | Description |
|---|---|---|---|
text | string | Yes | Button text |
link | RoutePath | Yes | Link destination - internal route path or external URL |
theme | "alt" | "brand" | No | Visual theme: "brand" for primary, "alt" for secondary |
icon | ReactNode | No | Optional icon as ReactNode (e.g. a Streamline Core component) |