Skip to content
Twentyfirst UIHalo

Task List

CRM · TaskList, Panel

View as Markdown

To-dos with a due date, assignee, priority and the record they belong to, grouped into overdue, today, upcoming, without a date and done.

  • onToggle(id, done) completes a task; onOpen(id) makes its title a button.
  • grouped={false} gives one flat list, for a record's side panel.

Tasks

Overdue 1

  • Due Nov 14HighDeal · Retainer 2027
    ME

Today 2

  • Due Nov 16Person · Lena Hartmann
    ME
  • Due Nov 16Deal · Shop migration
    JP

Upcoming 1

  • Due Nov 19LowCompany · Nordhafen Outdoor
    LB

No date 1

Done 1

  • Due Nov 12
    JP

Props

TaskList

PropTypeNotes
tasksCrmTask[]Required
today?Date | string | numberThe day that counts as today; pass it so server and client render the same.
onToggle?(id: string, done: boolean) => void
onOpen?(id: string) => void
grouped?booleanGroups: overdue, today, upcoming, no date, done (default true).
label?stringAccessible name (default "Tasks").
className?stringExtra class on the root element.
style?CSSPropertiesInline style on the root element.

Panel

PropTypeNotes
side?boolean
title?string
subtitle?string
action?ReactNode
children?ReactNode
surface?Surface`"glass"`: translucent glass over what is behind (maps, 3D, video, photos); `"solid"` opts out inside a glass `UIProvider`.
className?stringExtra class on the root element.
style?CSSPropertiesInline style on the root element.