"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 marker Marker with icon Marker 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 chat Olivia Rose left the chat Marker with icon at the top
) } function MarkerBorder() { return ( Switched to release-candidate Reviewed 8 related files Opened implementation notes ) } function MarkerSeparator() { return ( Worked for 42s Compacting conversation Reading 4 files Conversation 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.
app/chat/page.tsx read
components/message.tsx read
lib/ai.ts read
}> Close
) }