This component no longer exists. It was in ondo-ui’s manifest when we first indexed it and is not there now — the registry served its inventory on 2026-08-09 and this item was not on it. The install command below will fail. It is kept here because a tutorial somewhere still tells people to run it.
marker
ondo-ui/markerRemovedComponent
Displays an inline status, system note, bordered row, or labeled separator in a conversation.
Install it
npx shadcn@latest add https://ui.ondo.dou.so/r/marker.jsonSource
1import * as React from "react"2import { mergeProps } from "@base-ui/react/merge-props"3import { useRender } from "@base-ui/react/use-render"4import { cva, type VariantProps } from "class-variance-authority"56import { cn } from "@/lib/utils"78const markerVariants = cva(9 "group/marker relative flex min-h-4 w-full items-center gap-2 text-left text-sm text-muted-foreground [&_svg:not([class*='size-'])]:size-4 [a]:underline [a]:underline-offset-3 [a]:hover:text-foreground",10 {11 variants: {12 variant: {13 default: "",14 separator:15 "before:mr-1 before:h-px before:min-w-0 before:flex-1 before:bg-border after:ml-1 after:h-px after:min-w-0 after:flex-1 after:bg-border",16 border: "border-b border-border pb-2",17 },18 },19 }20)2122function Marker({23 className,24 variant = "default",25 render,26 ...props27}: useRender.ComponentProps<"div"> & VariantProps<typeof markerVariants>) {28 return useRender({29 defaultTagName: "div",30 props: mergeProps<"div">(31 {32 className: cn(markerVariants({ variant, className })),33 },34 props35 ),36 render,37 state: {38 slot: "marker",39 variant,40 },41 })42}4344function MarkerIcon({ className, ...props }: React.ComponentProps<"span">) {45 return (46 <span47 data-slot="marker-icon"48 aria-hidden="true"49 className={cn(50 "size-4 shrink-0 [&_svg:not([class*='size-'])]:size-4",51 className52 )}53 {...props}54 />55 )56}5758function MarkerContent({ className, ...props }: React.ComponentProps<"span">) {59 return (60 <span61 data-slot="marker-content"62 className={cn(63 "min-w-0 wrap-break-word group-data-[variant=separator]/marker:flex-none group-data-[variant=separator]/marker:text-center *:[a]:underline *:[a]:underline-offset-3 *:[a]:hover:text-foreground",64 className65 )}66 {...props}67 />68 )69}7071export { Marker, MarkerIcon, MarkerContent, markerVariants }
What it pulls in
npm packages
Other registry items
