Skip to content
Binary Dreams UI Kit reference ContextList

Context list

Retrieved context records with source metadata, state, and optional open or remove actions.

Loading interactive example

Use ContextList for a named set of evidence or prompt context. Show source type, location, size, and state when available. Keep open and remove actions explicit. Announce each semantic state change once.

API

MemberTypeKindRequiredDefault
announcementstringpropNoundefined
emptySnippetsnippetNoundefined
itemsreadonly ContextItem[]propYes
labelstringpropYes
onOpen(item: ContextItem) => voidcallbackNoundefined
onRemove(item: ContextItem) => voidcallbackNoundefined

Examples

Source

Loading source