@ousi-ui/vue 0.1.0 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +58 -0
- package/dist/index.cjs +2 -2
- package/dist/index.d.ts +191 -288
- package/dist/index.mjs +5247 -5234
- package/package.json +16 -16
- package/LICENSE +0 -21
package/README.md
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
<p align="center">
|
|
2
|
+
<img src="https://raw.githubusercontent.com/carlosaroca/ousi-ui/main/gradient.png" alt="Ousi UI" width="80" />
|
|
3
|
+
</p>
|
|
4
|
+
|
|
5
|
+
<h1 align="center">@ousi-ui/vue</h1>
|
|
6
|
+
|
|
7
|
+
<p align="center">
|
|
8
|
+
74+ beautiful, accessible Vue 3 components.<br/>
|
|
9
|
+
Built with Tailwind CSS v4, TypeScript, and OKLCH colors.
|
|
10
|
+
</p>
|
|
11
|
+
|
|
12
|
+
<p align="center">
|
|
13
|
+
<a href="https://ousiui.com">Docs</a> ·
|
|
14
|
+
<a href="https://ousiui.com/playground">Playground</a> ·
|
|
15
|
+
<a href="https://github.com/carlosaroca/ousi-ui">GitHub</a>
|
|
16
|
+
</p>
|
|
17
|
+
|
|
18
|
+
## Install
|
|
19
|
+
|
|
20
|
+
```bash
|
|
21
|
+
pnpm add @ousi-ui/vue @ousi-ui/theme
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
## Setup
|
|
25
|
+
|
|
26
|
+
```css
|
|
27
|
+
/* main.css */
|
|
28
|
+
@import "tailwindcss";
|
|
29
|
+
@import "@ousi-ui/theme";
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
```ts
|
|
33
|
+
// vite.config.ts
|
|
34
|
+
import tailwindcss from '@tailwindcss/vite'
|
|
35
|
+
export default defineConfig({ plugins: [tailwindcss()] })
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
## Usage
|
|
39
|
+
|
|
40
|
+
```vue
|
|
41
|
+
<script setup>
|
|
42
|
+
import { OButton, OInput, ODialog } from '@ousi-ui/vue'
|
|
43
|
+
</script>
|
|
44
|
+
|
|
45
|
+
<template>
|
|
46
|
+
<OButton variant="primary">Get Started</OButton>
|
|
47
|
+
</template>
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
## Components
|
|
51
|
+
|
|
52
|
+
Buttons, Forms, Date Pickers, Color Pickers, Charts, Modals, Tooltips, Toasts, Tables, Tabs, Accordions, and 60+ more — all with dark mode, keyboard navigation, and ARIA support.
|
|
53
|
+
|
|
54
|
+
[View all components →](https://ousiui.com/vue/components/button)
|
|
55
|
+
|
|
56
|
+
## License
|
|
57
|
+
|
|
58
|
+
[MIT](https://github.com/carlosaroca/ousi-ui/blob/main/LICENSE) © [Carlos Aroca](https://carlosaroca.com)
|