Component API

<kanban-card>

Open live example

A single kanban card's compact overview: its ticket number and title only.
Purely presentational and metadata-only — it is created and driven by
kanban-board, which owns drag-and-drop, selection, and the richer detail
view (description, state, and timestamps live in the board's popover, not
here). The board sets draggable, toggles the dragging/grabbed
attributes for pointer and keyboard moves, and binds the open/keyboard
handlers; focus is delegated to the inner control so the board can move
keyboard focus to a card after a move.

Install

import "@f-ewald/components/kanban-card.js";

Usage

<kanban-card></kanban-card>

Attributes / properties

PropertyAttributeTypeDefaultDescription
ticketticketstring""Ticket identifier shown before the title, e.g. "PROJ-142".
headingheadingstring""Card title shown in the overview.

Events

None.

Slots

None.

CSS custom properties

Custom property
--ui-border
--ui-border-width
--ui-focus-ring
--ui-font
--ui-font-size
--ui-font-size-sm
--ui-font-weight-medium
--ui-highlight
--ui-line-height-tight
--ui-primary
--ui-radius
--ui-shadow
--ui-surface
--ui-text
--ui-text-muted