Kanban Card Preview
ProThe card summary shown beside a hovered or focused card by `svKanbanCardPreview` — description, due date, priority, people, labels, subtasks.
Complexity tier: Application The interactive bar, plus a stated data-volume ceiling, a persistence contract, a bundle budget and an accessible parity surface.
import { SvKanbanCardPreviewComponent } from '@styloviz-pro/kanban';Demo & usage
Basic usage
Usage example — open the gallery for the full interactive demo.
An interactive demo for this component lives in the gallery.
Open live demoMore examples
On the board
One body-portaled panel for the whole board; `previewDelayMs` sets the wait.
When to use
Boards whose cards truncate the description or omit details. Leave it off on touch-first boards, where there is no hover.
Async states
None — this component has nothing to load, so it has no loading, empty or error state to drive.
Inputs
| Name | Type | Default | Description |
|---|---|---|---|
| cardrequired | KanbanCard | — | The card to summarise. |
| locale | string | svLocale() | Locale for the due date. |
Customization & theming
`previewDelayMs` (default 450); `[svKanbanCardPreview]="false"` turns it off.
Best practices
Tip: It closes as a drag starts, so it never covers the drop target.
Accessibility
`role="tooltip"`, referenced by the card's `aria-describedby` while open; opens on focus, closes on Escape.
Feedback on Kanban Card Preview
Spotted a gap in this page, or something that didn't work as described? Comments are GitHub Discussions in the public styloviz/community repo, so posting needs a GitHub account.