Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: generate static css icon #390

Open
3 tasks done
robokozo opened this issue Nov 16, 2024 · 1 comment
Open
3 tasks done

Feature: generate static css icon #390

robokozo opened this issue Nov 16, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@robokozo
Copy link

robokozo commented Nov 16, 2024

Clear and concise description of the problem

I've read https://antfu.me/posts/icons-in-pure-css and I recently watched the @antfu nuxt nation presentation around icon loading strategies and was disappointed to learn I wouldn't be able to leverage css icons on an icon heavy work project because it doesn't use unocss.

I understand from this #331 that this type of work is considered out of scope for this particular project, but seeing as there was already a PR for this feature and per @userquin suggestion on #88 I'd like to reopen this discussion. I still think there is general interest in having this feature merged in.

Suggested solution

It seems a lot of work went into attempting to include this functionality originally in #88

Or maybe some documentation around how this can be achieved in vue/react/etc without a specific css framework.

Alternative

N/A

Additional context

No response

Validations

@robokozo robokozo added the enhancement New feature or request label Nov 16, 2024
@antfu
Copy link
Member

antfu commented Nov 17, 2024

I believe this feature would be better fit into a separate plugin - Iconify already provides a few utilities to generate CSS icons easily - feel free to take the idea and make your own project. If you end up using unplugin and has a solid code base, we'd be happy to discuss if moving into organizations and collaborate, etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants