
Reusable Components Across Apps
Turn custom app elements into reusable components that keep styling consistent within and across apps. This work-in-progress demo shows Blobby extracting a tile component, reusing it in…
Transcript
This transcript is auto-generated. Names and product terms may be wrong.
OK. I'm working on a feature that allows you to make parts of your applications reusable using components . This means you can take an element like this KPI tile, create a reusable block from it, and then use it for other tiles, as well as to create other tiles in other applications. If you change this component, it is updated everywhere it is used.
So let's try it right now. Let's edit this application. First, I'll just show you what it looks like now. There 's an article here, a bunch of div tags, and it's all written in a rigid way. All of them. We are going to customize the title. Let 's make it orange. Orange is great. Let's make it bigger.
Let's make it fatter. And, in my opinion, it looks pretty good. OK. We keep it. Now let's ask it to create a component and reuse it . We configure it to create a component so that it can be used in other applications . I didn't say directly "create a component" because you don't have to do that. The system has to figure this out on its own.
I apply it to the rest. OK. If we check them, we will see that the system accesses special elements and uses attributes to change the necessary parts , and it works the same everywhere. We can go further. I want to switch to another app that has its own tiles. And now we can ask it to use this component.
OK. Same. Ahem. You can find these components in a folder that the system creates in the root of your documents. I have a few here. Ahem. It seems to be the one he created. You can view the generated documentation for it, as well as the automatically generated code. We can't edit this yet, but we will soon. Ahem.
And yes, that's all. Thank you.