Marker
Timestamps, system events, and section dividers for conversations and lists with secondary typography, optional hairline separators or bottom borders, and accent links.
Fully compatible with the standard shadcn/ui JSX API (Marker / MarkerIcon / MarkerContent, with polymorphic render on Marker). Built for Apple Messages timestamps ("Today 2:32 PM"), system events ("Alex joined the conversation"), and list section headers:
- Responsive typography: Secondary caption text at 13px on mobile ↔ 11px on desktop, icons 16px ↔ 14px.
- Variants:
defaultplain row,separatorcentered text flanked by hairline dividers,borderbottom divider for section headings. - Links & emphasis: Links use the theme accent color (underlined on hover), and
<strong>highlights names in primary text color.
Installation (Shadcn Registry)
npx shadcn@latest add @apple-liquid/markerUsage
import { Marker, MarkerContent } from '@/components/ui/marker';
export function Example() {
return (
<Marker variant="separator">
<MarkerContent>Today 2:32 PM</MarkerContent>
</Marker>
);
}Props API
Marker
| Prop | Type | Default | Description |
|---|---|---|---|
variant | 'default' | 'separator' | 'border' | 'default' | Plain text, flanked hairline dividers, or bottom border |
render | ReactElement | function | — | Render as another element (e.g. <li>, <a>) |
Label
Apple 27 form label sized 15px (iOS Subheadline) on mobile ↔ 13px on desktop, automatically dimming when its paired control or group is disabled.
Menubar
Responsive Apple Liquid Glass menubar displaying a floating pill macOS 27 glass bar with seamless hover switching on desktop, and automatically adapting to an iOS 27 bottom Liquid Glass Drawer with grouped rows on mobile.