Skip to main content

CnPeopleWidget

People directory widget (grid/card/list) with filters and birthdays; data via dataSource/cnPeopleSource.

Part of the dashboard widget library (v2). Registered with the dashboard widget registry and consumed by MyDash/LaunchPad's widget grid. See the widget library overview and docs/architecture/cards-and-widgets.md.

Reference

Props

NameTypeRequiredDefaultDescription
contentobject\{\}Persisted widget content {layout, filters, excludeDisabled, sortBy, columns}.
dataSourceunionnullConsumer-supplied data source overriding the cnPeopleSource injection. Must expose fetchPeople(args) => Promise<{users, total, hasMore}>. When null the injection (then the empty state) is used.