From e91e0cbe27be5033befd130ad6531179c0d4c795 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aar=C3=B3n=20Garc=C3=ADa=20Herv=C3=A1s?= Date: Mon, 13 Apr 2026 14:54:32 +0200 Subject: [PATCH 001/257] Remove TW theme font overrides --- docs/src/css/index.css | 45 ------------------------------------------ 1 file changed, 45 deletions(-) diff --git a/docs/src/css/index.css b/docs/src/css/index.css index f33f1542aed..fd469718acd 100644 --- a/docs/src/css/index.css +++ b/docs/src/css/index.css @@ -91,46 +91,6 @@ --font-sans: 'die grotesk a', system-ui, sans-serif; --font-sans-b: 'die grotesk b', system-ui, sans-serif; --font-serif: Georgia, 'Times New Roman', Times, 'Noto Serif', 'DejaVu Serif', serif; - - --text-xs: 0.8125rem; - --text-xs--line-height: 1.25rem; - --text-xs--letter-spacing: 0.001em; - - --text-sm: 0.875rem; - --text-sm--line-height: 1.25rem; - --text-sm--letter-spacing: 0.016em; - - --text-base: 1rem; - --text-base--line-height: 1.5rem; - --text-base--letter-spacing: 0em; - - --text-lg: 1.125rem; - --text-lg--line-height: 1.75rem; - --text-lg--letter-spacing: -0.0025em; - - --text-xl: 1.3125rem; - --text-xl--line-height: 1.625rem; - --text-xl--letter-spacing: -0.005em; - - --text-2xl: 1.5rem; - --text-2xl--line-height: 1.25; - --text-2xl--letter-spacing: -0.0125em; - - --text-3xl: 1.875rem; - --text-3xl--line-height: 1.2; - --text-3xl--letter-spacing: -0.015em; - - --text-4xl: 2.25rem; - --text-4xl--line-height: 2.5rem; - --text-4xl--letter-spacing: -0.015em; - - --text-5xl: 3rem; - --text-5xl--line-height: 1; - --text-5xl--letter-spacing: -0.015em; - - --text-6xl: 3.75rem; - --text-6xl--line-height: 0.95; - --text-6xl--letter-spacing: -0.015em; } /* ═══ Demo isolation ═══ */ @@ -150,11 +110,6 @@ [data-demo]:not([data-demo='tailwind']) * { all: revert-layer; } - - [data-demo='tailwind'] { - --text-sm--letter-spacing: 0em; - --text-md--letter-spacing: 0em; - } } /* ═══ Docs-only theme tokens ═══ */ From 21f15d8a945f7b79d60593bd5c1b50c73e8a1fd0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aar=C3=B3n=20Garc=C3=ADa=20Herv=C3=A1s?= Date: Tue, 14 Apr 2026 09:28:29 +0200 Subject: [PATCH 002/257] Remove negative letter-spacing instances from demos --- .../react/components/alert-dialog/demos/_index.module.css | 1 - .../alert-dialog/demos/hero/css-modules/index.module.css | 1 - .../combobox/demos/creatable/css-modules/index.module.css | 1 - .../app/(docs)/react/components/dialog/demos/_index.module.css | 1 - .../demos/close-confirmation/css-modules/index.module.css | 1 - .../components/dialog/demos/hero/css-modules/index.module.css | 1 - .../components/dialog/demos/nested/css-modules/index.module.css | 1 - .../components/drawer/demos/hero/css-modules/index.module.css | 1 - .../drawer/demos/indent-provider/css-modules/index.module.css | 1 - .../drawer/demos/mobile-nav/css-modules/index.module.css | 1 - .../components/drawer/demos/nested/css-modules/index.module.css | 1 - .../drawer/demos/non-modal/css-modules/index.module.css | 1 - .../drawer/demos/position/css-modules/index.module.css | 1 - .../drawer/demos/snap-points/css-modules/index.module.css | 1 - .../drawer/demos/swipe-area/css-modules/index.module.css | 1 - .../components/fieldset/demos/hero/css-modules/index.module.css | 1 - .../(private)/experiments/combobox/dialog-combobox.module.css | 1 - .../(private)/experiments/drawer/cross-axis-scroll.module.css | 1 - .../src/app/(private)/experiments/mobile-scroll-lock.module.css | 1 - .../(private)/experiments/popups/popups-in-popups.module.css | 2 -- 20 files changed, 21 deletions(-) diff --git a/docs/src/app/(docs)/react/components/alert-dialog/demos/_index.module.css b/docs/src/app/(docs)/react/components/alert-dialog/demos/_index.module.css index 5a951b645d6..254424a9378 100644 --- a/docs/src/app/(docs)/react/components/alert-dialog/demos/_index.module.css +++ b/docs/src/app/(docs)/react/components/alert-dialog/demos/_index.module.css @@ -92,7 +92,6 @@ margin-bottom: 0.25rem; font-size: 1.125rem; line-height: 1.75rem; - letter-spacing: -0.0025em; font-weight: 700; } diff --git a/docs/src/app/(docs)/react/components/alert-dialog/demos/hero/css-modules/index.module.css b/docs/src/app/(docs)/react/components/alert-dialog/demos/hero/css-modules/index.module.css index 0ced260ed99..174c2966cc2 100644 --- a/docs/src/app/(docs)/react/components/alert-dialog/demos/hero/css-modules/index.module.css +++ b/docs/src/app/(docs)/react/components/alert-dialog/demos/hero/css-modules/index.module.css @@ -92,7 +92,6 @@ margin-bottom: 0.25rem; font-size: 1.125rem; line-height: 1.75rem; - letter-spacing: -0.0025em; font-weight: 700; } diff --git a/docs/src/app/(docs)/react/components/combobox/demos/creatable/css-modules/index.module.css b/docs/src/app/(docs)/react/components/combobox/demos/creatable/css-modules/index.module.css index 30b3eb7e909..156330ce4a6 100644 --- a/docs/src/app/(docs)/react/components/combobox/demos/creatable/css-modules/index.module.css +++ b/docs/src/app/(docs)/react/components/combobox/demos/creatable/css-modules/index.module.css @@ -286,7 +286,6 @@ margin-bottom: 0.25rem; font-size: 1.125rem; line-height: 1.75rem; - letter-spacing: -0.0025em; font-weight: 700; } diff --git a/docs/src/app/(docs)/react/components/dialog/demos/_index.module.css b/docs/src/app/(docs)/react/components/dialog/demos/_index.module.css index 1333505dec0..0c9cf47d5a6 100644 --- a/docs/src/app/(docs)/react/components/dialog/demos/_index.module.css +++ b/docs/src/app/(docs)/react/components/dialog/demos/_index.module.css @@ -88,7 +88,6 @@ margin-bottom: 0.25rem; font-size: 1.125rem; line-height: 1.75rem; - letter-spacing: -0.0025em; font-weight: 700; } diff --git a/docs/src/app/(docs)/react/components/dialog/demos/close-confirmation/css-modules/index.module.css b/docs/src/app/(docs)/react/components/dialog/demos/close-confirmation/css-modules/index.module.css index 78fb16a8762..050d5dbd325 100644 --- a/docs/src/app/(docs)/react/components/dialog/demos/close-confirmation/css-modules/index.module.css +++ b/docs/src/app/(docs)/react/components/dialog/demos/close-confirmation/css-modules/index.module.css @@ -100,7 +100,6 @@ margin-bottom: 0.25rem; font-size: 1.125rem; line-height: 1.75rem; - letter-spacing: -0.0025em; font-weight: 700; } diff --git a/docs/src/app/(docs)/react/components/dialog/demos/hero/css-modules/index.module.css b/docs/src/app/(docs)/react/components/dialog/demos/hero/css-modules/index.module.css index d9b961bd89a..ca1b5d7f685 100644 --- a/docs/src/app/(docs)/react/components/dialog/demos/hero/css-modules/index.module.css +++ b/docs/src/app/(docs)/react/components/dialog/demos/hero/css-modules/index.module.css @@ -90,7 +90,6 @@ margin-bottom: 0.25rem; font-size: 1.125rem; line-height: 1.75rem; - letter-spacing: -0.0025em; font-weight: 700; } diff --git a/docs/src/app/(docs)/react/components/dialog/demos/nested/css-modules/index.module.css b/docs/src/app/(docs)/react/components/dialog/demos/nested/css-modules/index.module.css index edb5745928b..2da1423743a 100644 --- a/docs/src/app/(docs)/react/components/dialog/demos/nested/css-modules/index.module.css +++ b/docs/src/app/(docs)/react/components/dialog/demos/nested/css-modules/index.module.css @@ -144,7 +144,6 @@ margin-bottom: 0.25rem; font-size: 1.125rem; line-height: 1.75rem; - letter-spacing: -0.0025em; font-weight: 700; } diff --git a/docs/src/app/(docs)/react/components/drawer/demos/hero/css-modules/index.module.css b/docs/src/app/(docs)/react/components/drawer/demos/hero/css-modules/index.module.css index ae39c518f54..6b089d85d70 100644 --- a/docs/src/app/(docs)/react/components/drawer/demos/hero/css-modules/index.module.css +++ b/docs/src/app/(docs)/react/components/drawer/demos/hero/css-modules/index.module.css @@ -135,7 +135,6 @@ margin-bottom: 0.25rem; font-size: 1.125rem; line-height: 1.75rem; - letter-spacing: -0.0025em; font-weight: 700; } diff --git a/docs/src/app/(docs)/react/components/drawer/demos/indent-provider/css-modules/index.module.css b/docs/src/app/(docs)/react/components/drawer/demos/indent-provider/css-modules/index.module.css index f0f675ed925..7d965c62fb0 100644 --- a/docs/src/app/(docs)/react/components/drawer/demos/indent-provider/css-modules/index.module.css +++ b/docs/src/app/(docs)/react/components/drawer/demos/indent-provider/css-modules/index.module.css @@ -176,7 +176,6 @@ margin-bottom: 0.25rem; font-size: 1.125rem; line-height: 1.75rem; - letter-spacing: -0.0025em; font-weight: 700; text-align: center; } diff --git a/docs/src/app/(docs)/react/components/drawer/demos/mobile-nav/css-modules/index.module.css b/docs/src/app/(docs)/react/components/drawer/demos/mobile-nav/css-modules/index.module.css index 6e5596d6007..531943ce478 100644 --- a/docs/src/app/(docs)/react/components/drawer/demos/mobile-nav/css-modules/index.module.css +++ b/docs/src/app/(docs)/react/components/drawer/demos/mobile-nav/css-modules/index.module.css @@ -228,7 +228,6 @@ margin: 0 0 0.25rem; font-size: 1.125rem; line-height: 1.75rem; - letter-spacing: -0.0025em; font-weight: 700; } diff --git a/docs/src/app/(docs)/react/components/drawer/demos/nested/css-modules/index.module.css b/docs/src/app/(docs)/react/components/drawer/demos/nested/css-modules/index.module.css index eed70eea366..a21b03b8ef7 100644 --- a/docs/src/app/(docs)/react/components/drawer/demos/nested/css-modules/index.module.css +++ b/docs/src/app/(docs)/react/components/drawer/demos/nested/css-modules/index.module.css @@ -239,7 +239,6 @@ margin-bottom: 0.25rem; font-size: 1.125rem; line-height: 1.75rem; - letter-spacing: -0.0025em; font-weight: 700; text-align: center; } diff --git a/docs/src/app/(docs)/react/components/drawer/demos/non-modal/css-modules/index.module.css b/docs/src/app/(docs)/react/components/drawer/demos/non-modal/css-modules/index.module.css index f4180f58a6f..2c532940f2e 100644 --- a/docs/src/app/(docs)/react/components/drawer/demos/non-modal/css-modules/index.module.css +++ b/docs/src/app/(docs)/react/components/drawer/demos/non-modal/css-modules/index.module.css @@ -145,7 +145,6 @@ margin-bottom: 0.25rem; font-size: 1.125rem; line-height: 1.75rem; - letter-spacing: -0.0025em; font-weight: 700; } diff --git a/docs/src/app/(docs)/react/components/drawer/demos/position/css-modules/index.module.css b/docs/src/app/(docs)/react/components/drawer/demos/position/css-modules/index.module.css index 976f255ea0d..1521aa7f0aa 100644 --- a/docs/src/app/(docs)/react/components/drawer/demos/position/css-modules/index.module.css +++ b/docs/src/app/(docs)/react/components/drawer/demos/position/css-modules/index.module.css @@ -126,7 +126,6 @@ margin-bottom: 0.25rem; font-size: 1.125rem; line-height: 1.75rem; - letter-spacing: -0.0025em; font-weight: 700; text-align: center; } diff --git a/docs/src/app/(docs)/react/components/drawer/demos/snap-points/css-modules/index.module.css b/docs/src/app/(docs)/react/components/drawer/demos/snap-points/css-modules/index.module.css index 66db4cbbb04..18228a3458b 100644 --- a/docs/src/app/(docs)/react/components/drawer/demos/snap-points/css-modules/index.module.css +++ b/docs/src/app/(docs)/react/components/drawer/demos/snap-points/css-modules/index.module.css @@ -167,7 +167,6 @@ margin: 0; font-size: 1.125rem; line-height: 1.75rem; - letter-spacing: -0.0025em; font-weight: 700; text-align: center; cursor: default; diff --git a/docs/src/app/(docs)/react/components/drawer/demos/swipe-area/css-modules/index.module.css b/docs/src/app/(docs)/react/components/drawer/demos/swipe-area/css-modules/index.module.css index 34ce64366dd..1ffd125dedd 100644 --- a/docs/src/app/(docs)/react/components/drawer/demos/swipe-area/css-modules/index.module.css +++ b/docs/src/app/(docs)/react/components/drawer/demos/swipe-area/css-modules/index.module.css @@ -194,7 +194,6 @@ margin-bottom: 0.25rem; font-size: 1.125rem; line-height: 1.75rem; - letter-spacing: -0.0025em; font-weight: 700; } diff --git a/docs/src/app/(docs)/react/components/fieldset/demos/hero/css-modules/index.module.css b/docs/src/app/(docs)/react/components/fieldset/demos/hero/css-modules/index.module.css index d32e4a07f26..c1ca2c9a3fa 100644 --- a/docs/src/app/(docs)/react/components/fieldset/demos/hero/css-modules/index.module.css +++ b/docs/src/app/(docs)/react/components/fieldset/demos/hero/css-modules/index.module.css @@ -15,7 +15,6 @@ font-weight: 700; font-size: 1.125rem; line-height: 1.75rem; - letter-spacing: -0.0025em; color: var(--color-gray-900); } diff --git a/docs/src/app/(private)/experiments/combobox/dialog-combobox.module.css b/docs/src/app/(private)/experiments/combobox/dialog-combobox.module.css index 3fdd39c641b..2edae647bd8 100644 --- a/docs/src/app/(private)/experiments/combobox/dialog-combobox.module.css +++ b/docs/src/app/(private)/experiments/combobox/dialog-combobox.module.css @@ -91,7 +91,6 @@ margin-bottom: 0.25rem; font-size: 1.125rem; line-height: 1.75rem; - letter-spacing: -0.0025em; font-weight: 500; } diff --git a/docs/src/app/(private)/experiments/drawer/cross-axis-scroll.module.css b/docs/src/app/(private)/experiments/drawer/cross-axis-scroll.module.css index 53332400934..6bb9c880ce9 100644 --- a/docs/src/app/(private)/experiments/drawer/cross-axis-scroll.module.css +++ b/docs/src/app/(private)/experiments/drawer/cross-axis-scroll.module.css @@ -10,7 +10,6 @@ margin: 0; font-size: 1.5rem; line-height: 2rem; - letter-spacing: -0.01em; } .Description { diff --git a/docs/src/app/(private)/experiments/mobile-scroll-lock.module.css b/docs/src/app/(private)/experiments/mobile-scroll-lock.module.css index 7d75dec8d5c..2852a2a2cb5 100644 --- a/docs/src/app/(private)/experiments/mobile-scroll-lock.module.css +++ b/docs/src/app/(private)/experiments/mobile-scroll-lock.module.css @@ -82,7 +82,6 @@ margin-bottom: 0.25rem; font-size: 1.125rem; line-height: 1.75rem; - letter-spacing: -0.0025em; font-weight: 500; } diff --git a/docs/src/app/(private)/experiments/popups/popups-in-popups.module.css b/docs/src/app/(private)/experiments/popups/popups-in-popups.module.css index 547ea019dcf..fe720c91be3 100644 --- a/docs/src/app/(private)/experiments/popups/popups-in-popups.module.css +++ b/docs/src/app/(private)/experiments/popups/popups-in-popups.module.css @@ -122,7 +122,6 @@ margin-bottom: 0.25rem; font-size: 1.125rem; line-height: 1.75rem; - letter-spacing: -0.0025em; font-weight: 500; } @@ -236,7 +235,6 @@ margin-bottom: 0.25rem; font-size: 1.125rem; line-height: 1.75rem; - letter-spacing: -0.0025em; font-weight: 500; text-align: center; } From 5761d12a612f2b7dfed3a4aa87a332bf1e425508 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aar=C3=B3n=20Garc=C3=ADa=20Herv=C3=A1s?= Date: Tue, 14 Apr 2026 09:28:50 +0200 Subject: [PATCH 003/257] Equate letter-spacing in TW demo --- .../components/autocomplete/demos/grouped/tailwind/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/app/(docs)/react/components/autocomplete/demos/grouped/tailwind/index.tsx b/docs/src/app/(docs)/react/components/autocomplete/demos/grouped/tailwind/index.tsx index 80ffb03bedb..312a09c529e 100644 --- a/docs/src/app/(docs)/react/components/autocomplete/demos/grouped/tailwind/index.tsx +++ b/docs/src/app/(docs)/react/components/autocomplete/demos/grouped/tailwind/index.tsx @@ -23,7 +23,7 @@ export default function ExampleGroupAutocomplete() { {(group: TagGroup) => ( - + {group.value} From 82f0ab817f81dfe89e6a04a3d354c5c593dde4ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aar=C3=B3n=20Garc=C3=ADa=20Herv=C3=A1s?= Date: Tue, 14 Apr 2026 16:48:51 +0200 Subject: [PATCH 004/257] Move Die Grotesk B outside Tailwind's theme definition --- docs/src/css/index.css | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/src/css/index.css b/docs/src/css/index.css index fd469718acd..ad425023d74 100644 --- a/docs/src/css/index.css +++ b/docs/src/css/index.css @@ -89,7 +89,6 @@ /* Typography */ --font-mono: 'Paper Mono', monospace; --font-sans: 'die grotesk a', system-ui, sans-serif; - --font-sans-b: 'die grotesk b', system-ui, sans-serif; --font-serif: Georgia, 'Times New Roman', Times, 'Noto Serif', 'DejaVu Serif', serif; } @@ -169,6 +168,9 @@ --color-green: oklch(46% 30% 150deg); --color-violet: oklch(40% 60% 300deg); + /* Font family */ + --font-sans-b: 'die grotesk b', system-ui, sans-serif; + /* Font size */ --font-size-13: 0.8125rem; /* 13px */ --font-size-14: 0.875rem; /* 14px */ From 0c1d7a5c969014a4afa712daea3f1f1fb8be5aa7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aar=C3=B3n=20Garc=C3=ADa=20Herv=C3=A1s?= Date: Tue, 14 Apr 2026 17:15:11 +0200 Subject: [PATCH 005/257] Equate font-sizes in CSS modules demos with Tailwind counterpart --- .../select/demos/object-values/css-modules/index.module.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/src/app/(docs)/react/components/select/demos/object-values/css-modules/index.module.css b/docs/src/app/(docs)/react/components/select/demos/object-values/css-modules/index.module.css index c612b0fe32f..4be68eeffe5 100644 --- a/docs/src/app/(docs)/react/components/select/demos/object-values/css-modules/index.module.css +++ b/docs/src/app/(docs)/react/components/select/demos/object-values/css-modules/index.module.css @@ -65,7 +65,7 @@ } .ValueSecondary { - font-size: 0.825rem; + font-size: 0.75rem; line-height: 1rem; color: var(--color-gray-600); } @@ -205,7 +205,7 @@ } .ItemDescription { - font-size: 0.825rem; + font-size: 0.75rem; line-height: 1rem; opacity: 0.8; } From ede34e12443cd1d8c722a7e40b9e7a5d6442b3b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aar=C3=B3n=20Garc=C3=ADa=20Herv=C3=A1s?= Date: Thu, 16 Apr 2026 15:13:13 +0200 Subject: [PATCH 006/257] Remove unused styles --- .../multiple/css-modules/index.module.css | 30 ------------------- 1 file changed, 30 deletions(-) diff --git a/docs/src/app/(docs)/react/components/combobox/demos/multiple/css-modules/index.module.css b/docs/src/app/(docs)/react/components/combobox/demos/multiple/css-modules/index.module.css index 57548773b57..b28a83c31f6 100644 --- a/docs/src/app/(docs)/react/components/combobox/demos/multiple/css-modules/index.module.css +++ b/docs/src/app/(docs)/react/components/combobox/demos/multiple/css-modules/index.module.css @@ -122,36 +122,6 @@ } } -.Trigger { - box-sizing: border-box; - position: absolute; - right: 0.75rem; - display: flex; - align-items: center; - justify-content: center; - width: 1.5rem; - height: 1.5rem; - border: none; - background: none; - color: var(--color-gray-500); - border-radius: 0.25rem; - - &:hover { - color: var(--color-gray-700); - background-color: var(--color-gray-100); - } - - &:focus { - outline: 2px solid var(--color-blue-500); - outline-offset: 2px; - } -} - -.TriggerIcon { - width: 1rem; - height: 1rem; -} - .Positioner { outline: 0; z-index: 50; From 1deff58ab356e4b6e41113dcd67c91dd33e9dade Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aar=C3=B3n=20Garc=C3=ADa=20Herv=C3=A1s?= Date: Fri, 17 Apr 2026 08:58:23 +0200 Subject: [PATCH 007/257] Remove custom TW color palette --- .../toast/demos/hero/tailwind/index.tsx | 2 +- .../toast/demos/position/tailwind/index.tsx | 2 +- docs/src/css/index.css | 45 +++++++++---------- docs/src/demo-data/theme/css-modules/index.ts | 5 --- docs/src/demo-data/theme/index.ts | 7 --- docs/src/utils/createDemo.ts | 5 --- docs/src/utils/demoExportOptions.ts | 35 +++------------ 7 files changed, 29 insertions(+), 72 deletions(-) delete mode 100644 docs/src/demo-data/theme/css-modules/index.ts delete mode 100644 docs/src/demo-data/theme/index.ts diff --git a/docs/src/app/(docs)/react/components/toast/demos/hero/tailwind/index.tsx b/docs/src/app/(docs)/react/components/toast/demos/hero/tailwind/index.tsx index da9be0ed7ea..a3fc4128812 100644 --- a/docs/src/app/(docs)/react/components/toast/demos/hero/tailwind/index.tsx +++ b/docs/src/app/(docs)/react/components/toast/demos/hero/tailwind/index.tsx @@ -30,7 +30,7 @@ function ToastButton() { return ( ); diff --git a/docs/src/app/(docs)/react/components/button/demos/loading/css-modules/index.module.css b/docs/src/app/(docs)/react/components/button/demos/loading/css-modules/index.module.css index 67d48898127..16f5e03f3e1 100644 --- a/docs/src/app/(docs)/react/components/button/demos/loading/css-modules/index.module.css +++ b/docs/src/app/(docs)/react/components/button/demos/loading/css-modules/index.module.css @@ -3,38 +3,36 @@ display: flex; align-items: center; justify-content: center; - height: 2.5rem; + height: 2rem; padding: 0 0.875rem; margin: 0; - outline: 0; - border: 1px solid var(--color-gray-200); - border-radius: 0.375rem; - background-color: var(--color-gray-50); + border: none; + border-radius: 0; + background-color: light-dark(var(--color-gray-200), var(--color-gray-800)); font-family: inherit; - font-size: 1rem; + font-size: 0.875rem; font-weight: 400; line-height: 1.5rem; - color: var(--color-gray-900); + color: light-dark(var(--color-gray-900), var(--color-gray-50)); user-select: none; @media (hover: hover) { &:hover:not([data-disabled]) { - background-color: var(--color-gray-100); + background-color: light-dark(var(--color-gray-300), var(--color-gray-700)); } } &:active:not([data-disabled]) { - background-color: var(--color-gray-200); - box-shadow: inset 0 1px 3px var(--color-gray-200); - border-top-color: var(--color-gray-300); + background-color: light-dark(var(--color-gray-400), var(--color-gray-600)); } &:focus-visible { - outline: 2px solid var(--color-blue); - outline-offset: -1px; + outline-width: 2px; + outline-style: solid; + outline-offset: 2px; } &[data-disabled] { - color: var(--color-gray-500); + color: light-dark(var(--color-gray-500), var(--color-gray-400)); } } diff --git a/docs/src/app/(docs)/react/components/button/demos/loading/tailwind/index.tsx b/docs/src/app/(docs)/react/components/button/demos/loading/tailwind/index.tsx index 4656d339c7f..59cc4fe48ad 100644 --- a/docs/src/app/(docs)/react/components/button/demos/loading/tailwind/index.tsx +++ b/docs/src/app/(docs)/react/components/button/demos/loading/tailwind/index.tsx @@ -7,7 +7,7 @@ export default function ExampleButton() { return ( ); diff --git a/docs/src/app/(docs)/react/components/button/demos/loading/css-modules/index.module.css b/docs/src/app/(docs)/react/components/button/demos/loading/css-modules/index.module.css index 16f5e03f3e1..a5787eedc75 100644 --- a/docs/src/app/(docs)/react/components/button/demos/loading/css-modules/index.module.css +++ b/docs/src/app/(docs)/react/components/button/demos/loading/css-modules/index.module.css @@ -22,10 +22,6 @@ } } - &:active:not([data-disabled]) { - background-color: light-dark(var(--color-gray-400), var(--color-gray-600)); - } - &:focus-visible { outline-width: 2px; outline-style: solid; diff --git a/docs/src/app/(docs)/react/components/button/demos/loading/tailwind/index.tsx b/docs/src/app/(docs)/react/components/button/demos/loading/tailwind/index.tsx index 59cc4fe48ad..f15ab19b55b 100644 --- a/docs/src/app/(docs)/react/components/button/demos/loading/tailwind/index.tsx +++ b/docs/src/app/(docs)/react/components/button/demos/loading/tailwind/index.tsx @@ -7,7 +7,7 @@ export default function ExampleButton() { return ( - ); - } - + { + if (state.pressed) { return ( ); - }} - /> - + } + + return ( + + ); + }} + /> ); } diff --git a/docs/src/app/(docs)/react/components/toolbar/demos/hero/tailwind/index.tsx b/docs/src/app/(docs)/react/components/toolbar/demos/hero/tailwind/index.tsx index fdd6b779292..588c6957673 100644 --- a/docs/src/app/(docs)/react/components/toolbar/demos/hero/tailwind/index.tsx +++ b/docs/src/app/(docs)/react/components/toolbar/demos/hero/tailwind/index.tsx @@ -12,7 +12,7 @@ export default function ExampleToolbar() { render={} aria-label="Align left" value="align-left" - className="flex h-8 items-center justify-center rounded-xs px-[0.75rem] font-[inherit] text-sm font-normal text-gray-600 select-none hover:bg-gray-100 focus-visible:bg-none focus-visible:outline-2 focus-visible:-outline-offset-1 focus-visible:outline-blue-800 active:bg-gray-200 data-[pressed]:bg-gray-100 data-[pressed]:text-gray-900" + className="flex h-8 items-center justify-center rounded-xs px-[0.75rem] font-[inherit] text-sm font-normal text-gray-600 select-none hover:bg-gray-100 focus-visible:bg-none focus-visible:outline-2 focus-visible:-outline-offset-1 focus-visible:outline-blue-800 active:bg-gray-200 data-pressed:bg-gray-100 data-pressed:text-gray-900" > Align Left @@ -20,7 +20,7 @@ export default function ExampleToolbar() { render={} aria-label="Align right" value="align-right" - className="flex h-8 items-center justify-center rounded-xs px-[0.75rem] font-[inherit] text-sm font-normal text-gray-600 select-none hover:bg-gray-100 focus-visible:bg-none focus-visible:outline-2 focus-visible:-outline-offset-1 focus-visible:outline-blue-800 active:bg-gray-200 data-[pressed]:bg-gray-100 data-[pressed]:text-gray-900" + className="flex h-8 items-center justify-center rounded-xs px-[0.75rem] font-[inherit] text-sm font-normal text-gray-600 select-none hover:bg-gray-100 focus-visible:bg-none focus-visible:outline-2 focus-visible:-outline-offset-1 focus-visible:outline-blue-800 active:bg-gray-200 data-pressed:bg-gray-100 data-pressed:text-gray-900" > Align Right @@ -28,13 +28,13 @@ export default function ExampleToolbar() { $ % From 3cbdbf812d6800d9d767ef94745ae4820f3e1823 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aar=C3=B3n=20Garc=C3=ADa=20Herv=C3=A1s?= Date: Wed, 22 Apr 2026 12:13:06 +0200 Subject: [PATCH 017/257] Accordion brutalist --- .../accordion/demos/_index.module.css | 56 ++++++++----------- .../demos/hero/css-modules/index.tsx | 5 +- .../accordion/demos/hero/tailwind/index.tsx | 37 ++++++------ .../demos/multiple/css-modules/index.tsx | 5 +- .../demos/multiple/tailwind/index.tsx | 37 ++++++------ 5 files changed, 67 insertions(+), 73 deletions(-) diff --git a/docs/src/app/(docs)/react/components/accordion/demos/_index.module.css b/docs/src/app/(docs)/react/components/accordion/demos/_index.module.css index 002f68bc865..6cc7c905e22 100644 --- a/docs/src/app/(docs)/react/components/accordion/demos/_index.module.css +++ b/docs/src/app/(docs)/react/components/accordion/demos/_index.module.css @@ -1,15 +1,11 @@ .Accordion { box-sizing: border-box; display: flex; - width: 24rem; - max-width: calc(100vw - 8rem); + width: 20rem; + max-width: 100%; flex-direction: column; - justify-content: center; - color: var(--color-gray-900); -} - -.Item { - border-bottom: 1px solid var(--color-gray-200); + border-bottom: 1px solid light-dark(var(--color-gray-900), var(--color-gray-50)); + color: light-dark(var(--color-gray-900), var(--color-gray-50)); } .Header { @@ -18,32 +14,28 @@ .Trigger { box-sizing: border-box; - position: relative; display: flex; width: 100%; - gap: 1rem; - align-items: baseline; + align-items: center; justify-content: space-between; - padding-block: 0.5rem; - padding-inline: 0.75rem 0.25rem; - color: var(--color-gray-900); + gap: 1rem; + padding: 0.5rem 0; + margin: 0; + border: none; + border-top: 1px solid light-dark(var(--color-gray-900), var(--color-gray-50)); + border-radius: 0; + background-color: transparent; + color: light-dark(var(--color-gray-900), var(--color-gray-50)); font-family: inherit; + font-size: 0.875rem; font-weight: 400; - font-size: 1rem; - line-height: 1.5rem; - background: var(--color-gray-50); - border: none; - outline: none; + line-height: 1.25rem; text-align: left; - - @media (hover: hover) { - &:hover { - background-color: var(--color-gray-100); - } - } + user-select: none; &:focus-visible { - outline: 2px solid var(--color-blue); + outline-width: 2px; + outline-style: solid; z-index: 1; } } @@ -53,11 +45,10 @@ flex-shrink: 0; width: 0.75rem; height: 0.75rem; - margin-right: 0.5rem; - transition: transform 150ms ease-out; + transition: transform 100ms ease-out; [data-panel-open] > & { - transform: rotate(45deg) scale(1.1); + transform: rotate(45deg); } } @@ -65,9 +56,8 @@ box-sizing: border-box; height: var(--accordion-panel-height); overflow: hidden; - color: var(--color-gray-600); - font-size: 1rem; - line-height: 1.5rem; + font-size: 0.875rem; + line-height: 1.25rem; transition: height 150ms ease-out; &[data-starting-style], @@ -77,5 +67,5 @@ } .Content { - padding: 0.75rem; + padding: 0.5rem 0; } diff --git a/docs/src/app/(docs)/react/components/accordion/demos/hero/css-modules/index.tsx b/docs/src/app/(docs)/react/components/accordion/demos/hero/css-modules/index.tsx index d60c7c3e6c2..e18100da67e 100644 --- a/docs/src/app/(docs)/react/components/accordion/demos/hero/css-modules/index.tsx +++ b/docs/src/app/(docs)/react/components/accordion/demos/hero/css-modules/index.tsx @@ -52,8 +52,9 @@ export default function ExampleAccordion() { function PlusIcon(props: React.ComponentProps<'svg'>) { return ( - - + + + ); } diff --git a/docs/src/app/(docs)/react/components/accordion/demos/hero/tailwind/index.tsx b/docs/src/app/(docs)/react/components/accordion/demos/hero/tailwind/index.tsx index df4ac5bf32e..625e89ab46a 100644 --- a/docs/src/app/(docs)/react/components/accordion/demos/hero/tailwind/index.tsx +++ b/docs/src/app/(docs)/react/components/accordion/demos/hero/tailwind/index.tsx @@ -3,46 +3,46 @@ import { Accordion } from '@base-ui/react/accordion'; export default function ExampleAccordion() { return ( - - + + - + What is Base UI? - + - -
+ +
Base UI is a library of high-quality unstyled React components for design systems and web apps.
- + - + How do I get started? - + - -
+ +
Head to the “Quick start” guide in the docs. If you’ve used unstyled libraries before, you’ll feel at home.
- + - + Can I use it for my project? - + - -
Of course! Base UI is free and open source.
+ +
Of course! Base UI is free and open source.
@@ -51,8 +51,9 @@ export default function ExampleAccordion() { function PlusIcon(props: React.ComponentProps<'svg'>) { return ( - - + + + ); } diff --git a/docs/src/app/(docs)/react/components/accordion/demos/multiple/css-modules/index.tsx b/docs/src/app/(docs)/react/components/accordion/demos/multiple/css-modules/index.tsx index 0ab74c0a935..564ab43b5c8 100644 --- a/docs/src/app/(docs)/react/components/accordion/demos/multiple/css-modules/index.tsx +++ b/docs/src/app/(docs)/react/components/accordion/demos/multiple/css-modules/index.tsx @@ -52,8 +52,9 @@ export default function ExampleAccordion() { function PlusIcon(props: React.ComponentProps<'svg'>) { return ( - - + + + ); } diff --git a/docs/src/app/(docs)/react/components/accordion/demos/multiple/tailwind/index.tsx b/docs/src/app/(docs)/react/components/accordion/demos/multiple/tailwind/index.tsx index 922d0761478..ad20b344111 100644 --- a/docs/src/app/(docs)/react/components/accordion/demos/multiple/tailwind/index.tsx +++ b/docs/src/app/(docs)/react/components/accordion/demos/multiple/tailwind/index.tsx @@ -5,47 +5,47 @@ export default function ExampleAccordion() { return ( - + - + What is Base UI? - + - -
+ +
Base UI is a library of high-quality unstyled React components for design systems and web apps.
- + - + How do I get started? - + - -
+ +
Head to the “Quick start” guide in the docs. If you’ve used unstyled libraries before, you’ll feel at home.
- + - + Can I use it for my project? - + - -
Of course! Base UI is free and open source.
+ +
Of course! Base UI is free and open source.
@@ -54,8 +54,9 @@ export default function ExampleAccordion() { function PlusIcon(props: React.ComponentProps<'svg'>) { return ( - - + + + ); } From 884255fbbf03be7fe9c94cdf08b7f5392547b17b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aar=C3=B3n=20Garc=C3=ADa=20Herv=C3=A1s?= Date: Wed, 22 Apr 2026 12:17:13 +0200 Subject: [PATCH 018/257] Toggle: adjust icon size --- .../components/toggle/demos/hero/css-modules/index.module.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/src/app/(docs)/react/components/toggle/demos/hero/css-modules/index.module.css b/docs/src/app/(docs)/react/components/toggle/demos/hero/css-modules/index.module.css index e5c8c10a2aa..a310f786d2c 100644 --- a/docs/src/app/(docs)/react/components/toggle/demos/hero/css-modules/index.module.css +++ b/docs/src/app/(docs)/react/components/toggle/demos/hero/css-modules/index.module.css @@ -31,6 +31,6 @@ } .Icon { - width: 1.25rem; - height: 1.25rem; + width: 1rem; + height: 1rem; } From 23c49e4cb9764c786ea4b601614f4e6256f66c83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aar=C3=B3n=20Garc=C3=ADa=20Herv=C3=A1s?= Date: Wed, 22 Apr 2026 12:24:15 +0200 Subject: [PATCH 019/257] Toggle: adjust icon size --- .../react/components/toggle/demos/hero/tailwind/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/src/app/(docs)/react/components/toggle/demos/hero/tailwind/index.tsx b/docs/src/app/(docs)/react/components/toggle/demos/hero/tailwind/index.tsx index 2cd91748007..67ca2b6a04a 100644 --- a/docs/src/app/(docs)/react/components/toggle/demos/hero/tailwind/index.tsx +++ b/docs/src/app/(docs)/react/components/toggle/demos/hero/tailwind/index.tsx @@ -11,14 +11,14 @@ export default function ExampleToggle() { if (state.pressed) { return ( ); } return ( ); }} From 9058b90114e2da1c4293b9626c70dfd711005e05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aar=C3=B3n=20Garc=C3=ADa=20Herv=C3=A1s?= Date: Wed, 22 Apr 2026 12:58:37 +0200 Subject: [PATCH 020/257] mergeProps brutalist --- .../css-modules/index.module.css | 74 +++++++------------ .../css-modules/index.tsx | 34 ++++----- 2 files changed, 42 insertions(+), 66 deletions(-) diff --git a/docs/src/app/(docs)/react/utils/merge-props/demos/prevent-base-ui-handler/css-modules/index.module.css b/docs/src/app/(docs)/react/utils/merge-props/demos/prevent-base-ui-handler/css-modules/index.module.css index 34d90ef0cb0..694e1908ba8 100644 --- a/docs/src/app/(docs)/react/utils/merge-props/demos/prevent-base-ui-handler/css-modules/index.module.css +++ b/docs/src/app/(docs)/react/utils/merge-props/demos/prevent-base-ui-handler/css-modules/index.module.css @@ -7,25 +7,16 @@ .ToggleRow { display: flex; align-items: center; - gap: 0.75rem; + gap: 0.5rem; } .Label { - font-size: 1rem; + font-size: 0.875rem; line-height: 1.5rem; - color: var(--color-gray-900); + color: light-dark(var(--color-gray-900), var(--color-gray-50)); } -.Panel { - display: flex; - gap: 1px; - border: 1px solid var(--color-gray-200); - background-color: var(--color-gray-50); - border-radius: 0.375rem; - padding: 0.125rem; -} - -.Button { +.Toggle { box-sizing: border-box; display: flex; align-items: center; @@ -34,70 +25,57 @@ height: 2rem; padding: 0; margin: 0; - outline: 0; - border: 0; - border-radius: 0.25rem; + border: none; + border-radius: 0; background-color: transparent; - color: var(--color-gray-600); + color: light-dark(var(--color-gray-900), var(--color-gray-50)); user-select: none; - &:focus-visible { - background-color: transparent; - outline: 2px solid var(--color-blue); - outline-offset: -1px; - } - @media (hover: hover) { - &:hover { - background-color: var(--color-gray-100); + &:hover:not([data-disabled]) { + background-color: light-dark(var(--color-gray-100), var(--color-gray-800)); } } - &:active { - background-color: var(--color-gray-200); - } - - &[data-pressed] { - color: var(--color-gray-900); + &:focus-visible { + outline-width: 2px; + outline-style: solid; + outline-offset: 2px; } } .Icon { - width: 1.25rem; - height: 1.25rem; + width: 1rem; + height: 1rem; } -.LockButton { +.Button { box-sizing: border-box; display: flex; align-items: center; justify-content: center; - height: 2.5rem; + height: 2rem; padding: 0 0.875rem; margin: 0; - outline: 0; - border: 1px solid var(--color-gray-200); - border-radius: 0.375rem; - background-color: var(--color-gray-50); + border: none; + border-radius: 0; + background-color: light-dark(var(--color-gray-200), var(--color-gray-800)); font-family: inherit; - font-size: 1rem; + font-size: 0.875rem; font-weight: 400; line-height: 1.5rem; - color: var(--color-gray-900); + color: light-dark(var(--color-gray-900), var(--color-gray-50)); user-select: none; @media (hover: hover) { &:hover { - background-color: var(--color-gray-100); + background-color: light-dark(var(--color-gray-300), var(--color-gray-700)); } } - &:active { - background-color: var(--color-gray-100); - } - &:focus-visible { - outline: 2px solid var(--color-blue); - outline-offset: -1px; + outline-width: 2px; + outline-style: solid; + outline-offset: 2px; } } diff --git a/docs/src/app/(docs)/react/utils/merge-props/demos/prevent-base-ui-handler/css-modules/index.tsx b/docs/src/app/(docs)/react/utils/merge-props/demos/prevent-base-ui-handler/css-modules/index.tsx index a2f998a9b4b..11a25703c87 100644 --- a/docs/src/app/(docs)/react/utils/merge-props/demos/prevent-base-ui-handler/css-modules/index.tsx +++ b/docs/src/app/(docs)/react/utils/merge-props/demos/prevent-base-ui-handler/css-modules/index.tsx @@ -19,26 +19,24 @@ export default function ExamplePreventBaseUIHandler() { return (
-
- ( - - )} - /> -
+ ( + + )} + /> Favorite {locked ? '(locked)' : '(unlocked)'}
-
From 491f867a3cb4f266ec01b53fe152881910eb9d4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aar=C3=B3n=20Garc=C3=ADa=20Herv=C3=A1s?= Date: Wed, 22 Apr 2026 13:06:49 +0200 Subject: [PATCH 021/257] Avatar brutalist --- .../avatar/demos/hero/css-modules/index.module.css | 12 ++++++------ .../avatar/demos/hero/css-modules/index.tsx | 2 +- .../components/avatar/demos/hero/tailwind/index.tsx | 11 ++++------- 3 files changed, 11 insertions(+), 14 deletions(-) diff --git a/docs/src/app/(docs)/react/components/avatar/demos/hero/css-modules/index.module.css b/docs/src/app/(docs)/react/components/avatar/demos/hero/css-modules/index.module.css index bf5e9c66394..01ca208821e 100644 --- a/docs/src/app/(docs)/react/components/avatar/demos/hero/css-modules/index.module.css +++ b/docs/src/app/(docs)/react/components/avatar/demos/hero/css-modules/index.module.css @@ -6,13 +6,13 @@ border-radius: 100%; user-select: none; font-weight: 400; - color: var(--color-gray-900); - background-color: var(--color-gray-100); - font-size: 1rem; + color: light-dark(var(--color-gray-900), var(--color-gray-50)); + background-color: light-dark(var(--color-gray-200), var(--color-gray-800)); + font-size: 0.875rem; line-height: 1; overflow: hidden; - height: 3rem; - width: 3rem; + height: 2rem; + width: 2rem; } .Image { @@ -27,5 +27,5 @@ justify-content: center; height: 100%; width: 100%; - font-size: 1rem; + font-size: 0.875rem; } diff --git a/docs/src/app/(docs)/react/components/avatar/demos/hero/css-modules/index.tsx b/docs/src/app/(docs)/react/components/avatar/demos/hero/css-modules/index.tsx index 3fccf92002f..a747c847965 100644 --- a/docs/src/app/(docs)/react/components/avatar/demos/hero/css-modules/index.tsx +++ b/docs/src/app/(docs)/react/components/avatar/demos/hero/css-modules/index.tsx @@ -3,7 +3,7 @@ import styles from './index.module.css'; export default function ExampleAvatar() { return ( -
+
- +
+ - + LT - + LT
From 1394a3acf5814dbb86d7c583a92943f19702d721 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aar=C3=B3n=20Garc=C3=ADa=20Herv=C3=A1s?= Date: Wed, 22 Apr 2026 14:57:25 +0200 Subject: [PATCH 022/257] Collapsible brutalist --- .../demos/hero/css-modules/index.module.css | 39 +++++++++---------- .../demos/hero/css-modules/index.tsx | 2 +- .../collapsible/demos/hero/tailwind/index.tsx | 10 ++--- 3 files changed, 24 insertions(+), 27 deletions(-) diff --git a/docs/src/app/(docs)/react/components/collapsible/demos/hero/css-modules/index.module.css b/docs/src/app/(docs)/react/components/collapsible/demos/hero/css-modules/index.module.css index 6281d386434..c1e73789fb5 100644 --- a/docs/src/app/(docs)/react/components/collapsible/demos/hero/css-modules/index.module.css +++ b/docs/src/app/(docs)/react/components/collapsible/demos/hero/css-modules/index.module.css @@ -4,43 +4,44 @@ min-height: 9rem; flex-direction: column; justify-content: center; - color: var(--color-gray-900); + color: light-dark(var(--color-gray-900), var(--color-gray-50)); } .Icon { width: 0.75rem; height: 0.75rem; - transition: transform 150ms ease-out; + transition: transform 100ms ease-out; } .Trigger { + box-sizing: border-box; display: flex; align-items: center; + justify-content: space-between; gap: 0.5rem; + height: 2rem; + padding: 0 0.875rem; margin: 0; - border: 0; - outline: 0; - padding: 0.25rem 0.5rem; - border-radius: 0.25rem; - background-color: var(--color-gray-100); - color: var(--color-gray-900); + border: none; + border-radius: 0; + background-color: light-dark(var(--color-gray-200), var(--color-gray-800)); + color: light-dark(var(--color-gray-900), var(--color-gray-50)); font-family: inherit; font-size: 0.875rem; - line-height: 1.25rem; font-weight: 400; + line-height: 1.25rem; + user-select: none; @media (hover: hover) { &:hover { - background-color: var(--color-gray-200); + background-color: light-dark(var(--color-gray-300), var(--color-gray-700)); } } - &:active { - background-color: var(--color-gray-200); - } - &:focus-visible { - outline: 2px solid var(--color-blue); + outline-width: 2px; + outline-style: solid; + outline-offset: 2px; } &[data-panel-open] .Icon { @@ -56,7 +57,7 @@ overflow: hidden; font-size: 0.875rem; line-height: 1.25rem; - transition: all 150ms ease-out; + transition: height 150ms ease-out; &[hidden]:not([hidden='until-found']) { display: none; @@ -72,9 +73,5 @@ display: flex; flex-direction: column; gap: 0.5rem; - margin-top: 0.25rem; - padding: 0.5rem 0 0.5rem 1.75rem; - border-radius: 0.25rem; - background-color: var(--color-gray-100); - cursor: text; + padding: 0.5rem 0.875rem; } diff --git a/docs/src/app/(docs)/react/components/collapsible/demos/hero/css-modules/index.tsx b/docs/src/app/(docs)/react/components/collapsible/demos/hero/css-modules/index.tsx index 6bf5515d83f..75436bc6bdc 100644 --- a/docs/src/app/(docs)/react/components/collapsible/demos/hero/css-modules/index.tsx +++ b/docs/src/app/(docs)/react/components/collapsible/demos/hero/css-modules/index.tsx @@ -6,8 +6,8 @@ export default function ExampleCollapsible() { return ( - Recovery keys +
diff --git a/docs/src/app/(docs)/react/components/collapsible/demos/hero/tailwind/index.tsx b/docs/src/app/(docs)/react/components/collapsible/demos/hero/tailwind/index.tsx index 47129af3866..2f8239beab9 100644 --- a/docs/src/app/(docs)/react/components/collapsible/demos/hero/tailwind/index.tsx +++ b/docs/src/app/(docs)/react/components/collapsible/demos/hero/tailwind/index.tsx @@ -3,13 +3,13 @@ import { Collapsible } from '@base-ui/react/collapsible'; export default function ExampleCollapsible() { return ( - - - + + Recovery keys + - -
+ +
alien-bean-pasta
wild-irish-burrito
horse-battery-staple
From 662cdd646854d2b4d88c99345e15335ebd69d917 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aar=C3=B3n=20Garc=C3=ADa=20Herv=C3=A1s?= Date: Wed, 22 Apr 2026 15:14:45 +0200 Subject: [PATCH 023/257] Meter tweaks --- .../meter/demos/hero/css-modules/index.module.css | 3 +-- .../react/components/meter/demos/hero/tailwind/index.tsx | 6 +++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/docs/src/app/(docs)/react/components/meter/demos/hero/css-modules/index.module.css b/docs/src/app/(docs)/react/components/meter/demos/hero/css-modules/index.module.css index 76f5d986600..f9ff4e62978 100644 --- a/docs/src/app/(docs)/react/components/meter/demos/hero/css-modules/index.module.css +++ b/docs/src/app/(docs)/react/components/meter/demos/hero/css-modules/index.module.css @@ -1,9 +1,9 @@ .Meter { - box-sizing: border-box; display: grid; grid-template-columns: 1fr 1fr; row-gap: 0.5rem; width: 15rem; + max-width: 100%; } .Label { @@ -14,7 +14,6 @@ } .Value { - margin: 0; font-size: 0.875rem; line-height: 1.25rem; color: light-dark(var(--color-gray-900), var(--color-gray-50)); diff --git a/docs/src/app/(docs)/react/components/meter/demos/hero/tailwind/index.tsx b/docs/src/app/(docs)/react/components/meter/demos/hero/tailwind/index.tsx index fda7f0900fd..727edcaec94 100644 --- a/docs/src/app/(docs)/react/components/meter/demos/hero/tailwind/index.tsx +++ b/docs/src/app/(docs)/react/components/meter/demos/hero/tailwind/index.tsx @@ -2,13 +2,13 @@ import { Meter } from '@base-ui/react/meter'; export default function ExampleMeter() { return ( - + Storage Used - - + + ); From df0142b1065c411c4499450f46439879dd139456 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aar=C3=B3n=20Garc=C3=ADa=20Herv=C3=A1s?= Date: Wed, 22 Apr 2026 15:15:05 +0200 Subject: [PATCH 024/257] Progress brutalist --- .../demos/hero/css-modules/index.module.css | 19 +++++++------------ .../progress/demos/hero/tailwind/index.tsx | 12 +++++++----- 2 files changed, 14 insertions(+), 17 deletions(-) diff --git a/docs/src/app/(docs)/react/components/progress/demos/hero/css-modules/index.module.css b/docs/src/app/(docs)/react/components/progress/demos/hero/css-modules/index.module.css index 97471a4a18f..59bee552635 100644 --- a/docs/src/app/(docs)/react/components/progress/demos/hero/css-modules/index.module.css +++ b/docs/src/app/(docs)/react/components/progress/demos/hero/css-modules/index.module.css @@ -1,38 +1,33 @@ .Progress { display: grid; grid-template-columns: 1fr 1fr; - grid-gap: 0.25rem; - grid-row-gap: 0.5rem; - width: 12rem; + row-gap: 0.5rem; + width: 15rem; + max-width: 100%; } .Label { font-size: 0.875rem; line-height: 1.25rem; font-weight: 400; - color: var(--color-gray-900); + color: light-dark(var(--color-gray-900), var(--color-gray-50)); } .Value { - grid-column-start: 2; - margin: 0; font-size: 0.875rem; line-height: 1.25rem; - color: var(--color-gray-900); + color: light-dark(var(--color-gray-900), var(--color-gray-50)); text-align: right; } .Track { grid-column: 1 / 3; overflow: hidden; - background-color: var(--color-gray-200); - box-shadow: inset 0 0 0 1px var(--color-gray-200); height: 0.25rem; - border-radius: 0.25rem; + background-color: light-dark(var(--color-gray-200), var(--color-gray-800)); } .Indicator { - display: block; - background-color: var(--color-gray-500); + background-color: light-dark(var(--color-gray-900), var(--color-gray-50)); transition: width 500ms; } diff --git a/docs/src/app/(docs)/react/components/progress/demos/hero/tailwind/index.tsx b/docs/src/app/(docs)/react/components/progress/demos/hero/tailwind/index.tsx index da8cd8a1409..9de0a6ed79f 100644 --- a/docs/src/app/(docs)/react/components/progress/demos/hero/tailwind/index.tsx +++ b/docs/src/app/(docs)/react/components/progress/demos/hero/tailwind/index.tsx @@ -14,11 +14,13 @@ export default function ExampleProgress() { }, []); return ( - - Export data - - - + + + Export data + + + + ); From a83d5c30612428c2777d440a508bbe4b1b73632e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aar=C3=B3n=20Garc=C3=ADa=20Herv=C3=A1s?= Date: Thu, 23 Apr 2026 10:05:49 +0200 Subject: [PATCH 025/257] Slider brutalist --- .../edge-alignment/css-modules/index.module.css | 16 +++++++--------- .../demos/edge-alignment/tailwind/index.tsx | 6 +++--- .../demos/hero/css-modules/index.module.css | 16 +++++++--------- .../slider/demos/hero/tailwind/index.tsx | 6 +++--- .../range-slider/css-modules/index.module.css | 16 +++++++--------- .../slider/demos/range-slider/tailwind/index.tsx | 8 ++++---- .../demos/vertical/css-modules/index.module.css | 16 +++++++--------- .../slider/demos/vertical/tailwind/index.tsx | 6 +++--- 8 files changed, 41 insertions(+), 49 deletions(-) diff --git a/docs/src/app/(docs)/react/components/slider/demos/edge-alignment/css-modules/index.module.css b/docs/src/app/(docs)/react/components/slider/demos/edge-alignment/css-modules/index.module.css index ae9aa629dee..9a173c08c13 100644 --- a/docs/src/app/(docs)/react/components/slider/demos/edge-alignment/css-modules/index.module.css +++ b/docs/src/app/(docs)/react/components/slider/demos/edge-alignment/css-modules/index.module.css @@ -11,27 +11,25 @@ .Track { width: 100%; height: 0.25rem; - background-color: var(--color-gray-200); - box-shadow: inset 0 0 0 1px var(--color-gray-200); - border-radius: 0.25rem; + background-color: light-dark(var(--color-gray-200), var(--color-gray-800)); user-select: none; } .Indicator { - border-radius: 0.25rem; - background-color: var(--color-gray-700); + background-color: light-dark(var(--color-gray-900), white); user-select: none; } .Thumb { + box-sizing: border-box; width: 1rem; height: 1rem; - border-radius: 100%; - background-color: white; - outline: 1px solid var(--color-gray-300); + border: 1px solid light-dark(var(--color-gray-900), white); + background-color: light-dark(white, var(--color-gray-900)); user-select: none; &:has(:focus-visible) { - outline: 2px solid var(--color-blue); + outline: 2px solid var(--color-blue-800); + outline-offset: 2px; } } diff --git a/docs/src/app/(docs)/react/components/slider/demos/edge-alignment/tailwind/index.tsx b/docs/src/app/(docs)/react/components/slider/demos/edge-alignment/tailwind/index.tsx index 3d4351277ef..c434ff5db94 100644 --- a/docs/src/app/(docs)/react/components/slider/demos/edge-alignment/tailwind/index.tsx +++ b/docs/src/app/(docs)/react/components/slider/demos/edge-alignment/tailwind/index.tsx @@ -4,9 +4,9 @@ export default function EdgeAlignedThumb() { return ( - - - + + + diff --git a/docs/src/app/(docs)/react/components/slider/demos/hero/css-modules/index.module.css b/docs/src/app/(docs)/react/components/slider/demos/hero/css-modules/index.module.css index ae9aa629dee..9a173c08c13 100644 --- a/docs/src/app/(docs)/react/components/slider/demos/hero/css-modules/index.module.css +++ b/docs/src/app/(docs)/react/components/slider/demos/hero/css-modules/index.module.css @@ -11,27 +11,25 @@ .Track { width: 100%; height: 0.25rem; - background-color: var(--color-gray-200); - box-shadow: inset 0 0 0 1px var(--color-gray-200); - border-radius: 0.25rem; + background-color: light-dark(var(--color-gray-200), var(--color-gray-800)); user-select: none; } .Indicator { - border-radius: 0.25rem; - background-color: var(--color-gray-700); + background-color: light-dark(var(--color-gray-900), white); user-select: none; } .Thumb { + box-sizing: border-box; width: 1rem; height: 1rem; - border-radius: 100%; - background-color: white; - outline: 1px solid var(--color-gray-300); + border: 1px solid light-dark(var(--color-gray-900), white); + background-color: light-dark(white, var(--color-gray-900)); user-select: none; &:has(:focus-visible) { - outline: 2px solid var(--color-blue); + outline: 2px solid var(--color-blue-800); + outline-offset: 2px; } } diff --git a/docs/src/app/(docs)/react/components/slider/demos/hero/tailwind/index.tsx b/docs/src/app/(docs)/react/components/slider/demos/hero/tailwind/index.tsx index aa7db73bf0b..9f03888f65a 100644 --- a/docs/src/app/(docs)/react/components/slider/demos/hero/tailwind/index.tsx +++ b/docs/src/app/(docs)/react/components/slider/demos/hero/tailwind/index.tsx @@ -4,11 +4,11 @@ export default function ExampleSlider() { return ( - - + + diff --git a/docs/src/app/(docs)/react/components/slider/demos/range-slider/css-modules/index.module.css b/docs/src/app/(docs)/react/components/slider/demos/range-slider/css-modules/index.module.css index ae9aa629dee..9a173c08c13 100644 --- a/docs/src/app/(docs)/react/components/slider/demos/range-slider/css-modules/index.module.css +++ b/docs/src/app/(docs)/react/components/slider/demos/range-slider/css-modules/index.module.css @@ -11,27 +11,25 @@ .Track { width: 100%; height: 0.25rem; - background-color: var(--color-gray-200); - box-shadow: inset 0 0 0 1px var(--color-gray-200); - border-radius: 0.25rem; + background-color: light-dark(var(--color-gray-200), var(--color-gray-800)); user-select: none; } .Indicator { - border-radius: 0.25rem; - background-color: var(--color-gray-700); + background-color: light-dark(var(--color-gray-900), white); user-select: none; } .Thumb { + box-sizing: border-box; width: 1rem; height: 1rem; - border-radius: 100%; - background-color: white; - outline: 1px solid var(--color-gray-300); + border: 1px solid light-dark(var(--color-gray-900), white); + background-color: light-dark(white, var(--color-gray-900)); user-select: none; &:has(:focus-visible) { - outline: 2px solid var(--color-blue); + outline: 2px solid var(--color-blue-800); + outline-offset: 2px; } } diff --git a/docs/src/app/(docs)/react/components/slider/demos/range-slider/tailwind/index.tsx b/docs/src/app/(docs)/react/components/slider/demos/range-slider/tailwind/index.tsx index a6302490890..bc1f3487f44 100644 --- a/docs/src/app/(docs)/react/components/slider/demos/range-slider/tailwind/index.tsx +++ b/docs/src/app/(docs)/react/components/slider/demos/range-slider/tailwind/index.tsx @@ -4,17 +4,17 @@ export default function RangeSlider() { return ( - - + + diff --git a/docs/src/app/(docs)/react/components/slider/demos/vertical/css-modules/index.module.css b/docs/src/app/(docs)/react/components/slider/demos/vertical/css-modules/index.module.css index 117746a3cf9..33ddcd60e97 100644 --- a/docs/src/app/(docs)/react/components/slider/demos/vertical/css-modules/index.module.css +++ b/docs/src/app/(docs)/react/components/slider/demos/vertical/css-modules/index.module.css @@ -11,9 +11,7 @@ } .Track { - background-color: var(--color-gray-200); - box-shadow: inset 0 0 0 1px var(--color-gray-200); - border-radius: 0.25rem; + background-color: light-dark(var(--color-gray-200), var(--color-gray-800)); user-select: none; &[data-orientation='vertical'] { @@ -23,20 +21,20 @@ } .Indicator { - border-radius: 0.25rem; - background-color: var(--color-gray-700); + background-color: light-dark(var(--color-gray-900), white); user-select: none; } .Thumb { + box-sizing: border-box; width: 1rem; height: 1rem; - border-radius: 100%; - background-color: white; - outline: 1px solid var(--color-gray-300); + border: 1px solid light-dark(var(--color-gray-900), white); + background-color: light-dark(white, var(--color-gray-900)); user-select: none; &:has(:focus-visible) { - outline: 2px solid var(--color-blue); + outline: 2px solid var(--color-blue-800); + outline-offset: 2px; } } diff --git a/docs/src/app/(docs)/react/components/slider/demos/vertical/tailwind/index.tsx b/docs/src/app/(docs)/react/components/slider/demos/vertical/tailwind/index.tsx index afabb86cc1b..c010cde6353 100644 --- a/docs/src/app/(docs)/react/components/slider/demos/vertical/tailwind/index.tsx +++ b/docs/src/app/(docs)/react/components/slider/demos/vertical/tailwind/index.tsx @@ -4,11 +4,11 @@ export default function VerticalSlider() { return ( - - + + From 3719e1754c908c22e390cfab5af628f251947d3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aar=C3=B3n=20Garc=C3=ADa=20Herv=C3=A1s?= Date: Thu, 23 Apr 2026 10:33:38 +0200 Subject: [PATCH 026/257] gray-50 -> white --- .../components/accordion/demos/_index.module.css | 8 ++++---- .../accordion/demos/hero/tailwind/index.tsx | 8 ++++---- .../accordion/demos/multiple/tailwind/index.tsx | 8 ++++---- .../avatar/demos/hero/css-modules/index.module.css | 2 +- .../avatar/demos/hero/tailwind/index.tsx | 4 ++-- .../button/demos/hero/css-modules/index.module.css | 2 +- .../button/demos/hero/tailwind/index.tsx | 2 +- .../demos/loading/css-modules/index.module.css | 2 +- .../button/demos/loading/tailwind/index.tsx | 2 +- .../demos/hero/css-modules/index.module.css | 12 ++++++------ .../checkbox/demos/hero/tailwind/index.tsx | 4 ++-- .../demos/hero/css-modules/index.module.css | 4 ++-- .../collapsible/demos/hero/tailwind/index.tsx | 4 ++-- .../meter/demos/hero/css-modules/index.module.css | 6 +++--- .../components/meter/demos/hero/tailwind/index.tsx | 6 +++--- .../demos/hero/css-modules/index.module.css | 6 +++--- .../progress/demos/hero/tailwind/index.tsx | 6 +++--- .../radio/demos/hero/css-modules/index.module.css | 12 ++++++------ .../components/radio/demos/hero/tailwind/index.tsx | 14 +++++++------- .../demos/hero/css-modules/index.module.css | 8 ++++---- .../toggle-group/demos/hero/tailwind/index.tsx | 8 ++++---- .../demos/multiple/css-modules/index.module.css | 8 ++++---- .../toggle-group/demos/multiple/tailwind/index.tsx | 8 ++++---- .../toggle/demos/hero/css-modules/index.module.css | 4 ++-- .../toggle/demos/hero/tailwind/index.tsx | 2 +- 25 files changed, 75 insertions(+), 75 deletions(-) diff --git a/docs/src/app/(docs)/react/components/accordion/demos/_index.module.css b/docs/src/app/(docs)/react/components/accordion/demos/_index.module.css index 6cc7c905e22..9ae56dbc67c 100644 --- a/docs/src/app/(docs)/react/components/accordion/demos/_index.module.css +++ b/docs/src/app/(docs)/react/components/accordion/demos/_index.module.css @@ -4,8 +4,8 @@ width: 20rem; max-width: 100%; flex-direction: column; - border-bottom: 1px solid light-dark(var(--color-gray-900), var(--color-gray-50)); - color: light-dark(var(--color-gray-900), var(--color-gray-50)); + border-bottom: 1px solid light-dark(var(--color-gray-900), white); + color: light-dark(var(--color-gray-900), white); } .Header { @@ -22,10 +22,10 @@ padding: 0.5rem 0; margin: 0; border: none; - border-top: 1px solid light-dark(var(--color-gray-900), var(--color-gray-50)); + border-top: 1px solid light-dark(var(--color-gray-900), white); border-radius: 0; background-color: transparent; - color: light-dark(var(--color-gray-900), var(--color-gray-50)); + color: light-dark(var(--color-gray-900), white); font-family: inherit; font-size: 0.875rem; font-weight: 400; diff --git a/docs/src/app/(docs)/react/components/accordion/demos/hero/tailwind/index.tsx b/docs/src/app/(docs)/react/components/accordion/demos/hero/tailwind/index.tsx index 625e89ab46a..9b316f02bd1 100644 --- a/docs/src/app/(docs)/react/components/accordion/demos/hero/tailwind/index.tsx +++ b/docs/src/app/(docs)/react/components/accordion/demos/hero/tailwind/index.tsx @@ -3,10 +3,10 @@ import { Accordion } from '@base-ui/react/accordion'; export default function ExampleAccordion() { return ( - + - + What is Base UI? @@ -21,7 +21,7 @@ export default function ExampleAccordion() { - + How do I get started? @@ -36,7 +36,7 @@ export default function ExampleAccordion() { - + Can I use it for my project? diff --git a/docs/src/app/(docs)/react/components/accordion/demos/multiple/tailwind/index.tsx b/docs/src/app/(docs)/react/components/accordion/demos/multiple/tailwind/index.tsx index ad20b344111..299fa45c799 100644 --- a/docs/src/app/(docs)/react/components/accordion/demos/multiple/tailwind/index.tsx +++ b/docs/src/app/(docs)/react/components/accordion/demos/multiple/tailwind/index.tsx @@ -5,11 +5,11 @@ export default function ExampleAccordion() { return ( - + What is Base UI? @@ -24,7 +24,7 @@ export default function ExampleAccordion() { - + How do I get started? @@ -39,7 +39,7 @@ export default function ExampleAccordion() { - + Can I use it for my project? diff --git a/docs/src/app/(docs)/react/components/avatar/demos/hero/css-modules/index.module.css b/docs/src/app/(docs)/react/components/avatar/demos/hero/css-modules/index.module.css index 01ca208821e..171bde8510d 100644 --- a/docs/src/app/(docs)/react/components/avatar/demos/hero/css-modules/index.module.css +++ b/docs/src/app/(docs)/react/components/avatar/demos/hero/css-modules/index.module.css @@ -6,7 +6,7 @@ border-radius: 100%; user-select: none; font-weight: 400; - color: light-dark(var(--color-gray-900), var(--color-gray-50)); + color: light-dark(var(--color-gray-900), white); background-color: light-dark(var(--color-gray-200), var(--color-gray-800)); font-size: 0.875rem; line-height: 1; diff --git a/docs/src/app/(docs)/react/components/avatar/demos/hero/tailwind/index.tsx b/docs/src/app/(docs)/react/components/avatar/demos/hero/tailwind/index.tsx index ae4175c91c9..d91a3a7567f 100644 --- a/docs/src/app/(docs)/react/components/avatar/demos/hero/tailwind/index.tsx +++ b/docs/src/app/(docs)/react/components/avatar/demos/hero/tailwind/index.tsx @@ -3,7 +3,7 @@ import { Avatar } from '@base-ui/react/avatar'; export default function ExampleAvatar() { return (
- + - + LT
diff --git a/docs/src/app/(docs)/react/components/button/demos/hero/css-modules/index.module.css b/docs/src/app/(docs)/react/components/button/demos/hero/css-modules/index.module.css index ccfe3435def..2eefa335ebe 100644 --- a/docs/src/app/(docs)/react/components/button/demos/hero/css-modules/index.module.css +++ b/docs/src/app/(docs)/react/components/button/demos/hero/css-modules/index.module.css @@ -13,7 +13,7 @@ font-size: 0.875rem; font-weight: 400; line-height: 1.5rem; - color: light-dark(var(--color-gray-900), var(--color-gray-50)); + color: light-dark(var(--color-gray-900), white); user-select: none; @media (hover: hover) { diff --git a/docs/src/app/(docs)/react/components/button/demos/hero/tailwind/index.tsx b/docs/src/app/(docs)/react/components/button/demos/hero/tailwind/index.tsx index 33ef86ef93a..a2f17de8ff3 100644 --- a/docs/src/app/(docs)/react/components/button/demos/hero/tailwind/index.tsx +++ b/docs/src/app/(docs)/react/components/button/demos/hero/tailwind/index.tsx @@ -3,7 +3,7 @@ import { Button } from '@base-ui/react/button'; export default function ExampleButton() { return ( - ); diff --git a/docs/src/app/(docs)/react/components/button/demos/loading/css-modules/index.module.css b/docs/src/app/(docs)/react/components/button/demos/loading/css-modules/index.module.css index a5787eedc75..94a51214e79 100644 --- a/docs/src/app/(docs)/react/components/button/demos/loading/css-modules/index.module.css +++ b/docs/src/app/(docs)/react/components/button/demos/loading/css-modules/index.module.css @@ -13,7 +13,7 @@ font-size: 0.875rem; font-weight: 400; line-height: 1.5rem; - color: light-dark(var(--color-gray-900), var(--color-gray-50)); + color: light-dark(var(--color-gray-900), white); user-select: none; @media (hover: hover) { diff --git a/docs/src/app/(docs)/react/components/button/demos/loading/tailwind/index.tsx b/docs/src/app/(docs)/react/components/button/demos/loading/tailwind/index.tsx index f15ab19b55b..b7b544339b7 100644 --- a/docs/src/app/(docs)/react/components/button/demos/loading/tailwind/index.tsx +++ b/docs/src/app/(docs)/react/components/button/demos/loading/tailwind/index.tsx @@ -7,7 +7,7 @@ export default function ExampleButton() { return ( ); diff --git a/docs/src/app/(docs)/react/components/button/demos/loading/css-modules/index.module.css b/docs/src/app/(docs)/react/components/button/demos/loading/css-modules/index.module.css index 94a51214e79..9a16c507dcf 100644 --- a/docs/src/app/(docs)/react/components/button/demos/loading/css-modules/index.module.css +++ b/docs/src/app/(docs)/react/components/button/demos/loading/css-modules/index.module.css @@ -23,8 +23,7 @@ } &:focus-visible { - outline-width: 2px; - outline-style: solid; + outline: 2px solid var(--color-blue-800); outline-offset: 2px; } diff --git a/docs/src/app/(docs)/react/components/button/demos/loading/tailwind/index.tsx b/docs/src/app/(docs)/react/components/button/demos/loading/tailwind/index.tsx index b7b544339b7..636af0b4a1b 100644 --- a/docs/src/app/(docs)/react/components/button/demos/loading/tailwind/index.tsx +++ b/docs/src/app/(docs)/react/components/button/demos/loading/tailwind/index.tsx @@ -7,7 +7,7 @@ export default function ExampleButton() { return ( ); diff --git a/docs/src/app/(docs)/react/components/button/demos/loading/css-modules/index.module.css b/docs/src/app/(docs)/react/components/button/demos/loading/css-modules/index.module.css index 9a16c507dcf..1c5eefa7e23 100644 --- a/docs/src/app/(docs)/react/components/button/demos/loading/css-modules/index.module.css +++ b/docs/src/app/(docs)/react/components/button/demos/loading/css-modules/index.module.css @@ -13,7 +13,7 @@ font-size: 0.875rem; font-weight: 400; line-height: 1.5rem; - color: light-dark(var(--color-gray-900), white); + color: light-dark(var(--color-gray-950), white); user-select: none; @media (hover: hover) { diff --git a/docs/src/app/(docs)/react/components/button/demos/loading/tailwind/index.tsx b/docs/src/app/(docs)/react/components/button/demos/loading/tailwind/index.tsx index 636af0b4a1b..369d28a41aa 100644 --- a/docs/src/app/(docs)/react/components/button/demos/loading/tailwind/index.tsx +++ b/docs/src/app/(docs)/react/components/button/demos/loading/tailwind/index.tsx @@ -7,7 +7,7 @@ export default function ExampleButton() { return ( ); diff --git a/docs/src/app/(docs)/react/components/button/demos/loading/css-modules/index.module.css b/docs/src/app/(docs)/react/components/button/demos/loading/css-modules/index.module.css index 1c5eefa7e23..8d6c95ba07d 100644 --- a/docs/src/app/(docs)/react/components/button/demos/loading/css-modules/index.module.css +++ b/docs/src/app/(docs)/react/components/button/demos/loading/css-modules/index.module.css @@ -4,7 +4,7 @@ align-items: center; justify-content: center; height: 2rem; - padding: 0 0.875rem; + padding: 0 0.75rem; margin: 0; border: none; border-radius: 0; diff --git a/docs/src/app/(docs)/react/components/button/demos/loading/tailwind/index.tsx b/docs/src/app/(docs)/react/components/button/demos/loading/tailwind/index.tsx index 369d28a41aa..49a97f090b6 100644 --- a/docs/src/app/(docs)/react/components/button/demos/loading/tailwind/index.tsx +++ b/docs/src/app/(docs)/react/components/button/demos/loading/tailwind/index.tsx @@ -7,7 +7,7 @@ export default function ExampleButton() { return (