Hiyve Components - v1.0.0
    Preparing search index...

    Props for the DashboardCard wrapper component. Exported as a public primitive for SDK developers building custom dashboards.

    interface DashboardCardProps {
        actions?: ReactNode;
        badge?: number;
        children: ReactNode;
        colors?: Partial<RoomDashboardColors>;
        defaultExpanded?: boolean;
        expandable?: boolean;
        gridSize?: { lg?: number; md?: number; sm?: number; xs?: number };
        icon?: ReactNode;
        id: string;
        maxHeight?: string | number;
        minHeight?: string | number;
        sx?: SxProps<Theme>;
        title: string;
    }
    Index

    Properties

    actions?: ReactNode

    Slot for header action buttons

    badge?: number

    Optional badge count

    children: ReactNode

    Card content

    colors?: Partial<RoomDashboardColors>

    Color overrides

    defaultExpanded?: boolean

    Initial expanded state

    expandable?: boolean

    Whether the card can be expanded/collapsed

    gridSize?: { lg?: number; md?: number; sm?: number; xs?: number }

    Responsive grid sizing

    icon?: ReactNode

    Optional icon in the header

    id: string

    Unique card identifier

    maxHeight?: string | number

    Maximum height

    minHeight?: string | number

    Minimum height

    sx?: SxProps<Theme>

    MUI sx prop

    title: string

    Card title