Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
N

neat

> 前端框架
Open source

A fluid and flexible grid Sass framework

4.4K stars0 likes1 views
WebsiteGitHub

About

A fluid and flexible grid Sass framework

A lightweight and flexible Sass grid

Note: This project is no longer maintained. We favor and encourage people to use native CSS features like Grid and Flexbox. Float-based grid frameworks like Neat are no longer necessary.

Neat is a fluid grid framework with the aim of being easy enough to use out of the box and flexible enough to customize down the road.

Helpful Links

  • Demos
  • Documentation
  • Change log
  • Twitter
  • Stack Overflow
  • Neat 2.0 Building the future of floated Sass grids by @whmii
  • Getting started with Neat 2.0, a lightweight and flexible Sass grid by @whmii

Table of Contents

  • Requirements
  • Installation
  • Command Line Interface
  • The Bourbon Family
  • Contributing
  • License
  • About

Requirements

  • Sass 3.4+ or LibSass 3.3+

Installation

  1. Install the Neat gem using the RubyGems package manager:

    bash
    gem install neat
  2. Install or update Neat’s dependencies:

    bash
    gem install sass # or gem update sass

    Pro Tip: You can target installation into a specific directory using the path flag:

    bash
    neat install --path my/custom/path/
  3. Install the Neat library into the current directory:

    bash
    neat install
  4. Import Neat in your stylesheet:

    scss
    @import "neat/neat";

    It’s not recommended to add or modify the Neat files so that you can update them easily.

Installation for Ruby on Rails 4.2+

  1. Add Neat to your Gemfile:

    ruby
    gem "neat"
  2. Then run:

    bash
    bundle install

    If you see the error Bundler could not find compatible versions for gem "sass", run:

    bash
    bundle update sass
  3. Import Neat in your application.scss:

    scss
    @import "neat";

    It should be noted that @import rules are not compatible with Sprockets directives. You need to use one or the other.

Installing with npm and using a Node-based asset pipeline

  1. Add Neat as a dependency:

    bash
    npm install --save bourbon-neat
  2. If you’re using eyeglass, skip to Step 3. Otherwise, you’ll need to add Neat to your node-sass includePaths option. require("bourbon-neat").includePaths is an array of directories that you should pass to node-sass. How you do this depends on how node-sass is integrated into your project.

  3. Import Neat into your Sass files:

    scss
    @import "neat";

Installing older versions of Neat

  1. Uninstall any Neat gem versions you already have:

    bash
    gem uninstall neat
  2. Reinstall the Neat gem, using the -v flag to specify the version you need:

    bash
    gem install neat -v 1.8.1
  3. Follow the instructions above to install Neat into your project.

Command Line Interface

bash
neat [options]

Options

Option Description
-h, --help Show help
-v, --version Show the version number
--path Specify a custom path
--force Force install (overwrite)

Commands

Command Description
neat install Install Neat into the current directory
neat update Overwrite and update Neat in the current directory
neat remove Removes Neat from the current directory
neat help Show help
neat version Show the version number

The Bourbon family

  • Bourbon: A lightweight Sass tool set

  • Bitters: Scaffold styles, variables and structure for Bourbon projects

Contributing

See the contributing document. Thank you, contributors!

License

Neat is copyright © 2012 thoughtbot, inc. It is free software, and may be redistributed under the terms specified in the license.

About

Neat is maintained by the thoughtbot design team. It is funded by thoughtbot, inc. and the names and logos for thoughtbot are trademarks of thoughtbot, inc.

We love open-source software! See our other projects or hire us to design, develop, and grow your product.

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Rubybourbonbourbon-familycssgrid

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category前端框架
PricingOpen source

> Related tools

R
React
用于构建用户界面的 JavaScript 库
V
Vue.js
渐进式 JavaScript 框架
N
Next.js
基于 React 的全栈 Web 框架