# vx-vue

> VxVue provides a handful of reusable Vue components styled with Tailwind CSS. All components are geared towards simplicity leaving room for customizations, extensions or adaptations. At some point a more verbose documentation than this brief readme might

Latest version **1.5.7** (published 2026-05-05) · MIT license · 0 weekly downloads

## Install

```sh
npm install vx-vue
pnpm add vx-vue
yarn add vx-vue
bun add vx-vue
```

## Health

**Score 50/100 (C)** — status: stable.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

## Facts

| | |
|---|---|
| Version | 1.5.7 |
| Published | 2026-05-05 |
| First published | 2023-10-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 151.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Maintainers | vectrex |

## Links

- npm: https://www.npmjs.com/package/vx-vue
- Repository: https://github.com/Vectrex/vxVue
- Homepage: https://vectrex.github.io/vxVue
- Issues: https://github.com/Vectrex/vxVue/issues
- npm.io page: https://npm.io/package/vx-vue

## Recent versions

- 1.5.7 (latest) — 2026-05-05
- 1.5.6 — 2026-04-30
- 1.5.5 — 2026-04-21
- 1.5.4 — 2026-04-14
- 1.5.3 — 2026-03-20
- 1.5.2 — 2026-03-19
- 1.5.1 — 2026-03-19
- 1.5.0 — 2026-03-17
- 1.4.6 — 2026-02-27
- 1.4.5 — 2026-01-24
- 1.4.4 — 2025-11-15
- 1.4.3 — 2025-11-15
- 1.4.2 — 2025-10-26
- 1.4.1 — 2025-10-20
- 1.4.0 — 2025-10-18
- … 47 more at https://npm.io/package/vx-vue/versions

## README

# vxVue

## Introduction
VxVue provides a handful of reusable Vue components styled with Tailwind CSS. All components are geared towards simplicity leaving room for customizations, extensions or adaptations. At some point a more verbose documentation than this brief readme might emerge.

## Requirements
* Vue.js 3.5+
* Tailwind CSS 4+

## Setup
The official Tailwind CSS forms plugin is used to provide basic styling of the form components using the class strategy which allows the styling of non-form elements consistently.
An easy to configure color theming is applied. `vxvue` and `vxvue-alt` are used as the two colors scales. Since Tailwind won't observe classes in imported components tailwind.config.js should also list the node package in the content array. 

```css
@source '<path-to-node_modules>/vx-vue/**/*.js'
```

Import the few scoped styles along with your CSS add to your main.js or index.js file.

```js
import 'vx-vue/vx-vue.css'
```
The components use an extra color palette. Used library specific colors are

```
*-vxvue
*-vxvue-50
*-vxvue-100
*-vxvue-600
*-vxvue-700

*-vxvue-alt
*-vxvue-alt-50
*-vxvue-alt-100
*-vxvue-alt-300
*-vxvue-alt-800
*-vxvue-alt-900

*-error
*-error-50
*-error-600

*-success
*-success-700
```

Style them in your projects main CSS file with

```css
@theme {
    --color-vxvue-50: ...;
    --color-vxvue-100: ...;
    ...
    --color-vxvue: ...;

    --color-vxvue-alt-50: ...;
    --color-vxvue-alt-100: ...;
    ...
    --color-vxvue-alt: -...;
```

Stacking of absolutely or fixed positioned elements use the following CSS variables to determine their position in the z-index stack:

```
--zIndex-confirm: 1000;
--zIndex-toast: 900;
--zIndex-dropdown: 800;
--zIndex-label: 100;
--zIndex-modal: 600;
```

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