From a6e79ebacbcc06a96a627a94cb8117a2ffe0adbb Mon Sep 17 00:00:00 2001
From: Gildas Garcia <1122076+djhi@users.noreply.github.com>
Date: Wed, 24 Jun 2026 14:14:47 +0200
Subject: [PATCH] chore: delete `Button` `alternative` deprecated variant
(#47260)
## Problem
The `alternative` variant for `
-
+
Read full announcement
diff --git a/packages/ui/src/components/Button/Button.tsx b/packages/ui/src/components/Button/Button.tsx
index dc0572f1aa2..7cb817bc537 100644
--- a/packages/ui/src/components/Button/Button.tsx
+++ b/packages/ui/src/components/Button/Button.tsx
@@ -58,17 +58,6 @@ const buttonVariants = cva(
data-[state=open]:border-foreground-lighter
data-[state=open]:outline-border-strong
`,
- /** @deprecated use 'primary' instead */
- alternative: `
- text-foreground
- bg-brand-400 hover:bg-brand-500
- border-brand-500
- focus-visible:border-brand-500
- focus-visible:outline-brand-600
- data-[state=open]:bg-brand-500
- data-[state=open]:border-brand-500
- data-[state=open]:outline-brand-600
- `,
outline: `
text-foreground
bg-transparent