Experimental: The AI extension and its component APIs may change in the future. Please give us feedback on your experience with them.
Import#
import { DateMarker } from '@dnb/eufemia/extensions/ai'import '@dnb/eufemia/extensions/ai/style'render(<DateMarker />)
Description#
Ai.DateMarker shows the date with the weekday, followed by a line, above the messages of that day in Ai.Conversation. The date is formatted with DateFormat in the current locale.
Demos#
Date marker#
Today
<DateMarker date="2026-02-02" /> <DateMarker>Today</DateMarker>