Skip to content

🎬 火宝短剧 - 基于AI的一站式短剧生成平台 《一句话生成完整短剧,从剧本到成片全自动化》 Huobao Drama - An AI-Powered End-to-End Short Drama Generator "One Sentence to Complete Drama: Fully Automated from Script to Final Video"

TypeScript

feat: initialize Shadcn Vue with base components and utilities

Connore7c9ff4b1b67
diff --git a/web/components.json b/web/components.json
new file mode 100644
index 0000000..2daa157
--- /dev/null
+++ b/web/components.json
@@ -0,0 +1,14 @@
+{
+ "style": "default",
+ "typescript": true,
+ "tailwind": {
+ "config": "tailwind.config.js",
+ "css": "src/assets/styles/main.css",
+ "baseColor": "neutral"
+ },
+ "aliases": {
+ "components": "@/components",
+ "utils": "@/lib/utils",
+ "ui": "@/components/ui"
+ }
+}
diff --git a/web/package.json b/web/package.json
index 7d447eb..26ff06c 100644
--- a/web/package.json
+++ b/web/package.json
@@ -20,12 +20,18 @@
"@element-plus/icons-vue": "^2.3.0",
"@ffmpeg/ffmpeg": "^0.12.15",
"@ffmpeg/util": "^0.12.2",
+ "@vueuse/core": "^14.2.1",
"axios": "^1.6.0",
+ "class-variance-authority": "^0.7.1",
+ "clsx": "^2.1.1",
"cropperjs": "^2.1.0",
- "dayjs": "^1.11.10",
"element-plus": "^2.5.0",
"lodash-es": "^4.17.22",
+ "lucide-vue-next": "^1.0.0",
"pinia": "^2.1.0",
+ "radix-vue": "^1.9.17",
+ "reka-ui": "^2.9.2",
+ "tailwind-merge": "^3.5.0",
"vue": "^3.4.0",
"vue-i18n": "^9.14.5",
"vue-router": "^4.2.0"
diff --git a/web/pnpm-lock.yaml b/web/pnpm-lock.yaml
index 486238e..5c3636c 100644
--- a/web/pnpm-lock.yaml
+++ b/web/pnpm-lock.yaml
@@ -17,24 +17,42 @@ importers:
'@ffmpeg/util':
specifier: ^0.12.2
version: 0.12.2
+ '@vueuse/core':
+ specifier: ^14.2.1
axios:
specifier: ^1.6.0
version: 1.13.2
+ class-variance-authority:
+ specifier: ^0.7.1
+ version: 0.7.1
+ clsx:
+ specifier: ^2.1.1
+ version: 2.1.1
cropperjs:
specifier: ^2.1.0
version: 2.1.0
- dayjs:
- specifier: ^1.11.10
- version: 1.11.19
element-plus:
specifier: ^2.5.0
lodash-es:
specifier: ^4.17.22
version: 4.17.22
+ lucide-vue-next:
+ specifier: ^1.0.0
pinia:
specifier: ^2.1.0
+ radix-vue:
+ specifier: ^1.9.17
+ reka-ui:
+ specifier: ^2.9.2
+ tailwind-merge:
+ specifier: ^3.5.0
+ version: 3.5.0
vue:
specifier: ^3.4.0
version: 3.5.26([email protected])
@@ -525,12 +543,24 @@ packages:
'@floating-ui/[email protected]':
resolution: {integrity: sha512-sGnvb5dmrJaKEZ+LDIpguvdX3bDlEllmv4/ClQ9awcmCZrlx5jQyyMWFM5kBI+EyNOCDDiKk8il0zeuX3Zlg/w==}
+ '@floating-ui/[email protected]':
+ resolution: {integrity: sha512-1Ih4WTWyw0+lKyFMcBHGbb5U5FtuHJuujoyyr5zTaWS5EYMeT6Jb2AuDeftsCsEuchO+mM2ij5+q9crhydzLhQ==}
+
'@floating-ui/[email protected]':
resolution: {integrity: sha512-OOchDgh4F2CchOX94cRVqhvy7b3AFb+/rQXyswmzmGakRfkMgoWVjfnLWkRirfLEfuD4ysVW16eXzwt3jHIzKA==}
+ '@floating-ui/[email protected]':
+ resolution: {integrity: sha512-9gZSAI5XM36880PPMm//9dfiEngYoC6Am2izES1FF406YFsjvyBMmeJ2g4SAju3xWwtuynNRFL2s9hgxpLI5SQ==}
+
'@floating-ui/[email protected]':
resolution: {integrity: sha512-aGTxbpbg8/b5JfU1HXSrbH3wXZuLPJcNEcZQFMxLs3oSzgtVu6nFPkbbGGUvBcUjKV2YyB9Wxxabo+HEH9tcRQ==}
+ '@floating-ui/[email protected]':
+ resolution: {integrity: sha512-RiB/yIh78pcIxl6lLMG0CgBXAZ2Y0eVHqMPYugu+9U0AeT6YBeiJpf7lbdJNIugFP5SIjwNRgo4DhR1Qxi26Gg==}
+
+ '@floating-ui/[email protected]':
+ resolution: {integrity: sha512-HzHKCNVxnGS35r9fCHBc3+uCnjw9IWIlCPL683cGgM9Kgj2BiAl8x1mS7vtvP6F9S/e/q4O6MApwSHj8hNLGfw==}
+
'@humanfs/[email protected]':
resolution: {integrity: sha512-5DyQ4+1JEUzejeK1JGICcideyfUbGixgS9jNgex5nqkW+cY7WZhxBigmieN5Qnw9ZosSNVC9KQKyb+GUaGyKUA==}
engines: {node: '>=18.18.0'}
@@ -547,6 +577,12 @@ packages:
resolution: {integrity: sha512-bV0Tgo9K4hfPCek+aMAn81RppFKv2ySDQeMoSZuvTASywNTnVJCArCZE2FWqpvIatKu7VMRLWlR1EazvVhDyhQ==}
engines: {node: '>=18.18'}
+ '@internationalized/[email protected]':
+ resolution: {integrity: sha512-/PyIMzK29jtXaGU23qTvNZxvBXRtKbNnGDFD+PY6CZw/Y8Ex8pFUzkuCJCG9aOqmShjqhS9mPqP6Dk5onQY8rQ==}
+
+ '@internationalized/[email protected]':
+ resolution: {integrity: sha512-6hY4Kl4HPBvtfS62asS/R22JzNNy8vi/Ssev7x6EobfCp+9QIB2hKvI2EtbdJ0VSQacxVNtqhE/NmF/NZ0gm6g==}
+
'@intlify/[email protected]':
resolution: {integrity: sha512-5ah5FqZG4pOoHjkvs8mjtv+gPKYU0zCISaYNjBNNqYiaITxW8ZtVih3GS/oTOqN8d9/mDLyrjD46GBApNxmlsA==}
engines: {node: '>= 16'}
@@ -800,6 +836,9 @@ packages:
'@standard-schema/[email protected]':
resolution: {integrity: sha512-l2aFy5jALhniG5HgqrD6jXLi/rUWrKvqN/qJx6yoJsgKhblVd+iqqU4RCXavm/jPityDo5TCvKMnpjKnOriy0w==}
+ resolution: {integrity: sha512-QamiFeIK3txNjgUTNppE6MiG3p7TdninpZu0E0PbqVh1a9FNLT2FRhisaa4NcaX52XVhA5l7Pk58Ft7Sqi/2sA==}
+
resolution: {integrity: sha512-Ccy0NlLkzr0Ex2FKvh2X+OyERHXJ88XJ1MXtsI9y9fGexlaXaVTPzBCRBwIxFkORuOb+uBqeu+RqnpgYTEZRUQ==}
@@ -891,6 +930,14 @@ packages:
'@tailwindcss/[email protected]':
resolution: {integrity: sha512-Ce0GFnzAOuPyfV5SxjXGn0CubwGcuDB0zcdaPuCSzAa/2vII24JTkH+I6jcbXLb1ctjZMZZI6OjDaLPJQL1S0g==}
+ '@tanstack/[email protected]':
+ resolution: {integrity: sha512-zSz2Z2HNyLjCplANTDyl3BcdQJc2k1+yyFoKhNRmCr7V7dY8o8q5m8uFTI1/Pg1kL+Hgrz6u3Xo6eFUB7l66cg==}
+
+ '@tanstack/[email protected]':
+ resolution: {integrity: sha512-b5jPluAR6U3eOq6GWAYSpj3ugnAIZgGR0e6aGAgyRse0Yu6MVQQ0ZWm9SArSXWtageogn6bkVD8D//c4IjW3xQ==}
+ peerDependencies:
+ vue: ^2.7.0 || ^3.0.0
+
resolution: {integrity: sha512-Mw558oeA9fFbv65/y4mHtXDs9bPnFMZAL/jxdPFUpOHHIXX91mcgEHbS5Lahr+pwZFR8A7GQleRWeI6cGFC2UA==}
@@ -918,6 +965,9 @@ packages:
resolution: {integrity: sha512-g9gZnnXVq7gM7v3tJCWV/qw7w+KeOlSHAhgF9RytFyifW6AF61hdT2ucrYhPq9hLs5JIryeupHV3qGk95dH9ow==}
+ '@types/[email protected]':
+ resolution: {integrity: sha512-oIQLCGWtcFZy2JW77j9k8nHzAOpqMHLQejDA48XXMWH6tjCQHz5RCFz1bzsmROyL6PUm+LLnUiI4BCn221inxA==}
+
resolution: {integrity: sha512-c2AKvDT8ToxLIOUlN51gTiHXflsfIFisS4pO7pDPoKouJCESkhZnEy623gwP9laCy5lnLDAw1vAzu2vM2YLOrA==}
@@ -1080,12 +1130,25 @@ packages:
'@vueuse/[email protected]':
resolution: {integrity: sha512-guoy26JQktXPcz+0n3GukWIy/JDNKti9v6VEMu6kV2sYBsWuGiTU8OWdg+ADfUbHg3/3DlqySDe7JmdHrktiww==}
+ '@vueuse/[email protected]':
+ resolution: {integrity: sha512-3vwDzV+GDUNpdegRY6kzpLm4Igptq+GA0QkJ3W61Iv27YWwW/ufSlOfgQIpN6FZRMG0mkaz4gglJRtq5SeJyIQ==}
+ peerDependencies:
+ vue: ^3.5.0
+
'@vueuse/[email protected]':
resolution: {integrity: sha512-IGa5FXd003Ug1qAZmyE8wF3sJ81xGLSqTqtQ6jaVfkeZ4i5kS2mwQF61yhVqojRnenVew5PldLyRgvdl4YYuSw==}
+ '@vueuse/[email protected]':
+ resolution: {integrity: sha512-1ButlVtj5Sb/HDtIy1HFr1VqCP4G6Ypqt5MAo0lCgjokrk2mvQKsK2uuy0vqu/Ks+sHfuHo0B9Y9jn9xKdjZsw==}
+
'@vueuse/[email protected]':
resolution: {integrity: sha512-LHpC8711VFZlDaYUXEBbFBCQ7GS3dVU9mjOhhMhXP6txTV4EhYQg/KGnQuvt/sPAtoUKq7VVUnL6mVtFoL42sA==}
+ '@vueuse/[email protected]':
+ resolution: {integrity: sha512-shTJncjV9JTI4oVNyF1FQonetYAiTBd+Qj7cY89SWbXSkx7gyhrgtEdF2ZAVWS1S3SHlaROO6F2IesJxQEkZBw==}
+ peerDependencies:
+ vue: ^3.5.0
+
resolution: {integrity: sha512-6/mh1E2u2YgEsCHdY0Yx5oW+61gZU+1vXaoiHHrpKeuRNNgFvS+/jrwHiQhB5apAf5oB7UB7E19ol2R2LKH8hQ==}
engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0}
@@ -1122,6 +1185,10 @@ packages:
resolution: {integrity: sha512-4Dj6M28JB+oAH8kFkTLUo+a2jwOFkuqb3yucU0CANcRRUbxS0cP0nZYCGjcc3BNXwRIsUVmDGgzawme7zvJHvg==}
engines: {node: '>=12'}
+ resolution: {integrity: sha512-ik3ZgC9dY/lYVVM++OISsaYDeg1tb0VtP5uL3ouh1koGOaUMDPpbFIei4JkFimWUFPn90sbMNMXQAIVOlnYKJA==}
+ engines: {node: '>=10'}
+
resolution: {integrity: sha512-Izi8RQcffqCeNVgFigKli1ssklIbpHnCYc6AknXGYoB6grJqyeby7jv12JUQgmTAnIDnbck1uxksT4dzN3PWBA==}
engines: {node: '>=12'}
@@ -1186,6 +1253,13 @@ packages:
resolution: {integrity: sha512-Qgzu8kfBvo+cA4962jnP1KkS6Dop5NS6g7R5LFYJr4b8Ub94PPQXUksCw9PvXoeXPRRddRNC5C1JQUR2SMGtnA==}
engines: {node: '>= 14.16.0'}
+ resolution: {integrity: sha512-Ka+9Trutv7G8M6WT6SeiRWz792K5qEqIGEGzXKhAE6xOWAY6pPH8U+9IY3oCMv6kqTmLsv7Xh/2w2RigkePMsg==}
+
+ resolution: {integrity: sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA==}
+ engines: {node: '>=6'}
+
resolution: {integrity: sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==}
engines: {node: '>=7.0.0'}
@@ -1240,6 +1314,9 @@ packages:
resolution: {integrity: sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==}
+ resolution: {integrity: sha512-mEQCMmwJu317oSz8CwdIOdwf3xMif1ttiM8LTufzc3g6kR+9Pe236twL8j3IYT1F7GfRgGcW6MWxzZjLIkuHIg==}
+
resolution: {integrity: sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==}
engines: {node: '>=0.4.0'}
@@ -1676,6 +1753,11 @@ packages:
resolution: {integrity: sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==}
+ resolution: {integrity: sha512-V6SPvx1IHTj/UY+FrIYWV5faISsPSb8BnWSFDxAtezWKvWc9ZZ40PDrdu1/Qb5vg4lHWr1hs1BAMGVGm6V1Xdg==}
+ peerDependencies:
+ vue: '>=3.0.1'
+
resolution: {integrity: sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ==}
@@ -1721,6 +1803,11 @@ packages:
engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1}
hasBin: true
+ resolution: {integrity: sha512-ua3NDgISf6jdwezAheMOk4mbE1LXjm1DfMUDMuJf4AqxLFK3ccGpgWizwa5YV7Yz9EpXwEaWoRXSb/BnV0t5dQ==}
+ engines: {node: ^18 || >=20}
+ hasBin: true
+
resolution: {integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==}
@@ -1744,6 +1831,9 @@ packages:
resolution: {integrity: sha512-uTqF9MuPraAQ+IsnPf366RG4cP9RtUi7MLO1N3KEc+wb0a6yKpeL0lmk2IB1jY5KHPAlTc6T/JRdC/YqxHNwkQ==}
+ resolution: {integrity: sha512-RdR9FQrFwNBNXAr4GixM8YaRZRJ5PUWbKYbE5eOsrwAjJW0q2REGcf79oYPsLyskQCZG1PLN+S/K1V00joZAoQ==}
+
resolution: {integrity: sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==}
engines: {node: '>= 0.8.0'}
@@ -1827,10 +1917,20 @@ packages:
resolution: {integrity: sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==}
engines: {node: '>=6'}
+ resolution: {integrity: sha512-mVCu7I2vXt1L2IUYHTt0sZMz7s1K2ZtqKeTIxG3yC5mMFfLBG4FtE1FDeRMpDd+Hhg/ybi9+iXmAP1ISREndoQ==}
+ peerDependencies:
+ vue: '>= 3.2.0'
+
resolution: {integrity: sha512-GDhwkLfywWL2s6vEjyhri+eXmfH6j1L7JE27WhqLeYzoh/A3DBaYGEj2H/HFZCn/kMfim73FXxEJTw06WtxQwg==}
engines: {node: '>= 14.18.0'}
+ resolution: {integrity: sha512-/t4e6y1hcG+uDuRfpg6tbMz3uUEvRzNco6NeYTufoJeUghy5Iosxos5YL/p+ieAsid84sdMX9OrgDqpEuCJhBw==}
+ peerDependencies:
+ vue: '>= 3.4.0'
+
resolution: {integrity: sha512-wDv/Ht1BNHB4upNbK74s9usvl7hObDnvVzknxqY/E/O3X6rW1U1rV1aENEfJ54eFZDTNo7zv1f5N4edCluH7+A==}
engines: {node: '>=18.0.0', npm: '>=8.0.0'}
@@ -2015,6 +2115,9 @@ packages:
resolution: {integrity: sha512-Bh7QjT8/SuKUIfObSXNHNSK6WHo6J1tHCqJsuaFDP7gP0fkzSfTxI8y85JrppZ0h8l0maIgc2tfuZQ6/t3GtnQ==}
engines: {node: ^14.18.0 || >=16.0.0}
+ resolution: {integrity: sha512-I8K9wewnVDkL1NTGoqWmVEIlUcB9gFriAEkXkfCjX5ib8ezGxtR3xD7iZIxrfArjEsH7F1CHD4RFUtxefdqV/A==}
+
resolution: {integrity: sha512-4+Z+0yiYyEtUVCScyfHCxOYP06L5Ne+JiHhY2IjR2KWMIWhJOYZKLSGZaP5HkZ8+bY0cxfzwDE5uOmzFXyIwxw==}
@@ -2564,13 +2667,33 @@ snapshots:
dependencies:
'@floating-ui/utils': 0.2.10
+ '@floating-ui/[email protected]':
+ dependencies:
+ '@floating-ui/utils': 0.2.11
+
'@floating-ui/[email protected]':
dependencies:
'@floating-ui/core': 1.7.3
'@floating-ui/utils': 0.2.10
+ '@floating-ui/[email protected]':
+ dependencies:
+ '@floating-ui/core': 1.7.5
+ '@floating-ui/utils': 0.2.11
+
'@floating-ui/[email protected]': {}
+ '@floating-ui/[email protected]': {}
+
+ dependencies:
+ '@floating-ui/dom': 1.7.6
+ '@floating-ui/utils': 0.2.11
+ transitivePeerDependencies:
+ - '@vue/composition-api'
+ - vue
+
'@humanfs/[email protected]': {}
'@humanfs/[email protected]':
@@ -2582,6 +2705,14 @@ snapshots:
'@humanwhocodes/[email protected]': {}
+ '@internationalized/[email protected]':
+ dependencies:
+ '@swc/helpers': 0.5.19
+
+ '@internationalized/[email protected]':
+ dependencies:
+ '@swc/helpers': 0.5.19
+
'@intlify/[email protected]':
dependencies:
'@intlify/message-compiler': 9.14.5
@@ -2767,6 +2898,10 @@ snapshots:
'@standard-schema/[email protected]': {}
+ dependencies:
+ tslib: 2.8.1
+
'@sxzz/[email protected]': {}
'@tailwindcss/[email protected]':
@@ -2838,6 +2973,13 @@ snapshots:
postcss: 8.5.6
tailwindcss: 4.1.18
+ '@tanstack/[email protected]': {}
+
+ dependencies:
+ '@tanstack/virtual-core': 3.13.23
+ vue: 3.5.26([email protected])
+
dependencies:
'@types/deep-eql': 4.0.2
@@ -2863,6 +3005,8 @@ snapshots:
'@types/[email protected]': {}
+ '@types/[email protected]': {}
+
'@types/[email protected]': {}
@@ -3107,8 +3251,17 @@ snapshots:
- '@vue/composition-api'
- vue
+ dependencies:
+ '@types/web-bluetooth': 0.0.21
+ '@vueuse/metadata': 14.2.1
+ '@vueuse/shared': 14.2.1([email protected]([email protected]))
+ vue: 3.5.26([email protected])
+
'@vueuse/[email protected]': {}
+ '@vueuse/[email protected]': {}
+
dependencies:
@@ -3116,6 +3269,10 @@ snapshots:
- '@vue/composition-api'
- vue
+ dependencies:
+ vue: 3.5.26([email protected])
+
@@ -3143,6 +3300,10 @@ snapshots:
+ dependencies:
+ tslib: 2.8.1
+
@@ -3206,6 +3367,12 @@ snapshots:
readdirp: 4.1.2
optional: true
+ dependencies:
+ clsx: 2.1.1
+
+
dependencies:
color-name: 1.1.4
@@ -3250,6 +3417,8 @@ snapshots:
+
@@ -3709,6 +3878,10 @@ snapshots:
+ dependencies:
+ vue: 3.5.26([email protected])
+
dependencies:
'@jridgewell/sourcemap-codec': 1.5.5
@@ -3743,6 +3916,8 @@ snapshots:
+
@@ -3762,6 +3937,8 @@ snapshots:
+
dependencies:
deep-is: 0.1.4
@@ -3835,9 +4012,42 @@ snapshots:
+ dependencies:
+ '@floating-ui/dom': 1.7.4
+ '@floating-ui/vue': 1.1.11([email protected]([email protected]))
+ '@internationalized/date': 3.12.0
+ '@internationalized/number': 3.6.5
+ '@tanstack/vue-virtual': 3.13.23([email protected]([email protected]))
+ '@vueuse/core': 10.11.1([email protected]([email protected]))
+ '@vueuse/shared': 10.11.1([email protected]([email protected]))
+ aria-hidden: 1.2.6
+ defu: 6.1.4
+ fast-deep-equal: 3.1.3
+ nanoid: 5.1.7
+ vue: 3.5.26([email protected])
+ transitivePeerDependencies:
+ - '@vue/composition-api'
+
optional: true
+ dependencies:
+ '@floating-ui/dom': 1.7.6
+ '@floating-ui/vue': 1.1.11([email protected]([email protected]))
+ '@internationalized/date': 3.12.0
+ '@internationalized/number': 3.6.5
+ '@tanstack/vue-virtual': 3.13.23([email protected]([email protected]))
+ '@vueuse/core': 14.2.1([email protected]([email protected]))
+ '@vueuse/shared': 14.2.1([email protected]([email protected]))
+ aria-hidden: 1.2.6
+ defu: 6.1.4
+ ohash: 2.0.11
+ vue: 3.5.26([email protected])
+ transitivePeerDependencies:
+ - '@vue/composition-api'
+
dependencies:
'@types/estree': 1.0.8
@@ -4022,6 +4232,8 @@ snapshots:
dependencies:
'@pkgr/core': 0.2.9
+
diff --git a/web/src/components/ui/alert/Alert.vue b/web/src/components/ui/alert/Alert.vue
new file mode 100644
index 0000000..9feea31
--- /dev/null
+++ b/web/src/components/ui/alert/Alert.vue
@@ -0,0 +1,17 @@
+<script setup lang="ts">
+import type { HTMLAttributes } from "vue"
+import type { AlertVariants } from "."
+import { cn } from "@/lib/utils"
+import { alertVariants } from "."
+
+const props = defineProps<{
+ class?: HTMLAttributes["class"]
+ variant?: AlertVariants["variant"]
+}>()
+</script>
+
+<template>
+ <div :class="cn(alertVariants({ variant }), props.class)" role="alert">
+ <slot />
+ </div>
+</template>
diff --git a/web/src/components/ui/alert/AlertDescription.vue b/web/src/components/ui/alert/AlertDescription.vue
new file mode 100644
index 0000000..afeaa01
--- /dev/null
+++ b/web/src/components/ui/alert/AlertDescription.vue
@@ -0,0 +1,14 @@
+<script setup lang="ts">
+import type { HTMLAttributes } from "vue"
+import { cn } from "@/lib/utils"
+
+const props = defineProps<{
+ class?: HTMLAttributes["class"]
+}>()
+</script>
+
+<template>
+ <div :class="cn('text-sm [&_p]:leading-relaxed', props.class)">
+ <slot />
+ </div>
+</template>
diff --git a/web/src/components/ui/alert/AlertTitle.vue b/web/src/components/ui/alert/AlertTitle.vue
new file mode 100644
index 0000000..1f98d11
--- /dev/null
+++ b/web/src/components/ui/alert/AlertTitle.vue
@@ -0,0 +1,14 @@
+<script setup lang="ts">
+import type { HTMLAttributes } from "vue"
+import { cn } from "@/lib/utils"
+
+const props = defineProps<{
+ class?: HTMLAttributes["class"]
+}>()
+</script>
+
+<template>
+ <h5 :class="cn('mb-1 font-medium leading-none tracking-tight', props.class)">
+ <slot />
+ </h5>
+</template>
diff --git a/web/src/components/ui/alert/index.ts b/web/src/components/ui/alert/index.ts
new file mode 100644
index 0000000..1106fd0
--- /dev/null
+++ b/web/src/components/ui/alert/index.ts
@@ -0,0 +1,24 @@
+import type { VariantProps } from "class-variance-authority"
+import { cva } from "class-variance-authority"
+
+export { default as Alert } from "./Alert.vue"
+export { default as AlertDescription } from "./AlertDescription.vue"
+export { default as AlertTitle } from "./AlertTitle.vue"
+
+export const alertVariants = cva(
+ "relative w-full rounded-lg border p-4 [&>svg~*]:pl-7 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground",
+ {
+ variants: {
+ variant: {
+ default: "bg-background text-foreground",
+ destructive:
+ "border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive",
+ },
+ },
+ defaultVariants: {
+ variant: "default",
+ },
+ },
+)
+
+export type AlertVariants = VariantProps<typeof alertVariants>
diff --git a/web/src/components/ui/badge/Badge.vue b/web/src/components/ui/badge/Badge.vue
new file mode 100644
index 0000000..0374568
--- /dev/null
+++ b/web/src/components/ui/badge/Badge.vue
@@ -0,0 +1,17 @@
+<script setup lang="ts">
+import type { HTMLAttributes } from "vue"
+import type { BadgeVariants } from "."
+import { cn } from "@/lib/utils"
+import { badgeVariants } from "."
+
+const props = defineProps<{
+ variant?: BadgeVariants["variant"]
+ class?: HTMLAttributes["class"]
+}>()
+</script>
+
+<template>
+ <div :class="cn(badgeVariants({ variant }), props.class)">
+ <slot />
+ </div>
+</template>
diff --git a/web/src/components/ui/badge/index.ts b/web/src/components/ui/badge/index.ts
new file mode 100644
index 0000000..98a768d
--- /dev/null
+++ b/web/src/components/ui/badge/index.ts
@@ -0,0 +1,26 @@
+import type { VariantProps } from "class-variance-authority"
+import { cva } from "class-variance-authority"
+
+export { default as Badge } from "./Badge.vue"
+
+export const badgeVariants = cva(
+ "inline-flex gap-1 items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",
+ {
+ variants: {
+ variant: {
+ default:
+ "border-transparent bg-primary text-primary-foreground hover:bg-primary/80",
+ secondary:
+ "border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",
+ destructive:
+ "border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80",
+ outline: "text-foreground",
+ },
+ },
+ defaultVariants: {
+ variant: "default",
+ },
+ },
+)
+
+export type BadgeVariants = VariantProps<typeof badgeVariants>
diff --git a/web/src/components/ui/button/Button.vue b/web/src/components/ui/button/Button.vue
new file mode 100644
index 0000000..3330ec9
--- /dev/null
+++ b/web/src/components/ui/button/Button.vue
@@ -0,0 +1,28 @@
+<script setup lang="ts">
+import type { PrimitiveProps } from "reka-ui"
+import type { HTMLAttributes } from "vue"
+import type { ButtonVariants } from "."
+import { Primitive } from "reka-ui"
+import { cn } from "@/lib/utils"
+import { buttonVariants } from "."
+
+interface Props extends PrimitiveProps {
+ variant?: ButtonVariants["variant"]
+ size?: ButtonVariants["size"]
+ class?: HTMLAttributes["class"]
+}
+
+const props = withDefaults(defineProps<Props>(), {
+ as: "button",
+})
+</script>
+
+<template>
+ <Primitive
+ :as="as"
+ :as-child="asChild"
+ :class="cn(buttonVariants({ variant, size }), props.class)"
+ >
+ <slot />
+ </Primitive>
+</template>
diff --git a/web/src/components/ui/button/index.ts b/web/src/components/ui/button/index.ts
new file mode 100644
index 0000000..92a950c
--- /dev/null
+++ b/web/src/components/ui/button/index.ts
@@ -0,0 +1,37 @@
+import type { VariantProps } from "class-variance-authority"
+import { cva } from "class-variance-authority"
+
+export { default as Button } from "./Button.vue"
+
+export const buttonVariants = cva(
+ "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
+ {
+ variants: {
+ variant: {
+ default: "bg-primary text-primary-foreground hover:bg-primary/90",
+ destructive:
+ "bg-destructive text-destructive-foreground hover:bg-destructive/90",
+ outline:
+ "border border-input bg-background hover:bg-accent hover:text-accent-foreground",
+ secondary:
+ "bg-secondary text-secondary-foreground hover:bg-secondary/80",
+ ghost: "hover:bg-accent hover:text-accent-foreground",
+ link: "text-primary underline-offset-4 hover:underline",
+ },
+ size: {
+ "default": "h-10 px-4 py-2",
+ "sm": "h-9 rounded-md px-3",
+ "lg": "h-11 rounded-md px-8",
+ "icon": "h-10 w-10",
+ "icon-sm": "size-9",
+ "icon-lg": "size-11",
+ },
+ },
+ defaultVariants: {
+ variant: "default",
+ size: "default",
+ },
+ },
+)
+
+export type ButtonVariants = VariantProps<typeof buttonVariants>
diff --git a/web/src/components/ui/checkbox/Checkbox.vue b/web/src/components/ui/checkbox/Checkbox.vue
new file mode 100644
index 0000000..f612895
--- /dev/null
+++ b/web/src/components/ui/checkbox/Checkbox.vue
@@ -0,0 +1,30 @@
+<script setup lang="ts">
+import type { CheckboxRootEmits, CheckboxRootProps } from "reka-ui"
+import type { HTMLAttributes } from "vue"
+import { reactiveOmit } from "@vueuse/core"
+import { Check } from "lucide-vue-next"
+import { CheckboxIndicator, CheckboxRoot, useForwardPropsEmits } from "reka-ui"
+import { cn } from "@/lib/utils"
+
+const props = defineProps<CheckboxRootProps & { class?: HTMLAttributes["class"] }>()
+const emits = defineEmits<CheckboxRootEmits>()
+
+const delegatedProps = reactiveOmit(props, "class")
+
+const forwarded = useForwardPropsEmits(delegatedProps, emits)
+</script>
+
+<template>
+ <CheckboxRoot
+ v-bind="forwarded"
+ :class="
+ cn('grid place-content-center peer h-4 w-4 shrink-0 rounded-sm border border-primary ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground',
+ props.class)"
+ >
+ <CheckboxIndicator class="grid place-content-center text-current">
+ <slot>
+ <Check class="h-4 w-4" />
+ </slot>
+ </CheckboxIndicator>
+ </CheckboxRoot>
+</template>
diff --git a/web/src/components/ui/checkbox/index.ts b/web/src/components/ui/checkbox/index.ts
new file mode 100644
index 0000000..3391a85
--- /dev/null
+++ b/web/src/components/ui/checkbox/index.ts
@@ -0,0 +1 @@
+export { default as Checkbox } from "./Checkbox.vue"
diff --git a/web/src/components/ui/dialog/Dialog.vue b/web/src/components/ui/dialog/Dialog.vue
new file mode 100644
index 0000000..47b0968
--- /dev/null
+++ b/web/src/components/ui/dialog/Dialog.vue
@@ -0,0 +1,15 @@
+<script setup lang="ts">
+import type { DialogRootEmits, DialogRootProps } from "reka-ui"
+import { DialogRoot, useForwardPropsEmits } from "reka-ui"
+
+const props = defineProps<DialogRootProps>()
+const emits = defineEmits<DialogRootEmits>()
+
+const forwarded = useForwardPropsEmits(props, emits)
+</script>
+
+<template>
+ <DialogRoot v-bind="forwarded">
+ <slot />
+ </DialogRoot>
+</template>
diff --git a/web/src/components/ui/dialog/DialogClose.vue b/web/src/components/ui/dialog/DialogClose.vue
new file mode 100644
index 0000000..0295976
--- /dev/null
+++ b/web/src/components/ui/dialog/DialogClose.vue
@@ -0,0 +1,12 @@
+<script setup lang="ts">
+import type { DialogCloseProps } from "reka-ui"
+import { DialogClose } from "reka-ui"
+
+const props = defineProps<DialogCloseProps>()
+</script>
+
+<template>
+ <DialogClose v-bind="props">
+ <slot />
+ </DialogClose>
+</template>
diff --git a/web/src/components/ui/dialog/DialogContent.vue b/web/src/components/ui/dialog/DialogContent.vue
new file mode 100644
index 0000000..4bc0a1c
--- /dev/null
+++ b/web/src/components/ui/dialog/DialogContent.vue
@@ -0,0 +1,46 @@
+<script setup lang="ts">
+import type { DialogContentEmits, DialogContentProps } from "reka-ui"
+import type { HTMLAttributes } from "vue"
+import { reactiveOmit } from "@vueuse/core"
+import { X } from "lucide-vue-next"
+import {
+ DialogClose,
+ DialogContent,
+ DialogOverlay,
+ DialogPortal,
+ useForwardPropsEmits,
+} from "reka-ui"
+import { cn } from "@/lib/utils"
+
+const props = defineProps<DialogContentProps & { class?: HTMLAttributes["class"] }>()
+const emits = defineEmits<DialogContentEmits>()
+
+const delegatedProps = reactiveOmit(props, "class")
+
+const forwarded = useForwardPropsEmits(delegatedProps, emits)
+</script>
+
+<template>
+ <DialogPortal>
+ <DialogOverlay
+ class="fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0"
+ />
+ <DialogContent
+ v-bind="forwarded"
+ :class="
+ cn(
+ 'fixed left-1/2 top-1/2 z-50 grid w-full max-w-lg -translate-x-1/2 -translate-y-1/2 gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg',
+ props.class,
+ )"
+ >
+ <slot />
+
+ <DialogClose
+ class="absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground"
+ >
+ <X class="w-4 h-4" />
+ <span class="sr-only">Close</span>
+ </DialogClose>
+ </DialogContent>
+ </DialogPortal>
+</template>
diff --git a/web/src/components/ui/dialog/DialogDescription.vue b/web/src/components/ui/dialog/DialogDescription.vue
new file mode 100644
index 0000000..062c3a5
--- /dev/null
+++ b/web/src/components/ui/dialog/DialogDescription.vue
@@ -0,0 +1,22 @@
+<script setup lang="ts">
+import type { DialogDescriptionProps } from "reka-ui"
+import type { HTMLAttributes } from "vue"
+import { reactiveOmit } from "@vueuse/core"
+import { DialogDescription, useForwardProps } from "reka-ui"
+import { cn } from "@/lib/utils"
+
+const props = defineProps<DialogDescriptionProps & { class?: HTMLAttributes["class"] }>()
+
+const delegatedProps = reactiveOmit(props, "class")
+
+const forwardedProps = useForwardProps(delegatedProps)
+</script>
+
+<template>
+ <DialogDescription
+ v-bind="forwardedProps"
+ :class="cn('text-sm text-muted-foreground', props.class)"
+ >
+ <slot />
+ </DialogDescription>
+</template>
diff --git a/web/src/components/ui/dialog/DialogFooter.vue b/web/src/components/ui/dialog/DialogFooter.vue
new file mode 100644
index 0000000..5f481e5
--- /dev/null
+++ b/web/src/components/ui/dialog/DialogFooter.vue
@@ -0,0 +1,19 @@
+<script setup lang="ts">
+import type { HTMLAttributes } from "vue"
+import { cn } from "@/lib/utils"
+
+const props = defineProps<{ class?: HTMLAttributes["class"] }>()
+</script>
+
+<template>
+ <div
+ :class="
+ cn(
+ 'flex flex-col-reverse sm:flex-row sm:justify-end sm:gap-x-2',
+ props.class,
+ )
+ "
+ >
+ <slot />
+ </div>
+</template>
diff --git a/web/src/components/ui/dialog/DialogHeader.vue b/web/src/components/ui/dialog/DialogHeader.vue
new file mode 100644
index 0000000..33aa003
--- /dev/null
+++ b/web/src/components/ui/dialog/DialogHeader.vue
@@ -0,0 +1,16 @@
+<script setup lang="ts">
+import type { HTMLAttributes } from "vue"
+import { cn } from "@/lib/utils"
+
+const props = defineProps<{
+ class?: HTMLAttributes["class"]
+}>()
+</script>
+
+<template>
+ <div
+ :class="cn('flex flex-col gap-y-1.5 text-center sm:text-left', props.class)"
+ >
+ <slot />
+ </div>
+</template>
diff --git a/web/src/components/ui/dialog/DialogScrollContent.vue b/web/src/components/ui/dialog/DialogScrollContent.vue
new file mode 100644
index 0000000..59a32ec
--- /dev/null
+++ b/web/src/components/ui/dialog/DialogScrollContent.vue
@@ -0,0 +1,55 @@
+<script setup lang="ts">
+import type { DialogContentEmits, DialogContentProps } from "reka-ui"
+import type { HTMLAttributes } from "vue"
+import { reactiveOmit } from "@vueuse/core"
+import { X } from "lucide-vue-next"
+import {
+ DialogClose,
+ DialogContent,
+ DialogOverlay,
+ DialogPortal,
+ useForwardPropsEmits,
+} from "reka-ui"
+import { cn } from "@/lib/utils"
+
+const props = defineProps<DialogContentProps & { class?: HTMLAttributes["class"] }>()
+const emits = defineEmits<DialogContentEmits>()
+
+const delegatedProps = reactiveOmit(props, "class")
+
+const forwarded = useForwardPropsEmits(delegatedProps, emits)
+</script>
+
+<template>
+ <DialogPortal>
+ <DialogOverlay
+ class="fixed inset-0 z-50 grid place-items-center overflow-y-auto bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0"
+ >
+ <DialogContent
+ :class="
+ cn(
+ 'relative z-50 grid w-full max-w-lg my-8 gap-4 border border-border bg-background p-6 shadow-lg duration-200 sm:rounded-lg md:w-full',
+ props.class,
+ )
+ "
+ v-bind="forwarded"
+ @pointer-down-outside="(event) => {
+ const originalEvent = event.detail.originalEvent;
+ const target = originalEvent.target as HTMLElement;
+ if (originalEvent.offsetX > target.clientWidth || originalEvent.offsetY > target.clientHeight) {
+ event.preventDefault();
+ }
+ }"
+ >
+ <slot />
+
+ <DialogClose
+ class="absolute top-3 right-3 p-0.5 transition-colors rounded-md hover:bg-secondary"
+ >
+ <X class="w-4 h-4" />
+ <span class="sr-only">Close</span>
+ </DialogClose>
+ </DialogContent>
+ </DialogOverlay>
+ </DialogPortal>
+</template>
diff --git a/web/src/components/ui/dialog/DialogTitle.vue b/web/src/components/ui/dialog/DialogTitle.vue
new file mode 100644
index 0000000..1de56de
--- /dev/null
+++ b/web/src/components/ui/dialog/DialogTitle.vue
@@ -0,0 +1,27 @@
+<script setup lang="ts">
+import type { DialogTitleProps } from "reka-ui"
+import type { HTMLAttributes } from "vue"
+import { reactiveOmit } from "@vueuse/core"
+import { DialogTitle, useForwardProps } from "reka-ui"
+import { cn } from "@/lib/utils"
+
+const props = defineProps<DialogTitleProps & { class?: HTMLAttributes["class"] }>()
+
+const delegatedProps = reactiveOmit(props, "class")
+
+const forwardedProps = useForwardProps(delegatedProps)
+</script>
+
+<template>
+ <DialogTitle
+ v-bind="forwardedProps"
+ :class="
+ cn(
+ 'text-lg font-semibold leading-none tracking-tight',
+ props.class,
+ )
+ "
+ >
+ <slot />
+ </DialogTitle>
+</template>
diff --git a/web/src/components/ui/dialog/DialogTrigger.vue b/web/src/components/ui/dialog/DialogTrigger.vue
new file mode 100644
index 0000000..a4fc3ee
--- /dev/null
+++ b/web/src/components/ui/dialog/DialogTrigger.vue
@@ -0,0 +1,12 @@
+<script setup lang="ts">
+import type { DialogTriggerProps } from "reka-ui"
+import { DialogTrigger } from "reka-ui"
+
+const props = defineProps<DialogTriggerProps>()
+</script>
+
+<template>
+ <DialogTrigger v-bind="props">
+ <slot />
+ </DialogTrigger>
+</template>
diff --git a/web/src/components/ui/dialog/index.ts b/web/src/components/ui/dialog/index.ts
new file mode 100644
index 0000000..c9c577f
--- /dev/null
+++ b/web/src/components/ui/dialog/index.ts
@@ -0,0 +1,9 @@
+export { default as Dialog } from "./Dialog.vue"
+export { default as DialogClose } from "./DialogClose.vue"
+export { default as DialogContent } from "./DialogContent.vue"
+export { default as DialogDescription } from "./DialogDescription.vue"
+export { default as DialogFooter } from "./DialogFooter.vue"
+export { default as DialogHeader } from "./DialogHeader.vue"
+export { default as DialogScrollContent } from "./DialogScrollContent.vue"
+export { default as DialogTitle } from "./DialogTitle.vue"
+export { default as DialogTrigger } from "./DialogTrigger.vue"
diff --git a/web/src/components/ui/dropdown-menu/DropdownMenu.vue b/web/src/components/ui/dropdown-menu/DropdownMenu.vue
new file mode 100644
index 0000000..bf38258
--- /dev/null
+++ b/web/src/components/ui/dropdown-menu/DropdownMenu.vue
@@ -0,0 +1,15 @@
+<script setup lang="ts">
+import type { DropdownMenuRootEmits, DropdownMenuRootProps } from "reka-ui"
+import { DropdownMenuRoot, useForwardPropsEmits } from "reka-ui"
+
+const props = defineProps<DropdownMenuRootProps>()
+const emits = defineEmits<DropdownMenuRootEmits>()
+
+const forwarded = useForwardPropsEmits(props, emits)
+</script>
+
+<template>
+ <DropdownMenuRoot v-bind="forwarded">
+ <slot />
+ </DropdownMenuRoot>
+</template>
diff --git a/web/src/components/ui/dropdown-menu/DropdownMenuCheckboxItem.vue b/web/src/components/ui/dropdown-menu/DropdownMenuCheckboxItem.vue
new file mode 100644
index 0000000..fcbad83
--- /dev/null
+++ b/web/src/components/ui/dropdown-menu/DropdownMenuCheckboxItem.vue
@@ -0,0 +1,36 @@
+<script setup lang="ts">
+import type { DropdownMenuCheckboxItemEmits, DropdownMenuCheckboxItemProps } from "reka-ui"
+import type { HTMLAttributes } from "vue"
+import { reactiveOmit } from "@vueuse/core"
+import { Check } from "lucide-vue-next"
+import {
+ DropdownMenuCheckboxItem,
+ DropdownMenuItemIndicator,
+ useForwardPropsEmits,
+} from "reka-ui"
+import { cn } from "@/lib/utils"
+
+const props = defineProps<DropdownMenuCheckboxItemProps & { class?: HTMLAttributes["class"] }>()
+const emits = defineEmits<DropdownMenuCheckboxItemEmits>()
+
+const delegatedProps = reactiveOmit(props, "class")
+
+const forwarded = useForwardPropsEmits(delegatedProps, emits)
+</script>
+
+<template>
+ <DropdownMenuCheckboxItem
+ v-bind="forwarded"
+ :class=" cn(
+ 'relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50',
+ props.class,
+ )"
+ >
+ <span class="absolute left-2 flex h-3.5 w-3.5 items-center justify-center">
+ <DropdownMenuItemIndicator>
+ <Check class="w-4 h-4" />
+ </DropdownMenuItemIndicator>
+ </span>
+ <slot />
+ </DropdownMenuCheckboxItem>
+</template>
diff --git a/web/src/components/ui/dropdown-menu/DropdownMenuContent.vue b/web/src/components/ui/dropdown-menu/DropdownMenuContent.vue
new file mode 100644
index 0000000..99f35fa
--- /dev/null
+++ b/web/src/components/ui/dropdown-menu/DropdownMenuContent.vue
@@ -0,0 +1,34 @@
+<script setup lang="ts">
+import type { DropdownMenuContentEmits, DropdownMenuContentProps } from "reka-ui"
+import type { HTMLAttributes } from "vue"
+import { reactiveOmit } from "@vueuse/core"
+import {
+ DropdownMenuContent,
+ DropdownMenuPortal,
+ useForwardPropsEmits,
+} from "reka-ui"
+import { cn } from "@/lib/utils"
+
+const props = withDefaults(
+ defineProps<DropdownMenuContentProps & { class?: HTMLAttributes["class"] }>(),
+ {
+ sideOffset: 4,
+ },
+)
+const emits = defineEmits<DropdownMenuContentEmits>()
+
+const delegatedProps = reactiveOmit(props, "class")
+
+const forwarded = useForwardPropsEmits(delegatedProps, emits)
+</script>
+
+<template>
+ <DropdownMenuPortal>
+ <DropdownMenuContent
+ v-bind="forwarded"
+ :class="cn('z-50 min-w-32 overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2', props.class)"
+ >
+ <slot />
+ </DropdownMenuContent>
+ </DropdownMenuPortal>
+</template>
diff --git a/web/src/components/ui/dropdown-menu/DropdownMenuGroup.vue b/web/src/components/ui/dropdown-menu/DropdownMenuGroup.vue
new file mode 100644
index 0000000..80c581a
--- /dev/null
+++ b/web/src/components/ui/dropdown-menu/DropdownMenuGroup.vue
@@ -0,0 +1,12 @@
+<script setup lang="ts">
+import type { DropdownMenuGroupProps } from "reka-ui"
+import { DropdownMenuGroup } from "reka-ui"
+
+const props = defineProps<DropdownMenuGroupProps>()
+</script>
+
+<template>
+ <DropdownMenuGroup v-bind="props">
+ <slot />
+ </DropdownMenuGroup>
+</template>
diff --git a/web/src/components/ui/dropdown-menu/DropdownMenuItem.vue b/web/src/components/ui/dropdown-menu/DropdownMenuItem.vue
new file mode 100644
index 0000000..98d1aa9
--- /dev/null
+++ b/web/src/components/ui/dropdown-menu/DropdownMenuItem.vue
@@ -0,0 +1,26 @@
+<script setup lang="ts">
+import type { DropdownMenuItemProps } from "reka-ui"
+import type { HTMLAttributes } from "vue"
+import { reactiveOmit } from "@vueuse/core"
+import { DropdownMenuItem, useForwardProps } from "reka-ui"
+import { cn } from "@/lib/utils"
+
+const props = defineProps<DropdownMenuItemProps & { class?: HTMLAttributes["class"], inset?: boolean }>()
+
+const delegatedProps = reactiveOmit(props, "class")
+
+const forwardedProps = useForwardProps(delegatedProps)
+</script>
+
+<template>
+ <DropdownMenuItem
+ v-bind="forwardedProps"
+ :class="cn(
+ 'relative flex cursor-default select-none items-center rounded-sm gap-2 px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&>svg]:size-4 [&>svg]:shrink-0',
+ inset && 'pl-8',
+ props.class,
+ )"
+ >
+ <slot />
+ </DropdownMenuItem>
+</template>
diff --git a/web/src/components/ui/dropdown-menu/DropdownMenuLabel.vue b/web/src/components/ui/dropdown-menu/DropdownMenuLabel.vue
new file mode 100644
index 0000000..f86fbdd
--- /dev/null
+++ b/web/src/components/ui/dropdown-menu/DropdownMenuLabel.vue
@@ -0,0 +1,22 @@
+<script setup lang="ts">
+import type { DropdownMenuLabelProps } from "reka-ui"
+import type { HTMLAttributes } from "vue"
+import { reactiveOmit } from "@vueuse/core"
+import { DropdownMenuLabel, useForwardProps } from "reka-ui"
+import { cn } from "@/lib/utils"
+
+const props = defineProps<DropdownMenuLabelProps & { class?: HTMLAttributes["class"], inset?: boolean }>()
+
+const delegatedProps = reactiveOmit(props, "class")
+
+const forwardedProps = useForwardProps(delegatedProps)
+</script>
+
+<template>
+ <DropdownMenuLabel
+ v-bind="forwardedProps"
+ :class="cn('px-2 py-1.5 text-sm font-semibold', inset && 'pl-8', props.class)"
+ >
+ <slot />
+ </DropdownMenuLabel>
+</template>
diff --git a/web/src/components/ui/dropdown-menu/DropdownMenuRadioGroup.vue b/web/src/components/ui/dropdown-menu/DropdownMenuRadioGroup.vue
new file mode 100644
index 0000000..1c31a65
--- /dev/null
+++ b/web/src/components/ui/dropdown-menu/DropdownMenuRadioGroup.vue
@@ -0,0 +1,18 @@
+<script setup lang="ts">
+import type { DropdownMenuRadioGroupEmits, DropdownMenuRadioGroupProps } from "reka-ui"
+import {
+ DropdownMenuRadioGroup,
+ useForwardPropsEmits,
+} from "reka-ui"
+
+const props = defineProps<DropdownMenuRadioGroupProps>()
+const emits = defineEmits<DropdownMenuRadioGroupEmits>()
+
+const forwarded = useForwardPropsEmits(props, emits)
+</script>
+
+<template>
+ <DropdownMenuRadioGroup v-bind="forwarded">
+ <slot />
+ </DropdownMenuRadioGroup>
+</template>
diff --git a/web/src/components/ui/dropdown-menu/DropdownMenuRadioItem.vue b/web/src/components/ui/dropdown-menu/DropdownMenuRadioItem.vue
new file mode 100644
index 0000000..f88430a
--- /dev/null
+++ b/web/src/components/ui/dropdown-menu/DropdownMenuRadioItem.vue
@@ -0,0 +1,37 @@
+<script setup lang="ts">
+import type { DropdownMenuRadioItemEmits, DropdownMenuRadioItemProps } from "reka-ui"
+import type { HTMLAttributes } from "vue"
+import { reactiveOmit } from "@vueuse/core"
+import { Circle } from "lucide-vue-next"
+import {
+ DropdownMenuItemIndicator,
+ DropdownMenuRadioItem,
+ useForwardPropsEmits,
+} from "reka-ui"
+import { cn } from "@/lib/utils"
+
+const props = defineProps<DropdownMenuRadioItemProps & { class?: HTMLAttributes["class"] }>()
+
+const emits = defineEmits<DropdownMenuRadioItemEmits>()
+
+const delegatedProps = reactiveOmit(props, "class")
+
+const forwarded = useForwardPropsEmits(delegatedProps, emits)
+</script>
+
+<template>
+ <DropdownMenuRadioItem
+ v-bind="forwarded"
+ :class="cn(
+ 'relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50',
+ props.class,
+ )"
+ >
+ <span class="absolute left-2 flex h-3.5 w-3.5 items-center justify-center">
+ <DropdownMenuItemIndicator>
+ <Circle class="h-2 w-2 fill-current" />
+ </DropdownMenuItemIndicator>
+ </span>
+ <slot />
+ </DropdownMenuRadioItem>
+</template>
diff --git a/web/src/components/ui/dropdown-menu/DropdownMenuSeparator.vue b/web/src/components/ui/dropdown-menu/DropdownMenuSeparator.vue
new file mode 100644
index 0000000..15864fa
--- /dev/null
+++ b/web/src/components/ui/dropdown-menu/DropdownMenuSeparator.vue
@@ -0,0 +1,19 @@
+<script setup lang="ts">
+import type { DropdownMenuSeparatorProps } from "reka-ui"
+import type { HTMLAttributes } from "vue"
+import { reactiveOmit } from "@vueuse/core"
+import {
+ DropdownMenuSeparator,
+} from "reka-ui"
+import { cn } from "@/lib/utils"
+
+const props = defineProps<DropdownMenuSeparatorProps & {
+ class?: HTMLAttributes["class"]
+}>()
+
+const delegatedProps = reactiveOmit(props, "class")
+</script>
+
+<template>
+ <DropdownMenuSeparator v-bind="delegatedProps" :class="cn('-mx-1 my-1 h-px bg-muted', props.class)" />
+</template>
diff --git a/web/src/components/ui/dropdown-menu/DropdownMenuShortcut.vue b/web/src/components/ui/dropdown-menu/DropdownMenuShortcut.vue
new file mode 100644
index 0000000..9367641
--- /dev/null
+++ b/web/src/components/ui/dropdown-menu/DropdownMenuShortcut.vue
@@ -0,0 +1,14 @@
+<script setup lang="ts">
+import type { HTMLAttributes } from "vue"
+import { cn } from "@/lib/utils"
+
+const props = defineProps<{
+ class?: HTMLAttributes["class"]
+}>()
+</script>
+
+<template>
+ <span :class="cn('ml-auto text-xs tracking-widest opacity-60', props.class)">
+ <slot />
+ </span>
+</template>
diff --git a/web/src/components/ui/dropdown-menu/DropdownMenuSub.vue b/web/src/components/ui/dropdown-menu/DropdownMenuSub.vue
new file mode 100644
index 0000000..2a31a10
--- /dev/null
+++ b/web/src/components/ui/dropdown-menu/DropdownMenuSub.vue
@@ -0,0 +1,18 @@
+<script setup lang="ts">
+import type { DropdownMenuSubEmits, DropdownMenuSubProps } from "reka-ui"
+import {
+ DropdownMenuSub,
+ useForwardPropsEmits,
+} from "reka-ui"
+
+const props = defineProps<DropdownMenuSubProps>()
+const emits = defineEmits<DropdownMenuSubEmits>()
+
+const forwarded = useForwardPropsEmits(props, emits)
+</script>
+
+<template>
+ <DropdownMenuSub v-bind="forwarded">
+ <slot />
+ </DropdownMenuSub>
+</template>
diff --git a/web/src/components/ui/dropdown-menu/DropdownMenuSubContent.vue b/web/src/components/ui/dropdown-menu/DropdownMenuSubContent.vue
new file mode 100644
index 0000000..d6d0ced
--- /dev/null
+++ b/web/src/components/ui/dropdown-menu/DropdownMenuSubContent.vue
@@ -0,0 +1,26 @@
+<script setup lang="ts">
+import type { DropdownMenuSubContentEmits, DropdownMenuSubContentProps } from "reka-ui"
+import type { HTMLAttributes } from "vue"
+import { reactiveOmit } from "@vueuse/core"
+import {
+ DropdownMenuSubContent,
+ useForwardPropsEmits,
+} from "reka-ui"
+import { cn } from "@/lib/utils"
+
+const props = defineProps<DropdownMenuSubContentProps & { class?: HTMLAttributes["class"] }>()
+const emits = defineEmits<DropdownMenuSubContentEmits>()
+
+const delegatedProps = reactiveOmit(props, "class")
+
+const forwarded = useForwardPropsEmits(delegatedProps, emits)
+</script>
+
+<template>
+ <DropdownMenuSubContent
+ v-bind="forwarded"
+ :class="cn('z-50 min-w-32 overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2', props.class)"
+ >
+ <slot />
+ </DropdownMenuSubContent>
+</template>
diff --git a/web/src/components/ui/dropdown-menu/DropdownMenuSubTrigger.vue b/web/src/components/ui/dropdown-menu/DropdownMenuSubTrigger.vue
new file mode 100644
index 0000000..c3764f5
--- /dev/null
+++ b/web/src/components/ui/dropdown-menu/DropdownMenuSubTrigger.vue
@@ -0,0 +1,30 @@
+<script setup lang="ts">
+import type { DropdownMenuSubTriggerProps } from "reka-ui"
+import type { HTMLAttributes } from "vue"
+import { reactiveOmit } from "@vueuse/core"
+import { ChevronRight } from "lucide-vue-next"
+import {
+ DropdownMenuSubTrigger,
+ useForwardProps,
+} from "reka-ui"
+import { cn } from "@/lib/utils"
+
+const props = defineProps<DropdownMenuSubTriggerProps & { class?: HTMLAttributes["class"] }>()
+
+const delegatedProps = reactiveOmit(props, "class")
+
+const forwardedProps = useForwardProps(delegatedProps)
+</script>
+
+<template>
+ <DropdownMenuSubTrigger
+ v-bind="forwardedProps"
+ :class="cn(
+ 'flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent',
+ props.class,
+ )"
+ >
+ <slot />
+ <ChevronRight class="ml-auto h-4 w-4" />
+ </DropdownMenuSubTrigger>
+</template>
diff --git a/web/src/components/ui/dropdown-menu/DropdownMenuTrigger.vue b/web/src/components/ui/dropdown-menu/DropdownMenuTrigger.vue
new file mode 100644
index 0000000..ada9a0a
--- /dev/null
+++ b/web/src/components/ui/dropdown-menu/DropdownMenuTrigger.vue
@@ -0,0 +1,14 @@
+<script setup lang="ts">
+import type { DropdownMenuTriggerProps } from "reka-ui"
+import { DropdownMenuTrigger, useForwardProps } from "reka-ui"
+
+const props = defineProps<DropdownMenuTriggerProps>()
+
+const forwardedProps = useForwardProps(props)
+</script>
+
+<template>
+ <DropdownMenuTrigger class="outline-none" v-bind="forwardedProps">
+ <slot />
+ </DropdownMenuTrigger>
+</template>
diff --git a/web/src/components/ui/dropdown-menu/index.ts b/web/src/components/ui/dropdown-menu/index.ts
new file mode 100644
index 0000000..955fe3a
--- /dev/null
+++ b/web/src/components/ui/dropdown-menu/index.ts
@@ -0,0 +1,16 @@
+export { default as DropdownMenu } from "./DropdownMenu.vue"
+
+export { default as DropdownMenuCheckboxItem } from "./DropdownMenuCheckboxItem.vue"
+export { default as DropdownMenuContent } from "./DropdownMenuContent.vue"
+export { default as DropdownMenuGroup } from "./DropdownMenuGroup.vue"
+export { default as DropdownMenuItem } from "./DropdownMenuItem.vue"
+export { default as DropdownMenuLabel } from "./DropdownMenuLabel.vue"
+export { default as DropdownMenuRadioGroup } from "./DropdownMenuRadioGroup.vue"
+export { default as DropdownMenuRadioItem } from "./DropdownMenuRadioItem.vue"
+export { default as DropdownMenuSeparator } from "./DropdownMenuSeparator.vue"
+export { default as DropdownMenuShortcut } from "./DropdownMenuShortcut.vue"
+export { default as DropdownMenuSub } from "./DropdownMenuSub.vue"
+export { default as DropdownMenuSubContent } from "./DropdownMenuSubContent.vue"
+export { default as DropdownMenuSubTrigger } from "./DropdownMenuSubTrigger.vue"
+export { default as DropdownMenuTrigger } from "./DropdownMenuTrigger.vue"
+export { DropdownMenuPortal } from "reka-ui"
diff --git a/web/src/components/ui/input/Input.vue b/web/src/components/ui/input/Input.vue
new file mode 100644
index 0000000..170f1f7
--- /dev/null
+++ b/web/src/components/ui/input/Input.vue
@@ -0,0 +1,24 @@
+<script setup lang="ts">
+import type { HTMLAttributes } from "vue"
+import { useVModel } from "@vueuse/core"
+import { cn } from "@/lib/utils"
+
+const props = defineProps<{
+ defaultValue?: string | number
+ modelValue?: string | number
+ class?: HTMLAttributes["class"]
+}>()
+
+const emits = defineEmits<{
+ (e: "update:modelValue", payload: string | number): void
+}>()
+
+const modelValue = useVModel(props, "modelValue", emits, {
+ passive: true,
+ defaultValue: props.defaultValue,
+})
+</script>
+
+<template>
+ <input v-model="modelValue" :class="cn('flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background file:border-0 file:bg-transparent file:text-foreground file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50', props.class)">
+</template>
diff --git a/web/src/components/ui/input/index.ts b/web/src/components/ui/input/index.ts
new file mode 100644
index 0000000..9976b86
--- /dev/null
+++ b/web/src/components/ui/input/index.ts
@@ -0,0 +1 @@
+export { default as Input } from "./Input.vue"
diff --git a/web/src/components/ui/popover/Popover.vue b/web/src/components/ui/popover/Popover.vue
new file mode 100644
index 0000000..18a762a
--- /dev/null
+++ b/web/src/components/ui/popover/Popover.vue
@@ -0,0 +1,15 @@
+<script setup lang="ts">
+import type { PopoverRootEmits, PopoverRootProps } from "reka-ui"
+import { PopoverRoot, useForwardPropsEmits } from "reka-ui"
+
+const props = defineProps<PopoverRootProps>()
+const emits = defineEmits<PopoverRootEmits>()
+
+const forwarded = useForwardPropsEmits(props, emits)
+</script>
+
+<template>
+ <PopoverRoot v-bind="forwarded">
+ <slot />
+ </PopoverRoot>
+</template>
diff --git a/web/src/components/ui/popover/PopoverContent.vue b/web/src/components/ui/popover/PopoverContent.vue
new file mode 100644
index 0000000..701e4c6
--- /dev/null
+++ b/web/src/components/ui/popover/PopoverContent.vue
@@ -0,0 +1,44 @@
+<script setup lang="ts">
+import type { PopoverContentEmits, PopoverContentProps } from "reka-ui"
+import type { HTMLAttributes } from "vue"
+import { reactiveOmit } from "@vueuse/core"
+import {
+ PopoverContent,
+ PopoverPortal,
+ useForwardPropsEmits,
+} from "reka-ui"
+import { cn } from "@/lib/utils"
+
+defineOptions({
+ inheritAttrs: false,
+})
+
+const props = withDefaults(
+ defineProps<PopoverContentProps & { class?: HTMLAttributes["class"] }>(),
+ {
+ align: "center",
+ sideOffset: 4,
+ },
+)
+const emits = defineEmits<PopoverContentEmits>()
+
+const delegatedProps = reactiveOmit(props, "class")
+
+const forwarded = useForwardPropsEmits(delegatedProps, emits)
+</script>
+
+<template>
+ <PopoverPortal>
+ <PopoverContent
+ v-bind="{ ...forwarded, ...$attrs }"
+ :class="
+ cn(
+ 'z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2',
+ props.class,
+ )
+ "
+ >
+ <slot />
+ </PopoverContent>
+ </PopoverPortal>
+</template>
diff --git a/web/src/components/ui/popover/PopoverTrigger.vue b/web/src/components/ui/popover/PopoverTrigger.vue
new file mode 100644
index 0000000..185b117
--- /dev/null
+++ b/web/src/components/ui/popover/PopoverTrigger.vue
@@ -0,0 +1,12 @@
+<script setup lang="ts">
+import type { PopoverTriggerProps } from "reka-ui"
+import { PopoverTrigger } from "reka-ui"
+
+const props = defineProps<PopoverTriggerProps>()
+</script>
+
+<template>
+ <PopoverTrigger v-bind="props">
+ <slot />
+ </PopoverTrigger>
+</template>
diff --git a/web/src/components/ui/popover/index.ts b/web/src/components/ui/popover/index.ts
new file mode 100644
index 0000000..2490908
--- /dev/null
+++ b/web/src/components/ui/popover/index.ts
@@ -0,0 +1,3 @@
+export { default as Popover } from "./Popover.vue"
+export { default as PopoverContent } from "./PopoverContent.vue"
+export { default as PopoverTrigger } from "./PopoverTrigger.vue"
diff --git a/web/src/components/ui/scroll-area/ScrollArea.vue b/web/src/components/ui/scroll-area/ScrollArea.vue
new file mode 100644
index 0000000..ee774a5
--- /dev/null
+++ b/web/src/components/ui/scroll-area/ScrollArea.vue
@@ -0,0 +1,26 @@
+<script setup lang="ts">
+import type { ScrollAreaRootProps } from "reka-ui"
+import type { HTMLAttributes } from "vue"
+import { reactiveOmit } from "@vueuse/core"
+import {
+ ScrollAreaCorner,
+ ScrollAreaRoot,
+ ScrollAreaViewport,
+} from "reka-ui"
+import { cn } from "@/lib/utils"
+import ScrollBar from "./ScrollBar.vue"
+
+const props = defineProps<ScrollAreaRootProps & { class?: HTMLAttributes["class"] }>()
+
+const delegatedProps = reactiveOmit(props, "class")
+</script>
+
+<template>
+ <ScrollAreaRoot v-bind="delegatedProps" :class="cn('relative overflow-hidden', props.class)">
+ <ScrollAreaViewport class="h-full w-full rounded-[inherit]">
+ <slot />
+ </ScrollAreaViewport>
+ <ScrollBar />
+ <ScrollAreaCorner />
+ </ScrollAreaRoot>
+</template>
diff --git a/web/src/components/ui/scroll-area/ScrollBar.vue b/web/src/components/ui/scroll-area/ScrollBar.vue
new file mode 100644
index 0000000..37fd931
--- /dev/null
+++ b/web/src/components/ui/scroll-area/ScrollBar.vue
@@ -0,0 +1,28 @@
+<script setup lang="ts">
+import type { ScrollAreaScrollbarProps } from "reka-ui"
+import type { HTMLAttributes } from "vue"
+import { reactiveOmit } from "@vueuse/core"
+import { ScrollAreaScrollbar, ScrollAreaThumb } from "reka-ui"
+import { cn } from "@/lib/utils"
+
+const props = withDefaults(defineProps<ScrollAreaScrollbarProps & { class?: HTMLAttributes["class"] }>(), {
+ orientation: "vertical",
+})
+
+const delegatedProps = reactiveOmit(props, "class")
+</script>
+
+<template>
+ <ScrollAreaScrollbar
+ v-bind="delegatedProps"
+ :class="
+ cn('flex touch-none select-none transition-colors',
+ orientation === 'vertical'
+ && 'h-full w-2.5 border-l border-l-transparent p-px',
+ orientation === 'horizontal'
+ && 'h-2.5 flex-col border-t border-t-transparent p-px',
+ props.class)"
+ >
+ <ScrollAreaThumb class="relative flex-1 rounded-full bg-border" />
+ </ScrollAreaScrollbar>
+</template>
diff --git a/web/src/components/ui/scroll-area/index.ts b/web/src/components/ui/scroll-area/index.ts
new file mode 100644
index 0000000..c416759
--- /dev/null
+++ b/web/src/components/ui/scroll-area/index.ts
@@ -0,0 +1,2 @@
+export { default as ScrollArea } from "./ScrollArea.vue"
+export { default as ScrollBar } from "./ScrollBar.vue"
diff --git a/web/src/components/ui/select/Select.vue b/web/src/components/ui/select/Select.vue
new file mode 100644
index 0000000..416fefd
--- /dev/null
+++ b/web/src/components/ui/select/Select.vue
@@ -0,0 +1,15 @@
+<script setup lang="ts">
+import type { SelectRootEmits, SelectRootProps } from "reka-ui"
+import { SelectRoot, useForwardPropsEmits } from "reka-ui"
+
+const props = defineProps<SelectRootProps>()
+const emits = defineEmits<SelectRootEmits>()
+
+const forwarded = useForwardPropsEmits(props, emits)
+</script>
+
+<template>
+ <SelectRoot v-bind="forwarded">
+ <slot />
+ </SelectRoot>
+</template>
diff --git a/web/src/components/ui/select/SelectContent.vue b/web/src/components/ui/select/SelectContent.vue
new file mode 100644
index 0000000..0635930
--- /dev/null
+++ b/web/src/components/ui/select/SelectContent.vue
@@ -0,0 +1,49 @@
+<script setup lang="ts">
+import type { SelectContentEmits, SelectContentProps } from "reka-ui"
+import type { HTMLAttributes } from "vue"
+import { reactiveOmit } from "@vueuse/core"
+import {
+ SelectContent,
+ SelectPortal,
+ SelectViewport,
+ useForwardPropsEmits,
+} from "reka-ui"
+import { cn } from "@/lib/utils"
+import { SelectScrollDownButton, SelectScrollUpButton } from "."
+
+defineOptions({
+ inheritAttrs: false,
+})
+
+const props = withDefaults(
+ defineProps<SelectContentProps & { class?: HTMLAttributes["class"] }>(),
+ {
+ position: "popper",
+ },
+)
+const emits = defineEmits<SelectContentEmits>()
+
+const delegatedProps = reactiveOmit(props, "class")
+
+const forwarded = useForwardPropsEmits(delegatedProps, emits)
+</script>
+
+<template>
+ <SelectPortal>
+ <SelectContent
+ v-bind="{ ...forwarded, ...$attrs }" :class="cn(
+ 'relative z-50 max-h-96 min-w-32 overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2',
+ position === 'popper'
+ && 'data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1',
+ props.class,
+ )
+ "
+ >
+ <SelectScrollUpButton />
+ <SelectViewport :class="cn('p-1', position === 'popper' && 'h-[--reka-select-trigger-height] w-full min-w-[--reka-select-trigger-width]')">
+ <slot />
+ </SelectViewport>
+ <SelectScrollDownButton />
+ </SelectContent>
+ </SelectPortal>
+</template>
diff --git a/web/src/components/ui/select/SelectGroup.vue b/web/src/components/ui/select/SelectGroup.vue
new file mode 100644
index 0000000..5e08945
--- /dev/null
+++ b/web/src/components/ui/select/SelectGroup.vue
@@ -0,0 +1,17 @@
+<script setup lang="ts">
+import type { SelectGroupProps } from "reka-ui"
+import type { HTMLAttributes } from "vue"
+import { reactiveOmit } from "@vueuse/core"
+import { SelectGroup } from "reka-ui"
+import { cn } from "@/lib/utils"
+
+const props = defineProps<SelectGroupProps & { class?: HTMLAttributes["class"] }>()
+
+const delegatedProps = reactiveOmit(props, "class")
+</script>
+
+<template>
+ <SelectGroup :class="cn('p-1 w-full', props.class)" v-bind="delegatedProps">
+ <slot />
+ </SelectGroup>
+</template>
diff --git a/web/src/components/ui/select/SelectItem.vue b/web/src/components/ui/select/SelectItem.vue
new file mode 100644
index 0000000..c4596a7
--- /dev/null
+++ b/web/src/components/ui/select/SelectItem.vue
@@ -0,0 +1,41 @@
+<script setup lang="ts">
+import type { SelectItemProps } from "reka-ui"
+import type { HTMLAttributes } from "vue"
+import { reactiveOmit } from "@vueuse/core"
+import { Check } from "lucide-vue-next"
+import {
+ SelectItem,
+ SelectItemIndicator,
+ SelectItemText,
+ useForwardProps,
+} from "reka-ui"
+import { cn } from "@/lib/utils"
+
+const props = defineProps<SelectItemProps & { class?: HTMLAttributes["class"] }>()
+
+const delegatedProps = reactiveOmit(props, "class")
+
+const forwardedProps = useForwardProps(delegatedProps)
+</script>
+
+<template>
+ <SelectItem
+ v-bind="forwardedProps"
+ :class="
+ cn(
+ 'relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50',
+ props.class,
+ )
+ "
+ >
+ <span class="absolute left-2 flex h-3.5 w-3.5 items-center justify-center">
+ <SelectItemIndicator>
+ <Check class="h-4 w-4" />
+ </SelectItemIndicator>
+ </span>
+
+ <SelectItemText>
+ <slot />
+ </SelectItemText>
+ </SelectItem>
+</template>
diff --git a/web/src/components/ui/select/SelectItemText.vue b/web/src/components/ui/select/SelectItemText.vue
new file mode 100644
index 0000000..3339d52
--- /dev/null
+++ b/web/src/components/ui/select/SelectItemText.vue
@@ -0,0 +1,12 @@
+<script setup lang="ts">
+import type { SelectItemTextProps } from "reka-ui"
+import { SelectItemText } from "reka-ui"
+
+const props = defineProps<SelectItemTextProps>()
+</script>
+
+<template>
+ <SelectItemText v-bind="props">
+ <slot />
+ </SelectItemText>
+</template>
diff --git a/web/src/components/ui/select/SelectLabel.vue b/web/src/components/ui/select/SelectLabel.vue
new file mode 100644
index 0000000..c751840
--- /dev/null
+++ b/web/src/components/ui/select/SelectLabel.vue
@@ -0,0 +1,14 @@
+<script setup lang="ts">
+import type { SelectLabelProps } from "reka-ui"
+import type { HTMLAttributes } from "vue"
+import { SelectLabel } from "reka-ui"
+import { cn } from "@/lib/utils"
+
+const props = defineProps<SelectLabelProps & { class?: HTMLAttributes["class"] }>()
+</script>
+
+<template>
+ <SelectLabel :class="cn('py-1.5 pl-8 pr-2 text-sm font-semibold', props.class)">
+ <slot />
+ </SelectLabel>
+</template>
diff --git a/web/src/components/ui/select/SelectScrollDownButton.vue b/web/src/components/ui/select/SelectScrollDownButton.vue
new file mode 100644
index 0000000..c999e65
--- /dev/null
+++ b/web/src/components/ui/select/SelectScrollDownButton.vue
@@ -0,0 +1,22 @@
+<script setup lang="ts">
+import type { SelectScrollDownButtonProps } from "reka-ui"
+import type { HTMLAttributes } from "vue"
+import { reactiveOmit } from "@vueuse/core"
+import { ChevronDown } from "lucide-vue-next"
+import { SelectScrollDownButton, useForwardProps } from "reka-ui"
+import { cn } from "@/lib/utils"
+
+const props = defineProps<SelectScrollDownButtonProps & { class?: HTMLAttributes["class"] }>()
+
+const delegatedProps = reactiveOmit(props, "class")
+
+const forwardedProps = useForwardProps(delegatedProps)
+</script>
+
+<template>
+ <SelectScrollDownButton v-bind="forwardedProps" :class="cn('flex cursor-default items-center justify-center py-1', props.class)">
+ <slot>
+ <ChevronDown class="h-4 w-4" />
+ </slot>
+ </SelectScrollDownButton>
+</template>
diff --git a/web/src/components/ui/select/SelectScrollUpButton.vue b/web/src/components/ui/select/SelectScrollUpButton.vue
new file mode 100644
index 0000000..4906cc8
--- /dev/null
+++ b/web/src/components/ui/select/SelectScrollUpButton.vue
@@ -0,0 +1,22 @@
+<script setup lang="ts">
+import type { SelectScrollUpButtonProps } from "reka-ui"
+import type { HTMLAttributes } from "vue"
+import { reactiveOmit } from "@vueuse/core"
+import { ChevronUp } from "lucide-vue-next"
+import { SelectScrollUpButton, useForwardProps } from "reka-ui"
+import { cn } from "@/lib/utils"
+
+const props = defineProps<SelectScrollUpButtonProps & { class?: HTMLAttributes["class"] }>()
+
+const delegatedProps = reactiveOmit(props, "class")
+
+const forwardedProps = useForwardProps(delegatedProps)
+</script>
+
+<template>
+ <SelectScrollUpButton v-bind="forwardedProps" :class="cn('flex cursor-default items-center justify-center py-1', props.class)">
+ <slot>
+ <ChevronUp class="h-4 w-4" />
+ </slot>
+ </SelectScrollUpButton>
+</template>
diff --git a/web/src/components/ui/select/SelectSeparator.vue b/web/src/components/ui/select/SelectSeparator.vue
new file mode 100644
index 0000000..89c12ea
--- /dev/null
+++ b/web/src/components/ui/select/SelectSeparator.vue
@@ -0,0 +1,15 @@
+<script setup lang="ts">
+import type { SelectSeparatorProps } from "reka-ui"
+import type { HTMLAttributes } from "vue"
+import { reactiveOmit } from "@vueuse/core"
+import { SelectSeparator } from "reka-ui"
+import { cn } from "@/lib/utils"
+
+const props = defineProps<SelectSeparatorProps & { class?: HTMLAttributes["class"] }>()
+
+const delegatedProps = reactiveOmit(props, "class")
+</script>
+
+<template>
+ <SelectSeparator v-bind="delegatedProps" :class="cn('-mx-1 my-1 h-px bg-muted', props.class)" />
+</template>
diff --git a/web/src/components/ui/select/SelectTrigger.vue b/web/src/components/ui/select/SelectTrigger.vue
new file mode 100644
index 0000000..1667365
--- /dev/null
+++ b/web/src/components/ui/select/SelectTrigger.vue
@@ -0,0 +1,29 @@
+<script setup lang="ts">
+import type { SelectTriggerProps } from "reka-ui"
+import type { HTMLAttributes } from "vue"
+import { reactiveOmit } from "@vueuse/core"
+import { ChevronDown } from "lucide-vue-next"
+import { SelectIcon, SelectTrigger, useForwardProps } from "reka-ui"
+import { cn } from "@/lib/utils"
+
+const props = defineProps<SelectTriggerProps & { class?: HTMLAttributes["class"] }>()
+
+const delegatedProps = reactiveOmit(props, "class")
+
+const forwardedProps = useForwardProps(delegatedProps)
+</script>
+
+<template>
+ <SelectTrigger
+ v-bind="forwardedProps"
+ :class="cn(
+ 'flex h-10 w-full items-center justify-between rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background data-[placeholder]:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:truncate text-start',
+ props.class,
+ )"
+ >
+ <slot />
+ <SelectIcon as-child>
+ <ChevronDown class="w-4 h-4 opacity-50 shrink-0" />
+ </SelectIcon>
+ </SelectTrigger>
+</template>
diff --git a/web/src/components/ui/select/SelectValue.vue b/web/src/components/ui/select/SelectValue.vue
new file mode 100644
index 0000000..d8bba4d
--- /dev/null
+++ b/web/src/components/ui/select/SelectValue.vue
@@ -0,0 +1,12 @@
+<script setup lang="ts">
+import type { SelectValueProps } from "reka-ui"
+import { SelectValue } from "reka-ui"
+
+const props = defineProps<SelectValueProps>()
+</script>
+
+<template>
+ <SelectValue v-bind="props">
+ <slot />
+ </SelectValue>
+</template>
diff --git a/web/src/components/ui/select/index.ts b/web/src/components/ui/select/index.ts
new file mode 100644
index 0000000..96eae60
--- /dev/null
+++ b/web/src/components/ui/select/index.ts
@@ -0,0 +1,11 @@
+export { default as Select } from "./Select.vue"
+export { default as SelectContent } from "./SelectContent.vue"
+export { default as SelectGroup } from "./SelectGroup.vue"
+export { default as SelectItem } from "./SelectItem.vue"
+export { default as SelectItemText } from "./SelectItemText.vue"
+export { default as SelectLabel } from "./SelectLabel.vue"
+export { default as SelectScrollDownButton } from "./SelectScrollDownButton.vue"
+export { default as SelectScrollUpButton } from "./SelectScrollUpButton.vue"
+export { default as SelectSeparator } from "./SelectSeparator.vue"
+export { default as SelectTrigger } from "./SelectTrigger.vue"
+export { default as SelectValue } from "./SelectValue.vue"
diff --git a/web/src/components/ui/separator/Separator.vue b/web/src/components/ui/separator/Separator.vue
new file mode 100644
index 0000000..3daf562
--- /dev/null
+++ b/web/src/components/ui/separator/Separator.vue
@@ -0,0 +1,29 @@
+<script setup lang="ts">
+import type { SeparatorProps } from "reka-ui"
+import type { HTMLAttributes } from "vue"
+import { reactiveOmit } from "@vueuse/core"
+import { Separator } from "reka-ui"
+import { cn } from "@/lib/utils"
+
+const props = withDefaults(defineProps<
+ SeparatorProps & { class?: HTMLAttributes["class"] }
+>(), {
+ orientation: "horizontal",
+ decorative: true,
+})
+
+const delegatedProps = reactiveOmit(props, "class")
+</script>
+
+<template>
+ <Separator
+ v-bind="delegatedProps"
+ :class="
+ cn(
+ 'shrink-0 bg-border',
+ props.orientation === 'horizontal' ? 'h-px w-full' : 'w-px h-full',
+ props.class,
+ )
+ "
+ />
+</template>
diff --git a/web/src/components/ui/separator/index.ts b/web/src/components/ui/separator/index.ts
new file mode 100644
index 0000000..4407287
--- /dev/null
+++ b/web/src/components/ui/separator/index.ts
@@ -0,0 +1 @@
+export { default as Separator } from "./Separator.vue"
diff --git a/web/src/components/ui/sheet/Sheet.vue b/web/src/components/ui/sheet/Sheet.vue
new file mode 100644
index 0000000..47b0968
--- /dev/null
+++ b/web/src/components/ui/sheet/Sheet.vue
@@ -0,0 +1,15 @@
+<script setup lang="ts">
+import type { DialogRootEmits, DialogRootProps } from "reka-ui"
+import { DialogRoot, useForwardPropsEmits } from "reka-ui"
+
+const props = defineProps<DialogRootProps>()
+const emits = defineEmits<DialogRootEmits>()
+
+const forwarded = useForwardPropsEmits(props, emits)
+</script>
+
+<template>
+ <DialogRoot v-bind="forwarded">
+ <slot />
+ </DialogRoot>
+</template>
diff --git a/web/src/components/ui/sheet/SheetClose.vue b/web/src/components/ui/sheet/SheetClose.vue
new file mode 100644
index 0000000..0295976
--- /dev/null
+++ b/web/src/components/ui/sheet/SheetClose.vue
@@ -0,0 +1,12 @@
+<script setup lang="ts">
+import type { DialogCloseProps } from "reka-ui"
+import { DialogClose } from "reka-ui"
+
+const props = defineProps<DialogCloseProps>()
+</script>
+
+<template>
+ <DialogClose v-bind="props">
+ <slot />
+ </DialogClose>
+</template>
diff --git a/web/src/components/ui/sheet/SheetContent.vue b/web/src/components/ui/sheet/SheetContent.vue
new file mode 100644
index 0000000..567b017
--- /dev/null
+++ b/web/src/components/ui/sheet/SheetContent.vue
@@ -0,0 +1,53 @@
+<script setup lang="ts">
+import type { DialogContentEmits, DialogContentProps } from "reka-ui"
+import type { HTMLAttributes } from "vue"
+import type { SheetVariants } from "."
+import { reactiveOmit } from "@vueuse/core"
+import { X } from "lucide-vue-next"
+import {
+ DialogClose,
+ DialogContent,
+ DialogOverlay,
+ DialogPortal,
+ useForwardPropsEmits,
+} from "reka-ui"
+import { cn } from "@/lib/utils"
+import { sheetVariants } from "."
+
+interface SheetContentProps extends DialogContentProps {
+ class?: HTMLAttributes["class"]
+ side?: SheetVariants["side"]
+}
+
+defineOptions({
+ inheritAttrs: false,
+})
+
+const props = defineProps<SheetContentProps>()
+
+const emits = defineEmits<DialogContentEmits>()
+
+const delegatedProps = reactiveOmit(props, "class", "side")
+
+const forwarded = useForwardPropsEmits(delegatedProps, emits)
+</script>
+
+<template>
+ <DialogPortal>
+ <DialogOverlay
+ class="fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0"
+ />
+ <DialogContent
+ :class="cn(sheetVariants({ side }), props.class)"
+ v-bind="{ ...forwarded, ...$attrs }"
+ >
+ <slot />
+
+ <DialogClose
+ class="absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary"
+ >
+ <X class="w-4 h-4 text-muted-foreground" />
+ </DialogClose>
+ </DialogContent>
+ </DialogPortal>
+</template>
diff --git a/web/src/components/ui/sheet/SheetDescription.vue b/web/src/components/ui/sheet/SheetDescription.vue
new file mode 100644
index 0000000..455c2f4
--- /dev/null
+++ b/web/src/components/ui/sheet/SheetDescription.vue
@@ -0,0 +1,20 @@
+<script setup lang="ts">
+import type { DialogDescriptionProps } from "reka-ui"
+import type { HTMLAttributes } from "vue"
+import { reactiveOmit } from "@vueuse/core"
+import { DialogDescription } from "reka-ui"
+import { cn } from "@/lib/utils"
+
+const props = defineProps<DialogDescriptionProps & { class?: HTMLAttributes["class"] }>()
+
+const delegatedProps = reactiveOmit(props, "class")
+</script>
+
+<template>
+ <DialogDescription
+ :class="cn('text-sm text-muted-foreground', props.class)"
+ v-bind="delegatedProps"
+ >
+ <slot />
+ </DialogDescription>
+</template>
diff --git a/web/src/components/ui/sheet/SheetFooter.vue b/web/src/components/ui/sheet/SheetFooter.vue
new file mode 100644
index 0000000..5f481e5
--- /dev/null
+++ b/web/src/components/ui/sheet/SheetFooter.vue
@@ -0,0 +1,19 @@
+<script setup lang="ts">
+import type { HTMLAttributes } from "vue"
+import { cn } from "@/lib/utils"
+
+const props = defineProps<{ class?: HTMLAttributes["class"] }>()
+</script>
+
+<template>
+ <div
+ :class="
+ cn(
+ 'flex flex-col-reverse sm:flex-row sm:justify-end sm:gap-x-2',
+ props.class,
+ )
+ "
+ >
+ <slot />
+ </div>
+</template>
diff --git a/web/src/components/ui/sheet/SheetHeader.vue b/web/src/components/ui/sheet/SheetHeader.vue
new file mode 100644
index 0000000..f97d24a
--- /dev/null
+++ b/web/src/components/ui/sheet/SheetHeader.vue
@@ -0,0 +1,16 @@
+<script setup lang="ts">
+import type { HTMLAttributes } from "vue"
+import { cn } from "@/lib/utils"
+
+const props = defineProps<{ class?: HTMLAttributes["class"] }>()
+</script>
+
+<template>
+ <div
+ :class="
+ cn('flex flex-col gap-y-2 text-center sm:text-left', props.class)
+ "
+ >
+ <slot />
+ </div>
+</template>
diff --git a/web/src/components/ui/sheet/SheetTitle.vue b/web/src/components/ui/sheet/SheetTitle.vue
new file mode 100644
index 0000000..5870787
--- /dev/null
+++ b/web/src/components/ui/sheet/SheetTitle.vue
@@ -0,0 +1,20 @@
+<script setup lang="ts">
+import type { DialogTitleProps } from "reka-ui"
+import type { HTMLAttributes } from "vue"
+import { reactiveOmit } from "@vueuse/core"
+import { DialogTitle } from "reka-ui"
+import { cn } from "@/lib/utils"
+
+const props = defineProps<DialogTitleProps & { class?: HTMLAttributes["class"] }>()
+
+const delegatedProps = reactiveOmit(props, "class")
+</script>
+
+<template>
+ <DialogTitle
+ :class="cn('text-lg font-semibold text-foreground', props.class)"
+ v-bind="delegatedProps"
+ >
+ <slot />
+ </DialogTitle>
+</template>
diff --git a/web/src/components/ui/sheet/SheetTrigger.vue b/web/src/components/ui/sheet/SheetTrigger.vue
new file mode 100644
index 0000000..a4fc3ee
--- /dev/null
+++ b/web/src/components/ui/sheet/SheetTrigger.vue
@@ -0,0 +1,12 @@
+<script setup lang="ts">
+import type { DialogTriggerProps } from "reka-ui"
+import { DialogTrigger } from "reka-ui"
+
+const props = defineProps<DialogTriggerProps>()
+</script>
+
+<template>
+ <DialogTrigger v-bind="props">
+ <slot />
+ </DialogTrigger>
+</template>
diff --git a/web/src/components/ui/sheet/index.ts b/web/src/components/ui/sheet/index.ts
new file mode 100644
index 0000000..a370633
--- /dev/null
+++ b/web/src/components/ui/sheet/index.ts
@@ -0,0 +1,32 @@
+import type { VariantProps } from "class-variance-authority"
+import { cva } from "class-variance-authority"
+
+export { default as Sheet } from "./Sheet.vue"
+export { default as SheetClose } from "./SheetClose.vue"
+export { default as SheetContent } from "./SheetContent.vue"
+export { default as SheetDescription } from "./SheetDescription.vue"
+export { default as SheetFooter } from "./SheetFooter.vue"
+export { default as SheetHeader } from "./SheetHeader.vue"
+export { default as SheetTitle } from "./SheetTitle.vue"
+export { default as SheetTrigger } from "./SheetTrigger.vue"
+
+export const sheetVariants = cva(
+ "fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-500",
+ {
+ variants: {
+ side: {
+ top: "inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",
+ bottom:
+ "inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",
+ left: "inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",
+ right:
+ "inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm",
+ },
+ },
+ defaultVariants: {
+ side: "right",
+ },
+ },
+)
+
+export type SheetVariants = VariantProps<typeof sheetVariants>
diff --git a/web/src/components/ui/skeleton/Skeleton.vue b/web/src/components/ui/skeleton/Skeleton.vue
new file mode 100644
index 0000000..4e0697e
--- /dev/null
+++ b/web/src/components/ui/skeleton/Skeleton.vue
@@ -0,0 +1,14 @@
+<script setup lang="ts">
+import type { HTMLAttributes } from "vue"
+import { cn } from "@/lib/utils"
+
+interface SkeletonProps {
+ class?: HTMLAttributes["class"]
+}
+
+const props = defineProps<SkeletonProps>()
+</script>
+
+<template>
+ <div :class="cn('animate-pulse rounded-md bg-muted', props.class)" />
+</template>
diff --git a/web/src/components/ui/skeleton/index.ts b/web/src/components/ui/skeleton/index.ts
new file mode 100644
index 0000000..e5ce72c
--- /dev/null
+++ b/web/src/components/ui/skeleton/index.ts
@@ -0,0 +1 @@
+export { default as Skeleton } from "./Skeleton.vue"
diff --git a/web/src/components/ui/switch/Switch.vue b/web/src/components/ui/switch/Switch.vue
new file mode 100644
index 0000000..3b0eaea
--- /dev/null
+++ b/web/src/components/ui/switch/Switch.vue
@@ -0,0 +1,35 @@
+<script setup lang="ts">
+import type { SwitchRootEmits, SwitchRootProps } from "reka-ui"
+import type { HTMLAttributes } from "vue"
+import { reactiveOmit } from "@vueuse/core"
+import {
+ SwitchRoot,
+ SwitchThumb,
+ useForwardPropsEmits,
+} from "reka-ui"
+import { cn } from "@/lib/utils"
+
+const props = defineProps<SwitchRootProps & { class?: HTMLAttributes["class"] }>()
+
+const emits = defineEmits<SwitchRootEmits>()
+
+const delegatedProps = reactiveOmit(props, "class")
+
+const forwarded = useForwardPropsEmits(delegatedProps, emits)
+</script>
+
+<template>
+ <SwitchRoot
+ v-bind="forwarded"
+ :class="cn(
+ 'peer inline-flex h-6 w-11 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input',
+ props.class,
+ )"
+ >
+ <SwitchThumb
+ :class="cn('pointer-events-none block h-5 w-5 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5')"
+ >
+ <slot name="thumb" />
+ </SwitchThumb>
+ </SwitchRoot>
+</template>
diff --git a/web/src/components/ui/switch/index.ts b/web/src/components/ui/switch/index.ts
new file mode 100644
index 0000000..cc081f3
--- /dev/null
+++ b/web/src/components/ui/switch/index.ts
@@ -0,0 +1 @@
+export { default as Switch } from "./Switch.vue"
diff --git a/web/src/components/ui/tabs/Tabs.vue b/web/src/components/ui/tabs/Tabs.vue
new file mode 100644
index 0000000..edddccc
--- /dev/null
+++ b/web/src/components/ui/tabs/Tabs.vue
@@ -0,0 +1,15 @@
+<script setup lang="ts">
+import type { TabsRootEmits, TabsRootProps } from "reka-ui"
+import { TabsRoot, useForwardPropsEmits } from "reka-ui"
+
+const props = defineProps<TabsRootProps>()
+const emits = defineEmits<TabsRootEmits>()
+
+const forwarded = useForwardPropsEmits(props, emits)
+</script>
+
+<template>
+ <TabsRoot v-bind="forwarded">
+ <slot />
+ </TabsRoot>
+</template>
diff --git a/web/src/components/ui/tabs/TabsContent.vue b/web/src/components/ui/tabs/TabsContent.vue
new file mode 100644
index 0000000..c3b555f
--- /dev/null
+++ b/web/src/components/ui/tabs/TabsContent.vue
@@ -0,0 +1,20 @@
+<script setup lang="ts">
+import type { TabsContentProps } from "reka-ui"
+import type { HTMLAttributes } from "vue"
+import { reactiveOmit } from "@vueuse/core"
+import { TabsContent } from "reka-ui"
+import { cn } from "@/lib/utils"
+
+const props = defineProps<TabsContentProps & { class?: HTMLAttributes["class"] }>()
+
+const delegatedProps = reactiveOmit(props, "class")
+</script>
+
+<template>
+ <TabsContent
+ :class="cn('mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2', props.class)"
+ v-bind="delegatedProps"
+ >
+ <slot />
+ </TabsContent>
+</template>
diff --git a/web/src/components/ui/tabs/TabsList.vue b/web/src/components/ui/tabs/TabsList.vue
new file mode 100644
index 0000000..19d766e
--- /dev/null
+++ b/web/src/components/ui/tabs/TabsList.vue
@@ -0,0 +1,23 @@
+<script setup lang="ts">
+import type { TabsListProps } from "reka-ui"
+import type { HTMLAttributes } from "vue"
+import { reactiveOmit } from "@vueuse/core"
+import { TabsList } from "reka-ui"
+import { cn } from "@/lib/utils"
+
+const props = defineProps<TabsListProps & { class?: HTMLAttributes["class"] }>()
+
+const delegatedProps = reactiveOmit(props, "class")
+</script>
+
+<template>
+ <TabsList
+ v-bind="delegatedProps"
+ :class="cn(
+ 'inline-flex items-center justify-center rounded-md bg-muted p-1 text-muted-foreground',
+ props.class,
+ )"
+ >
+ <slot />
+ </TabsList>
+</template>
diff --git a/web/src/components/ui/tabs/TabsTrigger.vue b/web/src/components/ui/tabs/TabsTrigger.vue
new file mode 100644
index 0000000..3e43d53
--- /dev/null
+++ b/web/src/components/ui/tabs/TabsTrigger.vue
@@ -0,0 +1,27 @@
+<script setup lang="ts">
+import type { TabsTriggerProps } from "reka-ui"
+import type { HTMLAttributes } from "vue"
+import { reactiveOmit } from "@vueuse/core"
+import { TabsTrigger, useForwardProps } from "reka-ui"
+import { cn } from "@/lib/utils"
+
+const props = defineProps<TabsTriggerProps & { class?: HTMLAttributes["class"] }>()
+
+const delegatedProps = reactiveOmit(props, "class")
+
+const forwardedProps = useForwardProps(delegatedProps)
+</script>
+
+<template>
+ <TabsTrigger
+ v-bind="forwardedProps"
+ :class="cn(
+ 'inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-sm',
+ props.class,
+ )"
+ >
+ <span class="truncate">
+ <slot />
+ </span>
+ </TabsTrigger>
+</template>
diff --git a/web/src/components/ui/tabs/index.ts b/web/src/components/ui/tabs/index.ts
new file mode 100644
index 0000000..7f99b7f
--- /dev/null
+++ b/web/src/components/ui/tabs/index.ts
@@ -0,0 +1,4 @@
+export { default as Tabs } from "./Tabs.vue"
+export { default as TabsContent } from "./TabsContent.vue"
+export { default as TabsList } from "./TabsList.vue"
+export { default as TabsTrigger } from "./TabsTrigger.vue"
diff --git a/web/src/components/ui/tooltip/Tooltip.vue b/web/src/components/ui/tooltip/Tooltip.vue
new file mode 100644
index 0000000..c828de0
--- /dev/null
+++ b/web/src/components/ui/tooltip/Tooltip.vue
@@ -0,0 +1,15 @@
+<script setup lang="ts">
+import type { TooltipRootEmits, TooltipRootProps } from "reka-ui"
+import { TooltipRoot, useForwardPropsEmits } from "reka-ui"
+
+const props = defineProps<TooltipRootProps>()
+const emits = defineEmits<TooltipRootEmits>()
+
+const forwarded = useForwardPropsEmits(props, emits)
+</script>
+
+<template>
+ <TooltipRoot v-bind="forwarded">
+ <slot />
+ </TooltipRoot>
+</template>
diff --git a/web/src/components/ui/tooltip/TooltipContent.vue b/web/src/components/ui/tooltip/TooltipContent.vue
new file mode 100644
index 0000000..e033496
--- /dev/null
+++ b/web/src/components/ui/tooltip/TooltipContent.vue
@@ -0,0 +1,29 @@
+<script setup lang="ts">
+import type { TooltipContentEmits, TooltipContentProps } from "reka-ui"
+import type { HTMLAttributes } from "vue"
+import { reactiveOmit } from "@vueuse/core"
+import { TooltipContent, TooltipPortal, useForwardPropsEmits } from "reka-ui"
+import { cn } from "@/lib/utils"
+
+defineOptions({
+ inheritAttrs: false,
+})
+
+const props = withDefaults(defineProps<TooltipContentProps & { class?: HTMLAttributes["class"] }>(), {
+ sideOffset: 4,
+})
+
+const emits = defineEmits<TooltipContentEmits>()
+
+const delegatedProps = reactiveOmit(props, "class")
+
+const forwarded = useForwardPropsEmits(delegatedProps, emits)
+</script>
+
+<template>
+ <TooltipPortal>
+ <TooltipContent v-bind="{ ...forwarded, ...$attrs }" :class="cn('z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2', props.class)">
+ <slot />
+ </TooltipContent>
+ </TooltipPortal>
+</template>
diff --git a/web/src/components/ui/tooltip/TooltipProvider.vue b/web/src/components/ui/tooltip/TooltipProvider.vue
new file mode 100644
index 0000000..6d19b8a
--- /dev/null
+++ b/web/src/components/ui/tooltip/TooltipProvider.vue
@@ -0,0 +1,12 @@
+<script setup lang="ts">
+import type { TooltipProviderProps } from "reka-ui"
+import { TooltipProvider } from "reka-ui"
+
+const props = defineProps<TooltipProviderProps>()
+</script>
+
+<template>
+ <TooltipProvider v-bind="props">
+ <slot />
+ </TooltipProvider>
+</template>
diff --git a/web/src/components/ui/tooltip/TooltipTrigger.vue b/web/src/components/ui/tooltip/TooltipTrigger.vue
new file mode 100644
index 0000000..26424de
--- /dev/null
+++ b/web/src/components/ui/tooltip/TooltipTrigger.vue
@@ -0,0 +1,12 @@
+<script setup lang="ts">
+import type { TooltipTriggerProps } from "reka-ui"
+import { TooltipTrigger } from "reka-ui"
+
+const props = defineProps<TooltipTriggerProps>()
+</script>
+
+<template>
+ <TooltipTrigger v-bind="props">
+ <slot />
+ </TooltipTrigger>
+</template>
diff --git a/web/src/components/ui/tooltip/index.ts b/web/src/components/ui/tooltip/index.ts
new file mode 100644
index 0000000..8f8d514
--- /dev/null
+++ b/web/src/components/ui/tooltip/index.ts
@@ -0,0 +1,4 @@
+export { default as Tooltip } from "./Tooltip.vue"
+export { default as TooltipContent } from "./TooltipContent.vue"
+export { default as TooltipProvider } from "./TooltipProvider.vue"
+export { default as TooltipTrigger } from "./TooltipTrigger.vue"
diff --git a/web/src/lib/utils.ts b/web/src/lib/utils.ts
new file mode 100644
index 0000000..d32b0fe
--- /dev/null
+++ b/web/src/lib/utils.ts
@@ -0,0 +1,6 @@
+import { type ClassValue, clsx } from 'clsx'
+import { twMerge } from 'tailwind-merge'
+
+export function cn(...inputs: ClassValue[]) {
+ return twMerge(clsx(inputs))
+}