Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tailwindlabs/tailwindui-vue

Deprecated, please use the Headless UI repo instead.
https://github.com/tailwindlabs/tailwindui-vue

Last synced: about 2 months ago
JSON representation

Deprecated, please use the Headless UI repo instead.

Awesome Lists containing this project

README

        


⚠️ Deprecated: use Headless UI instead ⚠️

---

# @tailwindui/vue

**This project is still in a pre-alpha state and could change dramatically at any time. Not for production.**

A set of completely unstyled, fully accessible UI components for Vue.js, designed to integrate beautifully with Tailwind CSS.

You bring the styles and the markup, we handle all of the complex keyboard interactions and ARIA management.

## Installation

```sh
# npm
npm install @tailwindui/vue

# Yarn
yarn add @tailwindui/vue
```

## Usage

### Listbox

Basic example:

```html



Select a wrestler:


{{ selectedWrestler }}




{{ wrestler }}




import {
Listbox,
ListboxLabel,
ListboxButton,
ListboxList,
ListboxOption,
} from "@tailwindui/vue";

export default {
components: {
Listbox,
ListboxLabel,
ListboxButton,
ListboxList,
ListboxOption,
},
data() {
return {
selectedWrestler: "The Ultimate Warrior",
wrestlers: [
"The Ultimate Warrior",
"Randy Savage",
"Hulk Hogan",
"Bret Hart",
"The Undertaker",
"Mr. Perfect",
"Ted DiBiase",
"Bam Bam Bigelow",
"Yokozuna",
],
};
},
};

```