# Introduction
ts-css is a blazingly fast utility-first CSS framework built with Bun for exceptional performance. It generates only the CSS you need, with a familiar Tailwind-compatible syntax and powerful optimization features.
## What is ts-css
ts-css is a modern CSS framework that provides utility classes for building user interfaces. Unlike traditional CSS frameworks that ship pre-built components, ts-css gives you low-level utility classes that let you build completely custom designs without ever leaving your HTML.
### Key Features
-**โก๏ธ Blazingly Fast**- Built with Bun for exceptional performance. Generate 1000+ utilities in under 10ms
-**๐ฏ On-Demand Generation**- Only generates CSS for utilities you actually use. Zero bloat, maximum efficiency
-**๐จ Tailwind-Compatible**- Familiar utility classes and syntax. Easy migration path from Tailwind CSS
-**๐ช Fully Typed**- Complete TypeScript support with type-safe configuration and API
-**๐ง Highly Configurable**- Customize theme, colors, spacing, variants, shortcuts, and more
-**๐ฅ Hot Reload**- Watch mode for instant rebuilds during development
-**๐ญ Variant Support**- Responsive, state (hover, focus), dark mode, group/peer, and custom variants
-**โจ Modern CSS**- Grid, Flexbox, animations, transforms, filters, backdrop filters, and more
-**๐จ Class Compilation**- Compile groups of utilities into single optimized class names for smaller HTML
-**๐งช Thoroughly Tested**- 999+ tests including comprehensive performance benchmarks
## Why ts-css
### Performance-First
ts-css is built with Bun, making it one of the fastest CSS frameworks available:
```bash
# Generate 1000+ utilities in under 10ms
cssx build
# โ Built 1243 classes in 8.45ms
```### On-Demand CSS Generation
Unlike traditional frameworks that ship large CSS files, ts-css scans your source files and generates only the CSS you use:```html
Hello ts-css!
```This approach results in:
-**Smaller CSS files**- Only ship what you use
-**Faster load times**- Less CSS to download and parse
-**Better performance**- Reduced render-blocking CSS
### Tailwind-Compatible Syntax
If you know Tailwind, you already know ts-css:```html