petal_components icon indicating copy to clipboard operation
petal_components copied to clipboard

Add tags to the card content

Open obsidienne opened this issue 2 years ago • 3 comments

Hi,

I think the <.card_content> component should allow a tags attributes. Something like this

<.card_content category="My category" heading="Awesome heading" tags={[tag1, tag2, ..., tagn]}>
</.card_content>

The tag being a <.badge color="primary" variant="outline">

Is it a pull request interesting for you ?

obsidienne avatar Oct 12 '22 06:10 obsidienne

Sounds good! Do you have an example of the use cases/what it would look like?

nhobes avatar Oct 13 '22 05:10 nhobes

Hi,

Something like that :)

image

obsidienne avatar Oct 14 '22 07:10 obsidienne

That does look great and I can see the use case. Feel free to submit a PR if you get around to it and I'll take a look :)

nhobes avatar Oct 16 '22 22:10 nhobes

Closing for now.

nhobes avatar Aug 09 '23 01:08 nhobes