Skip to main content

Introduction

Welcome to the official documentation for Afterwind.

warning

Afterwind is still under development and isn't usable for production yet.

What is Afterwind?

Afterwind is a utility library for writing composable Tailwind CSS.

It elevates Tailwind CSS from primitive strings to something you can compose, override, extract, nest, conditionally apply, etc, without needing to resort to messy and unpleasant string manipulation.

It builds on top of standard Tailwind CSS to provide a simple yet powerful model that helps you develop flexible and extensible styling for your components.

What You Should Know

Basic understanding and familiarity with Tailwind CSS is a major preresquite as the documentation assumes you already know.

Main Objectives

The primary goals of this project are:

  • Composability: Provide a simple and intuitive API that allows developers to creating styling for components that can be composed and overridden.
  • Flexibility: Give developers the ability to create very flexible and dynamic components.
  • Simplicity: Enable developers to easily work with Tailwind CSS classes without resorting to messy string manipulation.