Tag

UnoCSS

0 views collected around this technical thread.

DeWu Technology
DeWu Technology
May 21, 2025 · Frontend Development

From Hand‑Written CSS to Atomic CSS: Evolution, Pain Points, and Modern Solutions

The article examines the drawbacks of writing raw CSS, explains how preprocessors, naming conventions, modular approaches, CSS‑in‑JS, and atomic‑CSS frameworks like Tailwind and UnoCSS address redundancy, maintenance, and scalability, and provides best‑practice recommendations for modern front‑end development.

Atomic CSSCSSCSS Modules
0 likes · 26 min read
From Hand‑Written CSS to Atomic CSS: Evolution, Pain Points, and Modern Solutions
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Feb 12, 2025 · Frontend Development

UnoCSS Installation, Basic Usage, Presets, Transformers, and Common Tips

This article provides a comprehensive guide to UnoCSS, covering installation in Vue 3 + Vite and Nuxt 3 projects, basic syntax and interactive documentation, Iconify SVG integration, various presets and transformers, as well as practical shortcuts, responsive design, safelist handling, custom rules, theming, and dark‑mode support.

CSS UtilityNuxtPresets
0 likes · 22 min read
UnoCSS Installation, Basic Usage, Presets, Transformers, and Common Tips
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Dec 19, 2024 · Frontend Development

Onionl-UI: Building a Vue 3 Component Library – Architecture, Build Process, and Unit Testing

This article introduces Onionl-UI, a newly created Vue 3 component library, describing its motivation, current status, technology choices such as Vite and UnoCSS, directory layout, build configuration, component implementation, and unit testing with Vitest, offering a practical walkthrough for frontend engineers.

TestingUnoCSSVue
0 likes · 8 min read
Onionl-UI: Building a Vue 3 Component Library – Architecture, Build Process, and Unit Testing
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Nov 17, 2024 · Frontend Development

Using UnoCSS Icon Preset to Load Custom SVG Icons Without Extra Resources

This article explains how to replace traditional iconfont workflows by leveraging UnoCSS's Icons preset and FileSystemIconLoader to import local SVG files, customize size and color via utility classes, and manage icons efficiently with best‑practice folder structures and rendering options.

CSSIcon PresetJavaScript
0 likes · 8 min read
Using UnoCSS Icon Preset to Load Custom SVG Icons Without Extra Resources
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Oct 24, 2024 · Frontend Development

Integrating Unocss Icon Solution into a Vite Vue Project

This tutorial introduces common icon approaches, explains the Unocss icon scheme built on SVG and Iconify, and provides step‑by‑step instructions—including Vite project setup, configuration files, and usage examples—to help front‑end developers efficiently add scalable, color‑aware icons to Vue applications.

CSS IconsIconifyUnoCSS
0 likes · 8 min read
Integrating Unocss Icon Solution into a Vite Vue Project
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Aug 3, 2024 · Frontend Development

Common Front‑End Issues on iOS, Android, and Web: Border‑Radius, Text Overflow, Button Focus, Coupon Hole Effect, Clipboard Compatibility, UnoCSS, and CORS Options Requests

This article explains several practical front‑end problems—including iOS border‑radius loss with transforms, text‑overflow truncation on iOS, Android button focus outlines, CSS coupon hole effects, clipboard API compatibility, UnoCSS style loss after bundling, and CORS OPTIONS request failures on low‑end devices—along with clear code‑based solutions.

CORSCSSClipboard
0 likes · 6 min read
Common Front‑End Issues on iOS, Android, and Web: Border‑Radius, Text Overflow, Button Focus, Coupon Hole Effect, Clipboard Compatibility, UnoCSS, and CORS Options Requests
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Apr 21, 2024 · Frontend Development

Enhancing Desktop Support and Nuxt3 Integration for the Varlet UI Component Library

This article details recent updates to Varlet, a Material Design‑based mobile component library, including full desktop support, improved keyboard interactions, a Nuxt3 module for automatic component import, UnoCSS/TailwindCSS integration, and a Material Design 3 theme generator, while inviting community contributions.

Nuxt3TailwindCSSUnoCSS
0 likes · 6 min read
Enhancing Desktop Support and Nuxt3 Integration for the Varlet UI Component Library
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Mar 25, 2024 · Frontend Development

Using Unocss with Vue and Sass: Installation, Configuration, and Personal Insights

This article introduces Unocss, explains how to install and configure it with Vue and Sass, details common presets, transformers, and usage tips, and shares the author’s personal experiences and recommendations for adopting atomic CSS in frontend projects.

CSSSASSUnoCSS
0 likes · 20 min read
Using Unocss with Vue and Sass: Installation, Configuration, and Personal Insights
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Mar 12, 2024 · Frontend Development

How Much Faster Is unocss Compared to Tailwind CSS?

This article examines the performance differences between the atomic CSS engines unocss and Tailwind CSS, presenting benchmark tests on a MacBook M1 using Vite and PostCSS setups, analyzing build times, the impact of CSS AST parsing, and discussing practical implications for frontend development.

CSSTailwindCSSUnoCSS
0 likes · 7 min read
How Much Faster Is unocss Compared to Tailwind CSS?
ByteDance Web Infra
ByteDance Web Infra
Nov 18, 2021 · Frontend Development

Pure CSS Icons with UnoCSS: DataURI, Scaling, Coloring, and Masking Techniques

This article explains how to embed any SVG icon in pure CSS using UnoCSS presets, DataURI encoding, scalable em‑based sizing, context‑aware coloring via CSS masks, and provides practical code examples for both monochrome and multicolor icons.

CSSDataURIIcons
0 likes · 11 min read
Pure CSS Icons with UnoCSS: DataURI, Scaling, Coloring, and Masking Techniques