Nuxt UI Pro v1.0 is out with 50+ Vue components.

stylify
stylify

Stylify generates utility-first CSS dynamically based on what you write. Write HTML. Get CSS.



Stylify logo



ChatTwitter FollowGitHub Org's starsGitHub
GitHub Workflow Status (branch)npmnpmGitHub issuesGitHub commit activityGitHub release (latest by date)GitHub contributors

@stylify/nuxt introduction

Note: This plugin is for Nuxt 3 and newer versions. For older versions see @stylify/nuxt-module.

Stylify is a library that uses CSS-like selectors to generate optimized utility-first CSS dynamically based on what you write.
Don't study framework. Focus on coding.

The Nuxt module is a package for symplifing the Stylify integration into the Nuxt.js.
It automatically bundles CSS, mangles selectors and also provides a Stylify Profiler extension for easier development.

Stylify preview

⚑ Why Stylify instead of CSS or inline styles?

Because of fewer CSS headaches, faster coding and extremely optimized output.

✨ Features

  • πŸ’Ž Syntax you already know. Don't waste time studying CSS framework.
  • πŸ’Ž Less switching between HTML/CSS files
  • πŸ’Ž Automagic and Extremely tunned CSS optimization
  • πŸ’Ž Simple CSS Bundles splitting for Layouts/Pages
  • πŸ’Ž Easily Configurable and Extensible
  • πŸ’Ž Prepared components
  • πŸ’Ž Define Variables, Components, Custom selectors
  • πŸ’Ž Add custom macros like ml:2
  • πŸ’Ž Variables can be injected into CSS as CSS variables
  • πŸ’Ž CSS variables can differ for each screen
  • πŸ’Ž Simplify coding with helpers like color:lighten(#000,10)
  • πŸ’Ž Style any device with dynamic screens
  • πŸ’Ž You can mark areas for which CSS should not be
  • πŸ’Ž Split bundles for page/layout/component
  • πŸ’Ž Selectors are minified from long .color:blue to short .a
  • πŸ’Ž No purge needed. CSS is generated only when something is matched
  • πŸ’Ž Components & Custom selectors are attached to utilities. No duplicated property:value
  • πŸ’Ž Hooks can modify CSS or output for example wrap it in CSS layers
  • πŸ’Ž Mangled (hidden/unreadable) HTML classes in production (if mangled)
  • πŸ’Ž Try it with frameworks like Next.js, Astro.build, SolidJS, Qwik Symfony, Nette, Laravel
  • πŸ’Ž Works with bundlers like Webpack, Rollup, Vite.js
  • πŸ’Ž Generated CSS can be used within SCSS, Less, Stylus
  • πŸ’Ž CSS variables can be exported into external files and reused

πŸ”₯ Prepared Copy&Paste Headless Components

Want to know more?

  • Live examples and tutorials can be found in documentation.
  • Information about each release can be found in releases.
  • Have an idea? Found a bug? Feel free to create an issue.

Compatibility

EnvironmentVersion
Node>= 14
Nuxt.jsv3

Stay In Touch

License

MIT

Copyright (c) 2021-present, Vladimír MachÑček