Board Card
- Stable
- WCAG 2.2 evidence
- RTL
A Kanban card: avatar, name, role, drag handle and a detail line. A React Aria GridListItem, so it
must be rendered in a BoardColumn (or your own GridList with useDragAndDrop). Dragging (data-dragging) shows the
brand border and the large shadow from Figma; the handle shows its Grabbed state. Inside a Board, the card also has a Move menu (Move up, Move down, Move to column): the single-pointer alternative to
dragging (WCAG 2.5.7). Keyboard: arrow keys move between cards and into the menu and the handle; Enter on the handle starts
a keyboard drag that can cross columns with Tab (WCAG 2.1.1). The row is named by name and described by subtitle
(WCAG 4.1.2, 1.3.1). Consumer duty: names that identify each card; translated strings on the Board.
import { BoardCard } from "@nexera-ui/react";- 4
- examples
- 26
- props
- 1
- live controls
- 1
- platform
- 13
- WCAG criteria
- 2
- blocks use it
Try every prop. Copy the code.
Change the props and the code updates. Check light and dark, LTR and RTL, and phone width.
import { BoardCard } from "@nexera-ui/react";
<BoardCard />Examples 3
The same examples as Storybook, rendered live. Open Code to copy one.
Kanban board
A small hiring board. Drag cards between columns, or use the keyboard (arrow to the handle, Enter, Tab to another column, arrows, Enter), or each card's Move menu (Move up, Move down, Move to column): the single-pointer alternative to dragging (WCAG 2.5.7). Empty columns show the Figma Placeholder.
import { useState } from "react";
import { Board, BoardCard, BoardColumn } from "@nexera-ui/react";
interface Candidate {
id: string;
name: string;
role: string;
detail: string;
}
const pipeline: BoardColumnData<Candidate>[] = [
{
id: "applied",
title: "Applied",
items: [
{
id: "zara",
name: "Zara Siddiqui",
role: "Frontend engineer",
detail: "Applied 3 days ago",
},
{ id: "omar", name: "Omar Farooq", role: "Data analyst", detail: "Applied 5 days ago" },
{ id: "sana", name: "Sana Malik", role: "QA engineer", detail: "Applied 1 week ago" },
],
},
{
id: "screening",
title: "Screening",
items: [
{
id: "bilal",
name: "Bilal Ahmed",
role: "Backend engineer",
detail: "Phone screen on 08 Oct 2026",
},
],
},
{
id: "interview",
title: "Interview",
items: [
{
id: "hina",
name: "Hina Baig",
role: "Product designer",
detail: "Panel on 12 Oct 2026",
},
],
},
{ id: "offer", title: "Offer", items: [] },
];
function KanbanDemo() {
const [columns, setColumns] = useState(pipeline);
return (
<Board columns={columns} onColumnsChange={setColumns}>
{columns.map((column) => (
<section key={column.id} className="flex w-60 flex-col gap-2 rounded-lg bg-sunken p-2">
<h3
id={`board-${column.id}`}
className="m-0 flex items-baseline justify-between px-1 text-heading-h4 text-primary"
>
{column.title}
<span className="text-body-caption text-muted">{column.items.length}</span>
</h3>
<BoardColumn<Candidate> columnId={column.id} aria-labelledby={`board-${column.id}`}>
{(card) => <BoardCard name={card.name} subtitle={card.role} detail={card.detail} />}
</BoardColumn>
</section>
))}
</Board>
);
}
export function KanbanBoard() {
return <KanbanDemo />;
}
Sortable shortlist
The same candidates as a sortable list (SortableList + SortableItem), for ranking a shortlist.
import { useState } from "react";
import { SortableItem, SortableList } from "@nexera-ui/react";
interface Candidate {
id: string;
name: string;
role: string;
detail: string;
}
const pipeline: BoardColumnData<Candidate>[] = [
{
id: "applied",
title: "Applied",
items: [
{
id: "zara",
name: "Zara Siddiqui",
role: "Frontend engineer",
detail: "Applied 3 days ago",
},
{ id: "omar", name: "Omar Farooq", role: "Data analyst", detail: "Applied 5 days ago" },
{ id: "sana", name: "Sana Malik", role: "QA engineer", detail: "Applied 1 week ago" },
],
},
{
id: "screening",
title: "Screening",
items: [
{
id: "bilal",
name: "Bilal Ahmed",
role: "Backend engineer",
detail: "Phone screen on 08 Oct 2026",
},
],
},
{
id: "interview",
title: "Interview",
items: [
{
id: "hina",
name: "Hina Baig",
role: "Product designer",
detail: "Panel on 12 Oct 2026",
},
],
},
{ id: "offer", title: "Offer", items: [] },
];
function ShortlistDemo() {
const [items, setItems] = useState(pipeline[0]?.items ?? []);
return (
<SortableList
aria-label="Shortlist ranking"
items={items}
onReorder={setItems}
className="max-w-[27.5rem]"
>
{(card) => <SortableItem label={card.name} meta={`${card.role} · ${card.detail}`} />}
</SortableList>
);
}
export function SortableShortlist() {
return <ShortlistDemo />;
}
Long content and avatar
Long names, roles and details wrap; avatar takes a picture (here an SVG) instead of the initials.
import { Board, BoardCard, BoardColumn } from "@nexera-ui/react";
export function LongContentAndAvatar() {
return (
<Board
defaultColumns={[
{
id: "c",
title: "Interview",
items: [{ id: "a" }, { id: "b" }],
},
]}
>
<BoardColumn columnId="c" className="w-60">
{(item) =>
item.id === "a" ? (
<BoardCard
name="Muhammad Abdullah Rehman Chaudhry"
subtitle="Senior site reliability engineer, platform infrastructure"
detail="Second interview on 14 Oct 2026 at 15:30 PKT"
/>
) : (
<BoardCard
name="Ayesha Khan"
subtitle="People partner"
detail="Applied today"
avatar={
<svg viewBox="0 0 28 28" className="size-full" aria-hidden="true" focusable="false">
<rect width="28" height="28" className="fill-status-leave-bg" />
<circle cx="14" cy="11" r="5" className="fill-status-leave-solid" />
<path d="M4 28c1-6 5-9 10-9s9 3 10 9z" className="fill-status-leave-solid" />
</svg>
}
/>
)
}
</BoardColumn>
</Board>
);
}
Props 26
Press "Try it" on a card to load that prop into the playground.
26 props shown
name*NexerastringPerson or item name. Also the row name and the source of the avatar initials.
subtitleNexeraReactNodeLine under the name, for example the job title. Read as the row description.
Named subtitle because role is the ARIA role attribute.
detailNexeraReactNodeBottom line, for example "Applied 3 days ago".
avatarNexeraReactNodeContent of the 28 px avatar circle, for example <img src={photo} alt="" />. Decorative: the name is
shown next to it. Defaults to the initials of name.
textValueNexerastringPlain-text name used for typeahead, the drag handle name ("Drag <text>") and announcements.
classNameNexerastringExtra classes, merged last so they win over the defaults.
styleNexeraCSSPropertiesInline style.
idReact AriaKeyThe unique id of the item.
valueReact AriaobjectThe object value that this item represents. When using dynamic collections, this is set automatically.
isDisabledReact AriabooleanWhether the item is disabled.
onActionReact Aria() => voidHandler that is called when a user performs an action on the item. The exact user event depends
on the collection's selectionBehavior prop and the interaction modality.
focusModeReact Aria"child" | "row"Whether the row or its first focusable child element should be focused when navigating to the row. Defaults to 'row'.
allowsArrowNavigationReact AriabooleanWhether the row should support arrow key navigation even when the containing collection uses tab keyboard navigation. Allows users to navigate between rows with arrow keys while focus is on an interactive child element within the row.
hrefReact AriastringA URL to link to. See [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#href).
hrefLangReact AriastringHints at the human language of the linked URL. See[MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#hreflang).
targetReact AriaHTMLAttributeAnchorTargetThe target window for the link. See [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#target).
relReact AriastringThe relationship between the linked resource and the current page. See [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/rel).
downloadReact Ariastring | booleanCauses the browser to download the linked URL. A string may be provided to suggest a file name. See [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#download).
pingReact AriastringA space-separated list of URLs to ping when the link is followed. See [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#ping).
referrerPolicyReact Aria"" | "no-referrer" | "no-referrer-when-downgrade" | "origin" | "origin-when-cross-origin" | "same-origin" | "strict-origin" | "strict-origin-when-cross-origin" | "unsafe-url"How much of the referrer to send when following the link. See [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#referrerpolicy).
routerOptionsReact ArianeverOptions for the configured client side router.
onPressReact Aria(e: PressEvent) => voidHandler that is called when the press is released over the target.
onPressStartReact Aria(e: PressEvent) => voidHandler that is called when a press interaction starts.
onPressEndReact Aria(e: PressEvent) => voidHandler that is called when a press interaction ends, either over the target or when the pointer leaves the target.
onPressChangeReact Aria(isPressed: boolean) => voidHandler that is called when the press state changes.
onPressUpReact Aria(e: PressEvent) => voidHandler that is called when a press is released over the target, regardless of whether it started on the target or not.
* Required. React Aria props shown are the ones most apps use; the component accepts the rest of its React Aria props too.
Accessible by default.
Built on React Aria, and covered by the WCAG 2.2 evidence generated on every build.
WCAG 2.2 evidence
8 direct · 5 supporting- 1.1.1Non-text ContentLevel A · tested directly
- 1.3.1Info and RelationshipsLevel A · tested directly
- 1.4.1Use of ColorLevel A · supporting test
- 1.4.4Resize TextLevel AA · supporting test
- 1.4.10ReflowLevel AA · supporting test
- 1.4.11Non-text ContrastLevel AA · supporting test
- 1.4.12Text SpacingLevel AA · supporting test
- 2.1.1KeyboardLevel A · tested directly
- 2.4.3Focus OrderLevel A · tested directly
- 2.4.7Focus VisibleLevel AA · tested directly
- 2.5.7Dragging MovementsLevel AA · tested directly
- 4.1.2Name, Role, ValueLevel A · tested directly
- 4.1.3Status MessagesLevel AA · tested directly
Fits any width.
Nexera components respond to the space they are given. Drag the corner of the frame, or pick a width.
Styling hooks
Pass className to add Tailwind classes (merged last). State is exposed as data attributes, so you can style it with variants like data-pressed:.
data-allows-draggingdata-disableddata-draggingdata-drop-targetdata-hovered
<BoardCard className="data-allows-dragging:opacity-90 shadow-sm" />Used in blocks
Related components
- ButtonTriggers an action such as Save, Submit, Approve or Delete.
- ButtonGroupItemOne toggle in a joined row of buttons, for example a List / Grid view switch or a set of filters.
- ContextMenuThe menu of actions for an element, opened where the user asks for it: right-click, long-press on touch screens, and from the keyboard with Shift+F10 or the ContextMenu key (the browser reports both as a `contextmenu` event on the focused element; on macOS, Control+Enter).
- DragHandleGrip that starts a drag of the collection item it sits in.
- DropIndicatorInsertion line shown between two items while something is dragged over a `GridList` or `ListBox`.
- IconButtonA square, icon-only button for compact actions such as Settings, Close or Delete row.
- MenuA list of actions or options that opens from a trigger.
- MenuDividerSeparates groups of items in a `Menu` or `ContextMenu`.