---
url: "https://vueda.dev/v3/reference/api/js/utils/actionVariant/types/ActionVariantInput.md"
title: "ActionVariantInput"
---

# ActionVariantInput

## Properties

### actionDetail {#actionDetail}

The action's metadata, when available.

Type: [ActionInfo](/v3/reference/api/js/stores/storeModelInfo/types/ActionInfo.md)

Source: `client/lib/utils/actionVariant.js:42`

### actionName {#actionName}

The action / view name being rendered.

Type: `string`

Source: `client/lib/utils/actionVariant.js:41`

### emphasis {#emphasis}

Placement emphasis when not promoted; defaults to `outline`.

Type: `"fill" | "outline" | "ghost" | "link"`

Source: `client/lib/utils/actionVariant.js:45`

### primary {#primary}

Promote this action to the filled hero CTA for the current view.

Type: `boolean`

Source: `client/lib/utils/actionVariant.js:43`

### tone {#tone}

Explicit tone override; wins over the intrinsic tone.

Type: `"neutral" | "primary" | "destructive"`

Source: `client/lib/utils/actionVariant.js:44`

## Source

`client/lib/utils/actionVariant.js:40`
