How do I embed custom react components in superset? #31892
Replies: 1 comment 1 reply
-
Hey @Ohnoimded! I'm here to help you out with any bugs, questions, or contributions you have for the project. Let me know how I can assist you! To embed custom React components in Superset, you can modify the import dashboardComponentsRegistry from '../visualizations/presets/dashboardComponents';
import example from '../visualizations/dashboardComponents/ExampleComponent';
export default function setupDashboardComponents() {
// Add custom dashboard components here. Example:
dashboardComponentsRegistry.set('example', example);
} Additionally, Superset provides various extension points where you can integrate custom React components into its UI. These include areas like the dashboard navigation, SQL editor, and more. You can use these extension points to inject your components into specific parts of the Superset interface [1][2]. For a more detailed guide on creating and registering custom visualization plugins, you can follow the steps outlined in the Superset documentation, which includes using the Superset Yeoman Generator to create and integrate new plugins [3]. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
Beta Was this translation helpful? Give feedback.
-
I want to use multiple custom visualizations within superset in addition to what is offered. Is there a guide or documentation on how to modify the UI with react?
Beta Was this translation helpful? Give feedback.
All reactions