snapshot of https://github.com/shadcn-ui/ui.git (main, 2026-09-15; blobs > 131072B omitted)
This commit is contained in:
32
apps/v4/examples/base/marker-demo.tsx
Normal file
32
apps/v4/examples/base/marker-demo.tsx
Normal file
@@ -0,0 +1,32 @@
|
||||
import { GitBranchIcon, SearchIcon } from "lucide-react"
|
||||
|
||||
import { Marker, MarkerContent, MarkerIcon } from "@/styles/base-rhea/ui/marker"
|
||||
import { Spinner } from "@/styles/base-rhea/ui/spinner"
|
||||
|
||||
export function MarkerDemo() {
|
||||
return (
|
||||
<div className="flex w-full max-w-sm flex-col gap-8 py-12">
|
||||
<Marker>
|
||||
<MarkerIcon>
|
||||
<GitBranchIcon />
|
||||
</MarkerIcon>
|
||||
<MarkerContent>Switched to a new branch</MarkerContent>
|
||||
</Marker>
|
||||
<Marker role="status">
|
||||
<MarkerIcon>
|
||||
<Spinner />
|
||||
</MarkerIcon>
|
||||
<MarkerContent className="shimmer">Thinking...</MarkerContent>
|
||||
</Marker>
|
||||
<Marker variant="separator">
|
||||
<MarkerContent>Conversation compacted</MarkerContent>
|
||||
</Marker>
|
||||
<Marker>
|
||||
<MarkerIcon>
|
||||
<SearchIcon />
|
||||
</MarkerIcon>
|
||||
<MarkerContent>Explored 4 files</MarkerContent>
|
||||
</Marker>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user