Skip to content

EntityRow

Entity list row/card with a completed state that reads as retired.

Prop Type Notes
title (required) React.ReactNode
meta React.ReactNode Secondary line: owner, dates, ids.
completed boolean Retired, not deleted: parchment ground + settled chip. NO strikethrough — a finished title is still read and searched; damage to the text says "mistake", not "done".
completedLabel React.ReactNode
end React.ReactNode Right-hand slot: badges, actions.
className string
children React.ReactNode

Other props pass through to the root element (React.HTMLAttributes<HTMLDivElement>).

Preview

Declarations

TypeScript
export interface EntityRowProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'title'> {
  title: React.ReactNode;
  /** Secondary line: owner, dates, ids. */
  meta?: React.ReactNode;
  /** Retired, not deleted: parchment ground + settled chip. NO strikethrough —
   *  a finished title is still read and searched; damage to the text says
   *  "mistake", not "done". */
  completed?: boolean;
  completedLabel?: React.ReactNode;
  /** Right-hand slot: badges, actions. */
  end?: React.ReactNode;
  className?: string;
  children?: React.ReactNode;
}

/**
 * Entity list row/card with a completed state that reads as retired.
 */
export function EntityRow(props: EntityRowProps): React.JSX.Element;