You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`variant="danger"`| Destructive actions (Delete, Remove, Rotate API Key) |`<Button variant="danger">Delete</Button>`|
39
39
|`variant="link"`| Link-style actions with no background or border (View Details, navigation-style CTAs) |`<Button variant="link">View Details</Button>`|
40
+
|`variant="subtle"`|**ActionIcon only.** Transparent background with hover highlight; for toolbar/utility icons that shouldn't draw attention until hovered (collapse toggles, close buttons, auxiliary controls) |`<ActionIcon variant="subtle">...</ActionIcon>`|
40
41
41
-
### DO NOT USE (Forbidden Patterns)
42
+
### Correct Usage
42
43
43
-
The following patterns are **NOT ALLOWED** for Button and ActionIcon:
**Link variant details**: Renders with no background, no border, and muted text color. On hover, text brightens to full contrast. Use for link-style CTAs that should blend into surrounding content (e.g., "View Details", "View Full Trace").
70
72
73
+
**Subtle variant details (ActionIcon only)**: Transparent background with standard text color. On hover, a subtle background highlight appears (`--color-bg-hover`). This is the **default** ActionIcon variant. Use for toolbar icons, collapse toggles, close buttons, and utility controls that should stay unobtrusive but reveal interactivity on hover. Unlike `link`, `subtle` shows a hover background rather than changing text color.
74
+
71
75
**Note**: `variant="filled"` is still valid for **form inputs** (Select, TextInput, etc.), just not for Button/ActionIcon.
0 commit comments