Board card

Playground

Properties

State

Content

Title
Project

Usage

The state prop changes the card appearance: dragging shows a placeholder at the original position, overlay shows the tilted card with its content, and ghost shows a translucent copy. Try dragging the card in Playground to see the placeholder and moving overlay together. Press Space or Enter to pick it up, use the arrow keys to move it and press the same key to drop it. Escape cancels. Reset settings returns the card to its starting position. The example implements dragging; BoardCard does not.

'use client';
import { BoardCard, BoardCardHeading, BoardCardContent } from '@mbsw/ui';

export default function Example() {
  return (
    <BoardCard>
      <BoardCardHeading>{"Design system guide"}</BoardCardHeading>
      <BoardCardContent>{"New user onboarding"}</BoardCardContent>
    </BoardCard>
  );
}

The Playground Code tab includes the full example with your current settings. See Installation for the CSS imports.

Composition