# tailwindcss-size-plugin

> A Tailwind CSS plugin that lets you set the width and height at the same time.

Latest version **0.0.4** (published 2022-10-03) · MIT license · 0 weekly downloads

## Install

```sh
npm install tailwindcss-size-plugin
pnpm add tailwindcss-size-plugin
yarn add tailwindcss-size-plugin
bun add tailwindcss-size-plugin
```

## 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.0.4 |
| Published | 2022-10-03 |
| First published | 2022-10-03 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 2.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Jeroen Gerits |
| Maintainers | jeroengerits |
| Keywords | Tailwind CSS, CSS, Plugin, Size, Width, Height |

## Links

- npm: https://www.npmjs.com/package/tailwindcss-size-plugin
- Repository: https://github.com/pixeen/tailwindcss-size-plugin
- Homepage: https://github.com/pixeen/tailwindcss-size-plugin#readme
- Issues: https://github.com/pixeen/tailwindcss-size-plugin/issues
- npm.io page: https://npm.io/package/tailwindcss-size-plugin

## Alternatives

- [@sveltejs/kit](https://npm.io/package/@sveltejs/kit.md) — 2.2M weekly downloads
- [@tangle-network/brand](https://npm.io/package/@tangle-network/brand.md) — 10.0K weekly downloads
- [seneca](https://npm.io/package/seneca.md) — 7.4K weekly downloads
- [@bsb/base](https://npm.io/package/@bsb/base.md) — 7.2K weekly downloads
- [@modern-js/plugin-swc](https://npm.io/package/@modern-js/plugin-swc.md) — 3.4K weekly downloads

## Recent versions

- 0.0.4 (latest) — 2022-10-03
- 0.0.3 — 2022-10-03
- 0.0.2 — 2022-10-03
- 0.0.1 — 2022-10-03

## README

# Tailwind CSS size plugin

A Tailwind CSS plugin that lets you set the width and height at the same time.

## Getting Started

Install the plugin:

```bash
npm install -D tailwindcss-size-plugin
# or
yarn add -D tailwindcss-size-plugin
```

Modify the `tailwind.config.js` file:

```js
module.exports = {
  // --snip--
  plugins: [require("tailwindcss-size-plugin")()],
};
```

## Usage

The size plugin provides a `size` component that lets you set the width and height of an element at the same time.

```html
<div class="s-64">64 square</div>
<div class="s-[100px]">100px square</div>
```

## Features

- Supports arbitrary values

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