跳到主要内容

How to communicate to the user

As a designer, there are times you want to bring something to the attention of the user. I am not talking about generic information that can go in the documentation, but rather a message that is tailored specifically to this pattern, much like this pattern is specifically tailored to the user.

Doing so is possible with the various store.flag methods, and below is our updated bib making use of this. It's important to realize that things will look the same here. But if you load this pattern in the development environment (or on open clothes.org for that matter) the user will see this:

A message for the user

It's a simple example, but I hope it gets the point across.

Finally, keep in mind that we are now straddling the world of the core library and frontend integration. These messages won't do anything unless you have a frontend the shows them.

In other words core does not care. We are merely storing data in the store and relying on the frontend to show this data to the user. We merely offer standard methods to do so, but you can choose to ignore this info, or show it in a different way in your own frontend implementation.

finishWithBiasTape 1 Sunday, Mar 8, 2026 bib open clothes Tutorial v0.0.1 ( ephemeral ) plugin-annotations:cut 1 plugin-annotations:from plugin-annotations:fabric open clothes Tutorial v0.0.1 plugin-annotations:supportopen clothesBecomeAPatron open clothes.org/patrons/join plugin-annotations:theWhiteInsideOfThisBoxShouldMeasure 10cm x 5cm plugin-annotations:theBlackOutsideOfThisBoxShouldMeasure 4" x 2"

We flagged something for the user