OptionalautoRefreshInterval?: numberThe interval between auto refreshes on the dashboard, in seconds.
OptionalclassName?: stringA custom class name to be added to the root element.
The ID of the dashboard.
This is either:
http://localhost:3000/dashboard/1-my-dashboard where the ID is 1
entity_id key of the dashboard object when using the API directly or using the SDK Collection Browser to return dataOptionaldataPickerProps?: Pick<SdkQuestionProps, "entityTypes">Additional props to pass to the query builder rendered by InteractiveQuestion when creating a new dashboard question.
OptionaldrillThroughQuestionHeight?: Height<string | number>Height of a question component when drilled from the dashboard to a question level.
OptionaldrillThroughQuestionProps?: DrillThroughQuestionPropsProps of a question component when drilled from the dashboard to a question level.
OptionalenableEntityNavigation?: booleanWhen true, internal click behaviors (links to dashboards/questions) are preserved. When false (default for SDK), these click behaviors are filtered out.
OptionalhiddenParameters?: string[]A list of parameters to hide.
OptionalinitialParameters?: ParameterValuesInitial values for query parameters, slug-keyed. Applied once on mount; user widget edits afterwards are not reflected back to the host.
For each parameter:
null: strictly cleared, ignoring the parameter's default.
undefined): falls back to the parameter's default (or null if it has no default).
OptionalonLoad?: (dashboard: MetabaseDashboard | null) => voidCallback that is called when the dashboard is loaded.
OptionalonLoadWithoutCards?: (dashboard: MetabaseDashboard | null) => voidCallback that is called when the dashboard is loaded without cards.
OptionalonParametersChange?: (payload: ParameterChangePayload) => voidFires on parameters change. The payload's source distinguishes the initial state on load ('initial-state'), user edits in the UI ('manual-change'), and auto-updates ('auto-change').
OptionalonVisualizationChange?: (A callback function that triggers when a question is opened from a dashboard card or when the user changes the visualization type of a question.
Optionalparameters?: ParameterValuesControlled parameter values, slug-keyed. On every render, this object replaces the dashboard's parameter values:
null is cleared, even if it has a default.
undefined) uses its default (or null if it has no default).
Optionalplugins?: MetabasePluginsConfigAdditional mapper function to override or add drill-down menu. See the implementing custom actions section for more details.
OptionalrenderDrillThroughQuestion?: () => ReactNodeA custom React component to render the question layout. Use namespaced InteractiveQuestion components to build the layout.
Optionalstyle?: CSSPropertiesA custom style object to be added to the root element.
Optionaltoken?: string | nullOptionalwithCardTitle?: booleanWhether the dashboard cards should display a title.
OptionalwithDownloads?: booleanWhether to hide the download button.
OptionalwithSubscriptions?: booleanWhether to show the subscriptions button.
OptionalwithTitle?: booleanWhether the dashboard should display a title.
A dashboard component with the features available in the
InteractiveDashboardcomponent, as well as the ability to add and update questions, layout, and content within your dashboard.