Theia API Documentation v1.69.0
    Preparing search index...
    interface CardProps {
        actionButtons?: CardActionButton[];
        children?: ReactNode;
        className?: string;
        icon?: string;
        maxTitleLines?: number;
        onClick?: () => void;
        subtitle?: string;
        title: string;
        titleTooltip?: string;
    }
    Index

    Properties

    actionButtons?: CardActionButton[]

    Optional action buttons shown in the card footer on hover. When provided, subtitle is rendered as fading text beneath the title and is replaced by the action buttons on hover.

    children?: ReactNode

    Child content

    className?: string

    Additional CSS class

    icon?: string

    Icon class (e.g., codicon)

    maxTitleLines?: number

    Maximum number of lines for title (default: 4)

    onClick?: () => void

    If provided, card is interactive

    subtitle?: string

    Secondary text (e.g., timestamp)

    title: string

    Primary text

    titleTooltip?: string

    Tooltip for title