# tree-box

> Basic box object.

Latest version **0.4.1** (published 2015-04-27) · MIT license · 0 weekly downloads

## Install

```sh
npm install tree-box
pnpm add tree-box
yarn add tree-box
bun add tree-box
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.4.1 |
| Published | 2015-04-27 |
| First published | 2015-02-12 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Ilia Kolev |
| Maintainers | iliakolev |
| Keywords | css, oocss |

## Links

- npm: https://www.npmjs.com/package/tree-box
- Repository: https://github.com/treeframework/object.box
- Issues: https://github.com/treeframework/object.box/issues
- npm.io page: https://npm.io/package/tree-box

## Dependencies (3)

- [tree-clearfix](https://npm.io/package/tree-clearfix.md) ~0.3.0
- [tree-defaults](https://npm.io/package/tree-defaults.md) ~0.2.5
- [tree-functions](https://npm.io/package/tree-functions.md) ~0.2.5

## Alternatives

- [style-dictionary](https://npm.io/package/style-dictionary.md) — 2.0M weekly downloads
- [postcss-merge-idents](https://npm.io/package/postcss-merge-idents.md) — 1.7M weekly downloads
- [@fontsource/noto-sans](https://npm.io/package/@fontsource/noto-sans.md) — 93.0K weekly downloads
- [uglifycss](https://npm.io/package/uglifycss.md) — 71.6K weekly downloads
- [mat4-interpolate](https://npm.io/package/mat4-interpolate.md) — 23.3K weekly downloads

## Recent versions

- 0.4.1 (latest) — 2015-04-27
- 0.4.0 — 2015-04-24
- 0.3.0 — 2015-04-16
- 0.2.2 — 2015-02-12

## README

# Box

The Box object is simply boxes off content.

## Dependencies

The Box object depends on three other modules:

* [settings.defaults](https://github.com/treeframework/settings.defaults)
* [tools.functions](https://github.com/treeframework/tools.functions)
* [trump.clearfix](https://github.com/treeframework/trump.clearfix)

If you install the `box` object using Bower or npm, you will get these 
dependencies at the same time. If not using Bower or npm, please be sure to 
install and `@import` these dependencies in the  relevant way.

## Installation

You can install the `box` module via Bower, npm, or copy and paste.

### Install using Bower:

```sh
$ bower install tree-box --save
```

Once installed, `@import` into your project in its Object layer:

```scss
@import "bower_componenets/tree-box/object.box";
```

### Install using npm:

```sh
$ npm install tree-box --save
```

### Install via file download

The least recommended option for installation is to simply download
`_object.box.scss` into your project and `@import` it into your project in its
Objects layer.

## Usage

Basic usage of the Box object uses the required classes:

```html
<div class="o-box">...</div>
```

## Options

Other, optional classes can supplement the required base classes:

* `.o-box--flush`: remove all padding from boxes.
* `.o-box--[tiny|small|large|huge]`: alter the padding on boxes.

For example:

```html
<div class="o-box  o-box--large">...</div>
```

## Credits

* **[inuitcss](https://github.com/inuitcss)** Powerful, Sass-based, OOCSS
framework designed with scalability and performance in mind.

---
_Source: https://npm.io/package/tree-box · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
