"use client"
import { toast } from "sonner"
import {
Example,
ExampleWrapper,
} from "@/registry/bases/base/components/example"
import {
Accordion,
AccordionContent,
AccordionItem,
AccordionTrigger,
} from "@/registry/bases/base/ui/accordion"
import { Button } from "@/registry/bases/base/ui/button"
import {
Drawer,
DrawerClose,
DrawerContent,
DrawerDescription,
DrawerFooter,
DrawerHeader,
DrawerTitle,
DrawerTrigger,
} from "@/registry/bases/base/ui/drawer"
import {
Marker,
MarkerContent,
MarkerIcon,
} from "@/registry/bases/base/ui/marker"
import { Spinner } from "@/registry/bases/base/ui/spinner"
import { IconPlaceholder } from "@/app/(create)/components/icon-placeholder"
export default function MarkerExamples() {
return (
)
}
function MarkerExample() {
return (
A default markerMarker with iconMarker with a spinner
Marker with shimmer effect
Thinking...}>
Marker as a link toast("You clicked the button")}
className="transition-colors hover:text-foreground"
/>
}
>
Marker as a button
Rhea joined the chatOlivia Rose left the chat
Marker with icon at the top
)
}
function MarkerBorder() {
return (
Switched to release-candidateReviewed 8 related filesOpened implementation notes
)
}
function MarkerSeparator() {
return (
Worked for 42sCompacting conversationReading 4 filesConversation compacted
With a link to learn more
)
}
function MarkerAccordion() {
return (
Worked for 42s
The user asked for a list of all the files in the current
directory. The assistant responded with a list of all the files in
the current directory.
)
}
function MarkerDrawer() {
return (
}>
Explored 4 files
File Activity
Files read while preparing the response.