103
Pass work to a teammate with the summary, open questions and links in one card; when they accept, it flips over to show who owns it now.
akahandoff·hand over·assign
Run this in any project set up for the shadcn CLI. It copies the Handoff Card source into your components folder, so the code is yours to change.
npx shadcn@latest add https://devl.dev/r/handoff-card.jsonImport it and render it. Every prop has a typed default, so it works straight away, and you pass your own data when you’re ready.
import { HandoffCard } from "@/components/handoff-card";
export default function Page() {
return <HandoffCard />;
}A free React component in the Together collection, written in TypeScript with Tailwind CSS on coss ui. MIT licensed.
Read from the Handoff Card source. Everything is optional unless it says required.
| Prop | Type | Default |
|---|---|---|
| fromrequired | HandoffPerson | — |
| torequired | HandoffPerson | — |
| titlerequired | string | — |
| summaryrequired | string | — |
| questions | string[] | [] |
| links | HandoffLink[] | [] |
| sentAt | string | "Today, 4:10 PM" |
| acceptedAt | string | — |
| defaultAccepted | boolean | false |
| onAccept | () => void | — |
| onUndo | () => void | — |
| onAsk | () => void | — |
| className | string | — |