Recipes
Application Interface
Create custom reusable components

Create a custom reusable component

Problem

You want to save time by creating a custom component that can be reused across your Dynaboard application.

Solution

  1. Browse to the Custom Components tab in the Dynaboard editor
  2. In the top-most panel, click the + button
  3. Use the canvas to design your custom component
  4. Use the Properties panel to configure the inputs to your custom component, which you can access on your page using {{ $props.propName }}
  5. When you’re done, switch back to the Pages panel and select a Page where you’d like to use your new component
  6. From the Command Bar browse to Custom and drag out your new component onto the canvas

Discussion

Known Limitations

  • Components can be nested within one another, but cannot be themselves recursive (at the moment).

See also