nuxt / icon

The <Icon> component, supporting Iconify, Emojis and custom components.

Home Page:https://stackblitz.com/edit/nuxt-icon-playground?file=app.vue

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TailwindCSS `hidden` class not hiding `Icon`

letavocado opened this issue · comments

TailwindCSS hidden class not hiding Icon.

<Icon name="mdi:chevron-down" class="hidden" />

https://github.com/nuxt-modules/icon/blob/0ae93b806f0633f9ee65599136655c0456ffed95/src/runtime/Icon.vue#L70-L73

I guess with !hidden?

I guess with !hidden?

Yep, it's works with !hidden. And probably when I opened this issue, I thought that the "normal" behavior is when it works with hidden too.

Cheers!