Im loving playing with the components in the beta, and can see myself using this a lot in the future, one thing that I think would take it to the next level is the ability to assign a list of classes that could be switched between from a dropdown on the instance so that we can have very visual changes along with the content changes currently possible.
5 Likes
Also, assigning additional/different classes can help apply variants to different component instances.
An example from the Bootstrap 5 components
Base component:
<button type="button" class="btn">Base</button>
And the variants:
<button type="button" class="btn btn-primary">Primary</button>
<button type="button" class="btn btn-secondary btn-lg">Secondary Large</button>
<button type="button" class="btn btn-success btn-sm disabled">Success Small Disabled</button>
<button type="button" class="btn btn-outline-danger">Danger Outline</button>
4 Likes
Hey @DylanDuff and @suabahasa.
Simialar was already suggested in the topic I linked above. I’ve added your exact use case to our idea task
Thanks,
Matej
1 Like