diff --git a/.vscode/settings.json b/.vscode/settings.json
index 47b2103ff..c9442fbf8 100644
--- a/.vscode/settings.json
+++ b/.vscode/settings.json
@@ -1,4 +1,5 @@
{
+ "vue.server.hybridMode": true,
"eslint.experimental.useFlatConfig": true,
"prettier.enable": false,
"editor.formatOnSave": false,
diff --git a/apps/www/.vitepress/theme/components/Logo.vue b/apps/www/.vitepress/theme/components/Logo.vue
index 3d0b82522..3acb528c6 100644
--- a/apps/www/.vitepress/theme/components/Logo.vue
+++ b/apps/www/.vitepress/theme/components/Logo.vue
@@ -2,7 +2,7 @@
-
+
-```
\ No newline at end of file
+```
diff --git a/apps/www/src/content/docs/components/navigation-menu.md b/apps/www/src/content/docs/components/navigation-menu.md
index e8530cf64..f1748f576 100644
--- a/apps/www/src/content/docs/components/navigation-menu.md
+++ b/apps/www/src/content/docs/components/navigation-menu.md
@@ -1,13 +1,13 @@
---
title: Navigation Menu
description: A collection of links for navigating websites.
-source: apps/www/src/lib/registry/default/ui/navigation-menu
+source: apps/www/src/lib/registry/default/ui/navigation-menu
primitive: https://www.radix-vue.com/components/navigation-menu.html
---
-
+
-## Installation
+## Installation
```bash
npx shadcn-vue@latest add navigation-menu
@@ -43,7 +43,7 @@ import {
```
-## Examples
+## Examples
### Link Component
@@ -64,4 +64,3 @@ import { navigationMenuTriggerStyle } from '@/components/ui/navigation-menu'
```
-
diff --git a/apps/www/src/content/docs/components/pagination.md b/apps/www/src/content/docs/components/pagination.md
index 16d1429f6..cdc75bcea 100644
--- a/apps/www/src/content/docs/components/pagination.md
+++ b/apps/www/src/content/docs/components/pagination.md
@@ -5,15 +5,14 @@ source: apps/www/src/lib/registry/default/ui/pagination
primitive: https://www.radix-vue.com/components/pagination.html
---
-
+
## Installation
-
```bash
npx shadcn-vue@latest add pagination
```
-
+
## Usage
```vue
diff --git a/apps/www/src/content/docs/components/popover.md b/apps/www/src/content/docs/components/popover.md
index 4a19b82e8..782637503 100644
--- a/apps/www/src/content/docs/components/popover.md
+++ b/apps/www/src/content/docs/components/popover.md
@@ -1,16 +1,14 @@
---
title: Popover
description: Displays rich content in a portal, triggered by a button.
-source: apps/www/src/lib/registry/default/ui/popover
+source: apps/www/src/lib/registry/default/ui/popover
primitive: https://www.radix-vue.com/components/popover.html
---
-
-
+
## Installation
-
```bash
npx shadcn-vue@latest add popover
```
@@ -34,4 +32,4 @@ import {
-```
\ No newline at end of file
+```
diff --git a/apps/www/src/content/docs/components/progress.md b/apps/www/src/content/docs/components/progress.md
index bb1515a69..98afe907c 100644
--- a/apps/www/src/content/docs/components/progress.md
+++ b/apps/www/src/content/docs/components/progress.md
@@ -1,13 +1,11 @@
---
title: Progress
description: Displays an indicator showing the completion progress of a task, typically displayed as a progress bar.
-source: apps/www/src/lib/registry/default/ui/progress
+source: apps/www/src/lib/registry/default/ui/progress
primitive: https://www.radix-vue.com/components/progress.html
---
-
-
-
+
## Installation
@@ -48,4 +46,4 @@ import { Progress } from '@/components/ui/progress'
-```
\ No newline at end of file
+```
diff --git a/apps/www/src/content/docs/components/radio-group.md b/apps/www/src/content/docs/components/radio-group.md
index 9dbbabbf3..dc6b3a2c6 100644
--- a/apps/www/src/content/docs/components/radio-group.md
+++ b/apps/www/src/content/docs/components/radio-group.md
@@ -1,15 +1,14 @@
---
title: Radio Group
description: A set of checkable buttons—known as radio buttons—where no more than one of the buttons can be checked at a time.
-source: apps/www/src/lib/registry/default/ui/radio-group
+source: apps/www/src/lib/registry/default/ui/radio-group
primitive: https://www.radix-vue.com/components/radio-group.html
---
-
+
## Installation
-
```bash
npx shadcn-vue@latest add radio-group
```
diff --git a/apps/www/src/content/docs/components/scroll-area.md b/apps/www/src/content/docs/components/scroll-area.md
index edac7a4cf..671cc2262 100644
--- a/apps/www/src/content/docs/components/scroll-area.md
+++ b/apps/www/src/content/docs/components/scroll-area.md
@@ -1,15 +1,14 @@
---
title: Scroll-area
description: Augments native scroll functionality for custom, cross-browser styling.
-source: apps/www/src/lib/registry/default/ui/scroll-area
+source: apps/www/src/lib/registry/default/ui/scroll-area
primitive: https://www.radix-vue.com/components/scroll-area.html
---
-
+
## Installation
-
```bash
npx shadcn-vue@latest add scroll-area
```
@@ -37,4 +36,3 @@ import { ScrollArea } from '@/components/ui/scroll-area'
### Horizontal Scrolling
-
diff --git a/apps/www/src/content/docs/components/separator.md b/apps/www/src/content/docs/components/separator.md
index 3e0bc2815..898bc9c89 100644
--- a/apps/www/src/content/docs/components/separator.md
+++ b/apps/www/src/content/docs/components/separator.md
@@ -1,12 +1,11 @@
---
title: Separator
description: Visually or semantically separates content.
-source: apps/www/src/lib/registry/default/ui/separator
+source: apps/www/src/lib/registry/default/ui/separator
primitive: https://www.radix-vue.com/components/separator.html
---
-
-
+
## Installation
@@ -32,7 +31,6 @@ npm install radix-vue
<<< @/lib/registry/default/ui/separator/Separator.vue
-
@@ -48,4 +46,4 @@ import { Separator } from '@/components/ui/separator'
-```
\ No newline at end of file
+```
diff --git a/apps/www/src/content/docs/components/sheet.md b/apps/www/src/content/docs/components/sheet.md
index 6d2e90acb..4447d310b 100644
--- a/apps/www/src/content/docs/components/sheet.md
+++ b/apps/www/src/content/docs/components/sheet.md
@@ -1,15 +1,14 @@
---
title: Sheet
description: Extends the Dialog component to display content that complements the main content of the screen.
-source: apps/www/src/lib/registry/default/ui/sheet
+source: apps/www/src/lib/registry/default/ui/sheet
primitive: https://www.radix-vue.com/components/dialog.html
---
-
-
+
## Installation
-
+
```bash
npx shadcn-vue@latest add sheet
```
@@ -50,8 +49,7 @@ import {
Use the `side` property to `` to indicate the edge of the screen where the component will appear. The values can be `top`, `right`, `bottom` or `left`.
-
-
+
### Size
diff --git a/apps/www/src/content/docs/components/sonner.md b/apps/www/src/content/docs/components/sonner.md
index 792b43527..733276b01 100644
--- a/apps/www/src/content/docs/components/sonner.md
+++ b/apps/www/src/content/docs/components/sonner.md
@@ -2,7 +2,7 @@
title: Sonner
description: An opinionated toast component for Vue.
docs: https://vue-sonner.vercel.app
-source: apps/www/src/lib/registry/default/ui/sonner
+source: apps/www/src/lib/registry/default/ui/sonner
---
@@ -34,7 +34,7 @@ import { Toaster } from '@/components/ui/sonner'
```
-
+
## Usage
diff --git a/apps/www/src/content/docs/components/switch.md b/apps/www/src/content/docs/components/switch.md
index a359a4df9..d1dbfd081 100644
--- a/apps/www/src/content/docs/components/switch.md
+++ b/apps/www/src/content/docs/components/switch.md
@@ -1,12 +1,11 @@
---
title: Switch
description: A control that allows the user to toggle between checked and not checked.
-source: apps/www/src/lib/registry/default/ui/switch
+source: apps/www/src/lib/registry/default/ui/switch
primitive: https://www.radix-vue.com/components/switch.html
---
-
-
+
## Installation
@@ -29,7 +28,7 @@ npm install radix-vue
```
### Copy and paste the following code into your project
-
+
<<< @/lib/registry/default/ui/switch/Switch.vue
diff --git a/apps/www/src/content/docs/components/table.md b/apps/www/src/content/docs/components/table.md
index e0701b581..8646b8557 100644
--- a/apps/www/src/content/docs/components/table.md
+++ b/apps/www/src/content/docs/components/table.md
@@ -3,8 +3,7 @@ title: Table
description: A responsive table component.
---
-
-
+
## Installation
@@ -64,4 +63,4 @@ You can use the `
` component to build more complex data tables. Combine
See the [Data Table](/docs/components/data-table) documentation for more information.
-You can also see an example of a data table in the [Tasks](/examples/tasks) demo.
\ No newline at end of file
+You can also see an example of a data table in the [Tasks](/examples/tasks) demo.
diff --git a/apps/www/src/content/docs/components/tabs.md b/apps/www/src/content/docs/components/tabs.md
index 317836e7a..416aee80c 100644
--- a/apps/www/src/content/docs/components/tabs.md
+++ b/apps/www/src/content/docs/components/tabs.md
@@ -1,17 +1,14 @@
---
title: Tabs
description: A set of layered sections of content—known as tab panels—that are displayed one at a time.
-source: apps/www/src/lib/registry/default/ui/tabs
+source: apps/www/src/lib/registry/default/ui/tabs
primitive: https://www.radix-vue.com/components/tabs.html
---
-
-
+
## Installation
-
-
```bash
npx shadcn-vue@latest add tabs
```
@@ -41,4 +38,4 @@ import { Tabs, TabsContent, TabsList, TabsTrigger } from '@/components/ui/tabs'
-```
\ No newline at end of file
+```
diff --git a/apps/www/src/content/docs/components/tags-input.md b/apps/www/src/content/docs/components/tags-input.md
index 4833e9671..97071831c 100644
--- a/apps/www/src/content/docs/components/tags-input.md
+++ b/apps/www/src/content/docs/components/tags-input.md
@@ -5,7 +5,7 @@ source: apps/www/src/lib/registry/default/ui/tags-input
primitive: https://www.radix-vue.com/components/tags-input.html
---
-
+
## Installation
@@ -13,9 +13,8 @@ primitive: https://www.radix-vue.com/components/tags-input.html
npx shadcn-vue@latest add tags-input
```
-
## Usage
### Tags with Combobox
-
+
diff --git a/apps/www/src/content/docs/components/textarea.md b/apps/www/src/content/docs/components/textarea.md
index 930a77622..f82873ea0 100644
--- a/apps/www/src/content/docs/components/textarea.md
+++ b/apps/www/src/content/docs/components/textarea.md
@@ -3,8 +3,7 @@ title: Textarea
description: Displays a form textarea or a component that looks like a textarea.
---
-
-
+
## Installation
diff --git a/apps/www/src/content/docs/components/toast.md b/apps/www/src/content/docs/components/toast.md
index b2cc424ee..1514472b3 100644
--- a/apps/www/src/content/docs/components/toast.md
+++ b/apps/www/src/content/docs/components/toast.md
@@ -1,15 +1,13 @@
---
title: Toast
description: A succinct message that is displayed temporarily.
-source: apps/www/src/lib/registry/default/ui/toast
+source: apps/www/src/lib/registry/default/ui/toast
primitive: https://www.radix-vue.com/components/toast.html
---
-
## Installation
-
@@ -32,9 +30,8 @@ import Toaster from '@/components/ui/toast/Toaster.vue'
```
-
+
-
## Usage
diff --git a/apps/www/src/content/docs/components/toggle-group.md b/apps/www/src/content/docs/components/toggle-group.md
index f622f630c..96a8f4635 100644
--- a/apps/www/src/content/docs/components/toggle-group.md
+++ b/apps/www/src/content/docs/components/toggle-group.md
@@ -5,7 +5,7 @@ source: apps/www/src/lib/registry/default/ui/toggle-group
primitive: https://www.radix-vue.com/components/toggle-group.html
---
-
+
## Installation
@@ -60,34 +60,26 @@ import { ToggleGroup, ToggleGroupItem } from '@/components/ui/toggle-group'
## Examples
-### Default
-
-
+### Default
+
### Outline
-
-
+
### Single
-
### Small
-
### Large
-
### Disabled
-
-
-
diff --git a/apps/www/src/content/docs/components/toggle.md b/apps/www/src/content/docs/components/toggle.md
index c720bb3e4..5bd4ec11e 100644
--- a/apps/www/src/content/docs/components/toggle.md
+++ b/apps/www/src/content/docs/components/toggle.md
@@ -1,13 +1,11 @@
---
title: Toggle
description: A two-state button that can be either on or off.
-source: apps/www/src/lib/registry/default/ui/toggle
+source: apps/www/src/lib/registry/default/ui/toggle
primitive: https://www.radix-vue.com/components/toggle.html
---
-
-
-
+
## Installation
@@ -52,34 +50,26 @@ import { Toggle } from '@/components/ui/toggle'
## Examples
-### Default
-
-
+### Default
+
### Outline
-
-
+
### With Text
-
### Small
-
### Large
-
### Disabled
-
-
-
diff --git a/apps/www/src/content/docs/components/tooltip.md b/apps/www/src/content/docs/components/tooltip.md
index 14108ed39..ab2a4d8bf 100644
--- a/apps/www/src/content/docs/components/tooltip.md
+++ b/apps/www/src/content/docs/components/tooltip.md
@@ -1,12 +1,11 @@
---
title: Tooltip
description: A popup that displays information related to an element when the element receives keyboard focus or the mouse hovers over it.
-source: apps/www/src/lib/registry/default/ui/tooltip
+source: apps/www/src/lib/registry/default/ui/tooltip
primitive: https://www.radix-vue.com/components/tooltip.html
---
-
-
+
## Installation
@@ -36,4 +35,4 @@ import {
-```
\ No newline at end of file
+```
diff --git a/apps/www/src/content/docs/installation.md b/apps/www/src/content/docs/installation.md
index 04a306089..567b225d8 100644
--- a/apps/www/src/content/docs/installation.md
+++ b/apps/www/src/content/docs/installation.md
@@ -2,7 +2,7 @@
title: Installation
description: How to install dependencies and structure your app.
---
-
+
## Frameworks
@@ -18,7 +18,7 @@ description: How to install dependencies and structure your app.
Vite
-
+
Laravel
-
+
-
-
## TypeScript
This project and the components are written in TypeScript. We recommend using TypeScript for your project as well.
@@ -97,11 +95,11 @@ To configure import aliases, you can use the following `jsconfig.json`:
## VSCode extension
-Install the [shadcn-vue](https://marketplace.visualstudio.com/items?itemName=Selemondev.shadcn-vue) extension by [@selemondev](https://github.com/selemondev) in Visual Studio Code to easily add Shadcn Vue components to your project.
+Install the [shadcn-vue](https://marketplace.visualstudio.com/items?itemName=Selemondev.shadcn-vue) extension by [@selemondev](https://github.com/selemondev) in Visual Studio Code to easily add Shadcn Vue components to your project.
This extension offers a range of features:
- Ability to initialize the Shadcn Vue CLI
- Install components
- Open documentation
-- Navigate to a specific component's documentation page directly from your IDE.
+- Navigate to a specific component's documentation page directly from your IDE.
- Handy snippets for quick and straightforward component imports and markup.
diff --git a/apps/www/src/content/docs/installation/astro.md b/apps/www/src/content/docs/installation/astro.md
index 3f5efd57b..b465dd450 100644
--- a/apps/www/src/content/docs/installation/astro.md
+++ b/apps/www/src/content/docs/installation/astro.md
@@ -126,7 +126,7 @@ import '@/styles/globals.css'
To prevent serving the Tailwind base styles twice, we need to tell Astro not to apply the base styles, since we already include them in our own `globals.css` file. To do this, set the `applyBaseStyles` config option for the tailwind plugin in `astro.config.mjs` to `false`.
-```ts:line-numbers {3-5}
+```ts:line-numbers {3-5}
export default defineConfig({
integrations: [
tailwind({
@@ -161,4 +161,4 @@ import { Button } from "@/components/ui/button"