You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-2Lines changed: 8 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,8 @@
1
1
# Vue Interface
2
2
3
-
This is a monorepo for the components of [Vue Interface](https://github.com/vue-interface). Components are organized in packages. The purpose of this monorepo is to provide a convenient and efficient way to develop and maintain UI components that are dependent on each other without relying on symlinks and other hacks that provide less than optimal development experiences. The goal is provide a collection of CLI tools so you can develop, version and publish for individual packages all from the root of the repo. The monorepo also utilizes [VitePress](https://vuejs.github.io/vitepress/v1/) for clean documentation.
3
+
This is a monorepo for the components of [Vue Interface](https://github.com/vue-interface). Components are organized in packages. The purpose of this monorepo is to provide a convenient and efficient way to develop and maintain UI components that are dependent on each other without relying on symlinks and other hacks that provide less than optimal development experiences. The goal is provide a collection of CLI tools so you can develop, version and publish for individual packages all from the root of the repo. The monorepo also utilizes [VitePress](https://vuejs.github.io/vitepress/v1/) for clean documentation.
4
+
5
+
**[📚 Read the Documentation](https://vue-interface.github.io/)**
4
6
5
7
## Installation
6
8
@@ -70,4 +72,8 @@ This interactive command will:
70
72
Fix styling error when input is disabled
71
73
```
72
74
73
-
The Changesets CLI then generates a markdown file in the .changeset/ directory with a random name (e.g., cool-lions-dance.md).
75
+
The Changesets CLI then generates a markdown file in the .changeset/ directory with a random name (e.g., cool-lions-dance.md).
76
+
77
+
## License
78
+
79
+
MIT License. See [LICENSE](https://github.com/vue-interface/vue-interface-new/blob/jsx/LICENSE) for more information.
Copy file name to clipboardExpand all lines: packages/autogrow/docs/autogrow.md
+16Lines changed: 16 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,6 +21,22 @@ onMounted(() => {
21
21
22
22
The Autogrow directive automatically resizes a [textarea](/packages/textarea-field/docs/textarea-field) to fit its content. It eliminates the need for manual resizing and provides smooth UX for variable-length text inputs.
Copy file name to clipboardExpand all lines: packages/breadcrumb/docs/breadcrumb.md
+16Lines changed: 16 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,22 @@ import '../demo.css'
10
10
11
11
The `breadcrumb` utility class provides a flexible and customizable breadcrumb component system with customizable color variants and sizes.
12
12
13
+
### Installation
14
+
15
+
::: code-group
16
+
```bash [pnpm]
17
+
pnpm i @vue-interface/breadcrumb
18
+
```
19
+
20
+
```bash [yarn]
21
+
yarn add @vue-interface/breadcrumb
22
+
```
23
+
24
+
```bash [npm]
25
+
npm i @vue-interface/breadcrumb
26
+
```
27
+
:::
28
+
13
29
## Basic Usage
14
30
15
31
To create a breadcrumb component, use the parent `breadcrumb` class and then add the `breadcrumb-link` class to the links in the breadcrumb. To remove the home icon, insert the `no-icon` class into the first link.
Copy file name to clipboardExpand all lines: packages/btn-activity/docs/btn-activity.md
+16Lines changed: 16 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,6 +36,22 @@ onMounted(() => {
36
36
37
37
The `btn-activity` component provides an interactive button with built-in activity indicators for async operations. It extends the standard [button](/packages/btn/docs/btn) and [activity-indicator](/packages/activity-indicator/docs/activity-indicator) components to create these buttons.
Copy file name to clipboardExpand all lines: packages/btn-dropdown/docs/btn-dropdown.md
+16Lines changed: 16 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,6 +24,22 @@ function onToggle() {
24
24
25
25
The `btn-dropdown` component provides an interactive button paired with a dropdown menu. It extends the standard [button](/packages/btn/docs/btn), [button-group](/packages/btn/docs/btn-group), and [dropdown-menu](/packages/dropdown-menu/docs/dropdown-menu) components.
@@ -14,6 +14,28 @@ The `btn-group` utility class provides a flexible and customizable button-group
14
14
Button groups can be combined with [dropdown menus](/packages/dropdown-menu/docs/dropdown-menu) to create [dropdown buttons](/packages/btn-dropdown/docs/btn-dropdown).
15
15
:::
16
16
17
+
### Installation
18
+
19
+
::: code-group
20
+
```bash [pnpm]
21
+
pnpm i @vue-interface/btn-group
22
+
```
23
+
24
+
```bash [yarn]
25
+
yarn add @vue-interface/btn-group
26
+
```
27
+
28
+
```bash [npm]
29
+
npm i @vue-interface/btn-group
30
+
```
31
+
:::
32
+
33
+
### Tailwind Setup
34
+
35
+
```css
36
+
@import'@vue-interface/btn-group/index.css';
37
+
```
38
+
17
39
## Basic Usage
18
40
19
41
<!-- #region basicUsage-->
@@ -47,55 +69,73 @@ Customize the size of a `btn-group` using a [predetermined size](#predetermined-
47
69
48
70
The size can be customized using predetermined size classes: `xs`, `sm`, `md`, `lg`, `xl`, `2xl`, `3xl`, `4xl`, `5xl`. Use the syntax: `btn-group-[size]`.
49
71
72
+
<!-- #region sizing-->
50
73
<divclass="flex flex-col gap-2">
51
-
<!-- #region sizing-->
52
-
<div class="btn-group btn-group-xs">
53
-
<button class="btn btn-secondary">Left</button>
54
-
<button class="btn btn-secondary">Middle</button>
55
-
<button class="btn btn-secondary">Right</button>
56
-
</div>
57
-
<div class="btn-group btn-group-sm">
58
-
<button class="btn btn-secondary">Left</button>
59
-
<button class="btn btn-secondary">Middle</button>
60
-
<button class="btn btn-secondary">Right</button>
61
-
</div>
62
-
<div class="btn-group btn-group-md">
63
-
<button class="btn btn-secondary">Left</button>
64
-
<button class="btn btn-secondary">Middle</button>
65
-
<button class="btn btn-secondary">Right</button>
66
-
</div>
67
-
<div class="btn-group btn-group-lg">
68
-
<button class="btn btn-secondary">Left</button>
69
-
<button class="btn btn-secondary">Middle</button>
70
-
<button class="btn btn-secondary">Right</button>
71
-
</div>
72
-
<div class="btn-group btn-group-xl">
73
-
<button class="btn btn-secondary">Left</button>
74
-
<button class="btn btn-secondary">Middle</button>
75
-
<button class="btn btn-secondary">Right</button>
76
-
</div>
77
-
<div class="btn-group btn-group-2xl">
78
-
<button class="btn btn-secondary">Left</button>
79
-
<button class="btn btn-secondary">Middle</button>
80
-
<button class="btn btn-secondary">Right</button>
81
-
</div>
82
-
<div class="btn-group btn-group-3xl">
83
-
<button class="btn btn-secondary">Left</button>
84
-
<button class="btn btn-secondary">Middle</button>
85
-
<button class="btn btn-secondary">Right</button>
86
-
</div>
87
-
<div class="btn-group btn-group-4xl">
88
-
<button class="btn btn-secondary">Left</button>
89
-
<button class="btn btn-secondary">Middle</button>
90
-
<button class="btn btn-secondary">Right</button>
91
-
</div>
92
-
<div class="btn-group btn-group-5xl">
93
-
<button class="btn btn-secondary">Left</button>
94
-
<button class="btn btn-secondary">Middle</button>
95
-
<button class="btn btn-secondary">Right</button>
96
-
</div>
97
-
<!-- #endregion sizing-->
74
+
<div>
75
+
<div class="btn-group btn-group-xs">
76
+
<button class="btn btn-secondary">Left</button>
77
+
<button class="btn btn-secondary">Middle</button>
78
+
<button class="btn btn-secondary">Right</button>
79
+
</div>
80
+
</div>
81
+
<div>
82
+
<div class="btn-group btn-group-sm">
83
+
<button class="btn btn-secondary">Left</button>
84
+
<button class="btn btn-secondary">Middle</button>
85
+
<button class="btn btn-secondary">Right</button>
86
+
</div>
87
+
</div>
88
+
<div>
89
+
<div class="btn-group btn-group-md">
90
+
<button class="btn btn-secondary">Left</button>
91
+
<button class="btn btn-secondary">Middle</button>
92
+
<button class="btn btn-secondary">Right</button>
93
+
</div>
94
+
</div>
95
+
<div>
96
+
<div class="btn-group btn-group-lg">
97
+
<button class="btn btn-secondary">Left</button>
98
+
<button class="btn btn-secondary">Middle</button>
99
+
<button class="btn btn-secondary">Right</button>
100
+
</div>
101
+
</div>
102
+
<div>
103
+
<div class="btn-group btn-group-xl">
104
+
<button class="btn btn-secondary">Left</button>
105
+
<button class="btn btn-secondary">Middle</button>
106
+
<button class="btn btn-secondary">Right</button>
107
+
</div>
108
+
</div>
109
+
<div>
110
+
<div class="btn-group btn-group-2xl">
111
+
<button class="btn btn-secondary">Left</button>
112
+
<button class="btn btn-secondary">Middle</button>
113
+
<button class="btn btn-secondary">Right</button>
114
+
</div>
115
+
</div>
116
+
<div>
117
+
<div class="btn-group btn-group-3xl">
118
+
<button class="btn btn-secondary">Left</button>
119
+
<button class="btn btn-secondary">Middle</button>
120
+
<button class="btn btn-secondary">Right</button>
121
+
</div>
122
+
</div>
123
+
<div>
124
+
<div class="btn-group btn-group-4xl">
125
+
<button class="btn btn-secondary">Left</button>
126
+
<button class="btn btn-secondary">Middle</button>
127
+
<button class="btn btn-secondary">Right</button>
128
+
</div>
129
+
</div>
130
+
<div>
131
+
<div class="btn-group btn-group-5xl">
132
+
<button class="btn btn-secondary">Left</button>
133
+
<button class="btn btn-secondary">Middle</button>
134
+
<button class="btn btn-secondary">Right</button>
135
+
</div>
136
+
</div>
98
137
</div>
138
+
<!-- #endregion sizing-->
99
139
100
140
::: details Show Code
101
141
<<< @/packages/btn/docs/btn-group.md#sizing{html}
@@ -105,25 +145,31 @@ The size can be customized using predetermined size classes: `xs`, `sm`, `md`, `
105
145
106
146
For more granular control over button sizes, use Tailwind's numeric sizing scale classes: `btn-group-1` - `btn-group-96`.
0 commit comments