Atelier UI

Search components…

Search components…

Quick Add Popover

A "+ New" popover form with title, type segmented control, due-date chips and validation.

Edit in sandbox

Copy a prompt for your AI coding tool with the source, dependencies and usage

Props

QuickAddPopoverProps

Also accepts all props of Omit<React.ComponentProps<"div">, "children">

PropTypeDefaultDescription
onAdd* required(item: QuickAddItem) => void——
labelstring"New"Label of the trigger button
typesstring[]["Task", "Bug", "Idea"]—
align"start" | "end""start"—
widthnumber320Panel width in px (never wider than the viewport)

Install

$ npx shadcn@latest add https://chromotion.dev/r/quick-add-popover.json

More like this