Search anything...⌘K
  • getting started

    • Welcome
    • Installation
    • Browser support
    • Performances
  • features

    • Styling
    • Styling props
    • Theming
    • Plugins
    • Breakpoints
    • SSR
    • Production
  • css utilities

    • Installation
    • Methods
    • Flex
    • Grid
    • Margin
    • Padding
  • guides

    • Using with Next.js
    • Using with Create-react-app
    • Using with Gatsby
    • Using with TailwindCSS
  • getting started

    • Welcome
    • Installation
    • Browser support
    • Performances
  • features

    • Styling
    • Styling props
    • Theming
    • Plugins
    • Breakpoints
    • SSR
    • Production
  • css utilities

    • Installation
    • Methods
    • Flex
    • Grid
    • Margin
    • Padding
  • guides

    • Using with Next.js
    • Using with Create-react-app
    • Using with Gatsby
    • Using with TailwindCSS

Welcome

Welcome to the documentation of NiftyCSS, a CSS-in-TS, framework-agnostic library to rapidly create reusable designs.

Head hover to CSS-in-what? to get more informations about CSS-in-TS.

See performances to go deeper inside how NiftyCSS works.

Table Of Contents

Features

CSS-in-what?

CSS-in-TS is the next generation of CSS-in-JS. It combines the power of CSS-in-JS and TypeScript.

This allows for a better DX (developer experience) with type-safe styles: your IDE will alert you automatically if one of your CSS rules is wrong. And no need to install a third-party extension for your IDE - it's all thanks to TypeScript.

You also get powerful features like theming with auto-completion of your theme keys, or auto-completion for styling props.

You can still use NiftyCSS with plain JavaScript, however, it is not recommended.