snapshot of https://github.com/shadcn-ui/ui.git (main, 2026-09-15; blobs > 131072B omitted)
This commit is contained in:
18
apps/v4/examples/base/bubble-alignment.tsx
Normal file
18
apps/v4/examples/base/bubble-alignment.tsx
Normal file
@@ -0,0 +1,18 @@
|
||||
import { Bubble, BubbleContent } from "@/styles/base-rhea/ui/bubble"
|
||||
|
||||
export function BubbleAlignmentDemo() {
|
||||
return (
|
||||
<div className="flex w-full max-w-sm flex-col gap-8 py-12">
|
||||
<Bubble variant="muted">
|
||||
<BubbleContent>
|
||||
This bubble is aligned to the start. This is the default alignment.
|
||||
</BubbleContent>
|
||||
</Bubble>
|
||||
<Bubble align="end">
|
||||
<BubbleContent>
|
||||
This bubble is aligned to the end. Use this for user messages.
|
||||
</BubbleContent>
|
||||
</Bubble>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user