Skip to content
OTF Kit logoOTF Kit

Task Card

Display

Rich task item with priority, assignee, due date, and labels.

View in Storybook
Task Card
Loading Storybook preview…

Installation

bun add @otfdashkit/ui

Usage

Import Task Card from @otfdashkit/ui.

Code
// Task Card — Rich task item with priority, assignee, due date, and labels.
//
// Install:
//   bun add @otfdashkit/ui

import { TaskCard } from '@otfdashkit/ui'

export function Example() {
  return (
    <TaskCard>
      {/* your content */}
    </TaskCard>
  )
}

Props

Props declared in the TaskCard source. Inherited HTML attributes are not listed.

PropTypeDefaultDescription
assigneeInitialsstring'AC'
classNamestring
descriptionstring'Update the user onboarding experience with the new design language.'
dueDatestring'Mar 20'
priority'High' | 'Medium' | 'Low''High'
titlestring'Redesign onboarding flow'

Related