snapshot of https://github.com/shadcn-ui/ui.git (main, 2026-09-15; blobs > 131072B omitted)
This commit is contained in:
36
apps/v4/examples/radix/bubble-group-demo.tsx
Normal file
36
apps/v4/examples/radix/bubble-group-demo.tsx
Normal file
@@ -0,0 +1,36 @@
|
||||
import {
|
||||
Bubble,
|
||||
BubbleContent,
|
||||
BubbleGroup,
|
||||
BubbleReactions,
|
||||
} from "@/styles/radix-rhea/ui/bubble"
|
||||
|
||||
export function BubbleGroupDemo() {
|
||||
return (
|
||||
<div className="flex w-full max-w-sm flex-col gap-8 py-12">
|
||||
<Bubble variant="muted">
|
||||
<BubbleContent>Can you tell me what's the issue?</BubbleContent>
|
||||
</Bubble>
|
||||
<BubbleGroup>
|
||||
<Bubble align="end">
|
||||
<BubbleContent>You tell me!</BubbleContent>
|
||||
</Bubble>
|
||||
<Bubble align="end">
|
||||
<BubbleContent>It worked yesterday. You broke it!</BubbleContent>
|
||||
</Bubble>
|
||||
<Bubble align="end">
|
||||
<BubbleContent>Find the bug and fix it.</BubbleContent>
|
||||
<BubbleReactions aria-label="Reactions: eyes" align="start">
|
||||
<span>👀</span>
|
||||
</BubbleReactions>
|
||||
</Bubble>
|
||||
</BubbleGroup>
|
||||
<Bubble variant="muted">
|
||||
<BubbleContent>
|
||||
Want me to diff yesterday's you against today's you?
|
||||
It's a bit embarrassing.
|
||||
</BubbleContent>
|
||||
</Bubble>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user