@@ -15,13 +15,7 @@ import {
1515 SortDescendingIcon ,
1616} from '@phosphor-icons/react'
1717
18- import {
19- Button ,
20- ButtonGroup ,
21- ButtonGroupSeparator ,
22- ButtonGroupText ,
23- Typography ,
24- } from '@genseki/react/v2'
18+ import { Button , ButtonGroup , ButtonGroupSeparator , ButtonGroupText , Typography } from '@genseki/ui'
2519
2620import { PlaygroundCard } from '~/src/components/card'
2721
@@ -162,11 +156,35 @@ function LoadingButton() {
162156function ButtonGroupBasic ( ) {
163157 return (
164158 < ButtonGroup >
165- < Button variant = "outline" > One</ Button >
166- < ButtonGroupSeparator />
167- < Button variant = "outline" > Two</ Button >
159+ < Button variant = "outline" className = "" >
160+ One
161+ </ Button >
162+ < Button variant = "outline" className = "" >
163+ Two
164+ </ Button >
165+
166+ < Button variant = "outline" className = "" >
167+ Three
168+ </ Button >
169+ </ ButtonGroup >
170+ )
171+ }
172+
173+ // Button Group - Basic (primary)
174+ function ButtonGroupBasicPrimary ( ) {
175+ return (
176+ < ButtonGroup >
177+ < Button variant = "primary" className = "" >
178+ One
179+ </ Button >
168180 < ButtonGroupSeparator />
169- < Button variant = "outline" > Three</ Button >
181+ < Button variant = "primary" className = "" >
182+ Two
183+ </ Button >
184+
185+ < Button variant = "primary" className = "" >
186+ Three
187+ </ Button >
170188 </ ButtonGroup >
171189 )
172190}
@@ -334,6 +352,19 @@ export function ButtonSection() {
334352 </ div >
335353 </ PlaygroundCard >
336354
355+ < PlaygroundCard
356+ title = "Button Group - Basic (Primary & Separator)"
357+ categoryTitle = "Composition"
358+ >
359+ < Typography type = "body" className = "text-muted-foreground mb-4" >
360+ A simple button group with connected buttons in primary variants and button group
361+ separator.
362+ </ Typography >
363+ < div className = "p-4 bg-secondary w-full rounded-lg" >
364+ < ButtonGroupBasicPrimary />
365+ </ div >
366+ </ PlaygroundCard >
367+
337368 < PlaygroundCard title = "Button Group - With Separators" categoryTitle = "Composition" >
338369 < Typography type = "body" className = "text-muted-foreground mb-4" >
339370 Button groups with separators between buttons for visual distinction.
0 commit comments