Stylus logo

Stylus

Expressive, robust, feature-rich CSS language built for nodejs
426
410
+ 1
331

What is Stylus?

Stylus is a revolutionary new language, providing an efficient, dynamic, and expressive way to generate CSS. Supporting both an indented syntax and regular CSS style.
Stylus is a tool in the CSS Pre-processors / Extensions category of a tech stack.
Stylus is an open source tool with 11.2K GitHub stars and 1.1K GitHub forks. Here’s a link to Stylus's open source repository on GitHub

Who uses Stylus?

Companies
99 companies reportedly use Stylus in their tech stacks, including Discord, Accenture, and Coursera.

Developers
296 developers on StackShare have stated that they use Stylus.

Stylus Integrations

Pros of Stylus
69
Simple
54
Indented syntax
38
Efficient
33
Built for node.js
32
Open source
24
Expressive
21
Maintainable
17
Feature-rich
13
Better than CS
6
Variables
5
Functions
3
@extend directive
2
Contempt for curly brackets
2
Very clean
2
Mixins
2
Is Easy
2
No colons, semi-colons or even curly braces
1
Its unique
1
Dynamic selectors
1
Scriptable
1
Easy Efficiently
1
Transparent
1
Supports orthogonal architecture
Decisions about Stylus

Here are some stack decisions, common use cases and reviews by companies and developers who chose Stylus in their tech stack.

awesomebanana2018
Needs advice
on
PostCSSPostCSSSassSass
and
StylusStylus

Originally, I was going to start using Sass with Parcel, but then I learned about Stylus, which looked interesting because it can get the property values of something directly instead of through variables, and PostCSS, which looked interesting because you can customize your Pre/Post-processing. Which tool would you recommend?

See more

Blog Posts

JavaScriptGitHubGit+33
20
2090
Jun 19 2015 at 6:37AM

ReadMe.io

JavaScriptGitHubNode.js+25
12
2374

Stylus Alternatives & Comparisons

What are some alternatives to Stylus?
Sass
Sass is an extension of CSS3, adding nested rules, variables, mixins, selector inheritance, and more. It's translated to well-formatted, standard CSS using the command line tool or a web-framework plugin.
JavaScript
JavaScript is most known as the scripting language for Web pages, but used in many non-browser environments as well such as node.js or Apache CouchDB. It is a prototype-based, multi-paradigm scripting language that is dynamic,and supports object-oriented, imperative, and functional programming styles.
Git
Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.
GitHub
GitHub is the best place to share code with friends, co-workers, classmates, and complete strangers. Over three million people use GitHub to build amazing things together.
Python
Python is a general purpose programming language created by Guido Van Rossum. Python is most praised for its elegant syntax and readable code, if you are just beginning your programming career python suits you best.
See all alternatives

Stylus's Followers
410 developers follow Stylus to keep up with related blogs and decisions.