Custom Component Enhancements

For custom components, could we have a few enhancements:

  • The ability to define how the component is named in the toolbox
  • The ability to define an icon to use within the toolbox
  • A mechanism to write some help text (perhaps as a docstring) which then becomes accessible from the toolbox
6 Likes

Lately, Custom Components seem like a place with a lot of low-hanging fruit for improving Anvil (though of course I have no idea what’s involved in actually improving them). I’m repeatedly surprised at the inability to do basic things. It is nowhere near possible to create a custom component that functions as smoothly as a native component.

One current opportunity for help text, though: each property has a “Property Description” field which shows up as a tooltip in the sidebar toolbox. (But it would be nice to be able to make a higher-level “Learn more about…” help document.)

3 Likes