unocss
一旦これはこれは覚えておく。
unocss
一旦これはこれは覚えておく。
- Import CSS files
- CSS modules
- Embed CSS in SVG
Importing CSS files is default - it reduces duplication and keeps small class names.
CSS modules is one of options for using plugin with Next
github.com/iconify/icon...
- Import CSS files
- CSS modules
- Embed CSS in SVG
Importing CSS files is default - it reduces duplication and keeps small class names.
CSS modules is one of options for using plugin with Next
github.com/iconify/icon...
Why would you want that?
- To support legacy browsers if fallback icon is not available.
- Next.js - it doesn't allow css files outside of App.tsx, which sucks.
Result is similar to using Unplugin Icons
Why would you want that?
- To support legacy browsers if fallback icon is not available.
- Next.js - it doesn't allow css files outside of App.tsx, which sucks.
Result is similar to using Unplugin Icons
Iconify Unplugin renders SVG tag, but all attributes are in CSS. This way you can change SVG stuff like stroke width, color, control animations and so on.
Think of it as SVG sprites, but better.
Iconify Unplugin renders SVG tag, but all attributes are in CSS. This way you can change SVG stuff like stroke width, color, control animations and so on.
Think of it as SVG sprites, but better.
This is heavily inspired by Unplugin Icons, but with one big difference: icons are rendered as SVG + CSS.
GitHub repo: github.com/iconify/icon...
Currently it supports components for: Vue, Svelte, React, Preact.
This is an alpha release.
This is heavily inspired by Unplugin Icons, but with one big difference: icons are rendered as SVG + CSS.
GitHub repo: github.com/iconify/icon...
Currently it supports components for: Vue, Svelte, React, Preact.
This is an alpha release.
In 22.5.0!
In 22.5.0!
Prompt:
"Use appropriate icons from @ my-icon-lib.json (use unplugin-icons) in src/components/app-sidebar.tsx"
Thats it.
Prompt:
"Use appropriate icons from @ my-icon-lib.json (use unplugin-icons) in src/components/app-sidebar.tsx"
Thats it.
github.com/techniq/svel...
github.com/techniq/svel...
Icon support has been overhauled with support for component-based icons (via unplugin-icons or others) and iconsets can be defined via settings(). Lastly, the default has changed from MDI to Lucide.
This is the first of many upcoming Svelte UX improvements. Stay tuned!
Icon support has been overhauled with support for component-based icons (via unplugin-icons or others) and iconsets can be defined via settings(). Lastly, the default has changed from MDI to Lucide.
This is the first of many upcoming Svelte UX improvements. Stay tuned!
#svelte #shiki #unplugin-icons #webdev
#svelte #shiki #unplugin-icons #webdev
github.com/unplugin/unp...
github.com/unplugin/unp...