# tailwind-helpers-vue

> Helper Vue functions for TailwindCSS

Latest version **0.0.2** (published 2023-04-19) · ISC license · 0 weekly downloads

## Install

```sh
npm install tailwind-helpers-vue
pnpm add tailwind-helpers-vue
yarn add tailwind-helpers-vue
bun add tailwind-helpers-vue
```

## Health

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

Positive: has types; no vulnerabilities; high quality score.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.2 |
| Published | 2023-04-19 |
| First published | 2023-04-19 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 2.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | pheeque |
| Maintainers | pheeque |
| Keywords | TailwindCSS, Vue, JavaScript |

## Links

- npm: https://www.npmjs.com/package/tailwind-helpers-vue
- Repository: https://github.com/pheeque/tailwind-helpers-vue
- Homepage: https://github.com/pheeque/tailwind-helpers-vue#readme
- Issues: https://github.com/pheeque/tailwind-helpers-vue/issues
- npm.io page: https://npm.io/package/tailwind-helpers-vue

## Dependencies (1)

- [vue](https://npm.io/package/vue.md) ^3.2.47

## Alternatives

- [@sveltejs/kit](https://npm.io/package/@sveltejs/kit.md) — 2.2M weekly downloads
- [@atlaskit/theme](https://npm.io/package/@atlaskit/theme.md) — 402.0K 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

## Recent versions

- 0.0.2 (latest) — 2023-04-19
- 0.0.1 — 2023-04-19

## README

# tailwind-helpers-vue

Helper Vue.js functions for TailwindCSS

## Installation

`npm install tailwind-helpers-vue`

## Functions

### useBreakpoint

Determine the active device breakpoint using Tailwind labels.

```js
import { useBreakpoint } from 'tailwind-helpers-vue';

const menuIsOpen = ref(true);

const isDesktop = useBreakpoint('sm'); // md, lg, xl, 2xl

watch(
  isDesktop,
  () => {
    menuIsOpen.value = isDesktop.value;
  },
  { immediate: true }
);

```

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