@any-design/anyui
| Install | |
|---|---|
npm install @any-design/anyui |
|
| Latest Version: | 0.5.2 |
| Vue: | 3 |
| License: | MIT |
| Last Updated: | Oct 12, 2026 |
| Links: | GitHub · npm |
AnyUI
AnyUI is a cute multi-framework design system and UI component library for Vue, React, and Svelte.
IMPORTANT: This project is still a work in progress.
Install
pnpm add @any-design/anyui
Headless shadcn Install
AnyUI also ships a shadcn-compatible GitHub registry for no-prompt installation:
pnpm dlx shadcn@latest add any-design/anyui/vue --yes --silent
pnpm dlx shadcn@latest add any-design/anyui/react --yes --silent
pnpm dlx shadcn@latest add any-design/anyui/svelte --yes --silent
These commands install the required packages, add AnyUI's stylesheet to your shadcn CSS
file, and create a framework entry file under @/lib/anyui-vue, @/lib/anyui-react,
or @/lib/anyui-svelte.
AnyUI publishes one package with framework-scoped entrypoints:
import AnyUI from '@any-design/anyui/vue';
import { Button as ReactButton } from '@any-design/anyui/react';
import { Button as SvelteButton } from '@any-design/anyui/svelte';
import '@any-design/anyui/styles/index.css';
The default package entry remains the Vue build for compatibility, but new Vue code should prefer @any-design/anyui/vue.
Vue
import { createApp } from 'vue';
import AnyUI from '@any-design/anyui/vue';
import '@any-design/anyui/styles/index.css';
const app = createApp(App);
app.use(AnyUI);
app.mount('#app');
Import On Demand
pnpm add -D unplugin-vue-components unplugin-auto-import
import { AnyUIResolver } from '@any-design/anyui/vue/resolver';
import AutoImport from 'unplugin-auto-import/vite';
import Components from 'unplugin-vue-components/vite';
export default defineConfig({
plugins: [
vue(),
AutoImport({
resolvers: [AnyUIResolver()],
}),
Components({
resolvers: [AnyUIResolver()],
}),
],
});
React
import { Button } from '@any-design/anyui/react';
import '@any-design/anyui/styles/index.css';
export function Example() {
return <Button type="primary">Button</Button>;
}
Svelte
<script lang="ts">
import { Button } from '@any-design/anyui/svelte';
import '@any-design/anyui/styles/index.css';
</script>
<Button type="primary">Button</Button>
Monorepo Development
AnyUI uses pnpm workspaces and Turbo.
pnpm install
pnpm run dev
pnpm run build
pnpm run dist
pnpm run typecheck
Workspace packages live under packages/vue, packages/react, and packages/svelte. Build with pnpm run build; it preserves the maintained framework sources. Patch complete React and Svelte implementations directly alongside Vue changes. pnpm run generate rewrites framework sources from scripts/generate-framework-packages.mjs; use it only for implementations intentionally owned by the generator and review the diff for overwrites.
pnpm run dev starts the website and mounts the multi-framework testground at /testground/, so docs and component previews run as one local site. The testground renders every component with Vue, React, and Svelte side by side against the library sources — see its README.
Custom Theme
See Theme Customization and the Design Tokens reference for more details.
Liquid Glass Style
AnyUI ships an optional liquid glass style. Surface components (buttons, cards, inputs, dropdowns, messages, drawers, etc.) become translucent with a backdrop blur and a specular highlight, in both light and dark themes.
Enable it globally:
<html data-anyui-style="glass">
Or scope it to a subtree:
<div class="a-glass">
<a-card>...</a-card>
</div>
Note: floating elements teleported to <body> (popper, message, select dropdown) only pick the style up in global mode.
Testground
We've deployed a testground where you can explore the UI components:
https://anyui.pwp.sh/testground/
License
Related Packages
Arcana Labs UI Components — a typed, framework-native shadcn-style component lib...
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 0.5.2 | ^3.5.35 | MIT | |
| 0.5.1 | ^3.5.35 | MIT | |
| 0.5.0 | ^3.5.35 | MIT | |
| 0.4.0 | ^3.4.27 | MIT | |
| 0.3.3 | ^3.4.20 | MIT | |
| 0.3.2 | ^3.4.20 | MIT | |
| 0.3.1 | ^3.3.8 | MIT | |
| 0.3.0 | ^3.3.8 | MIT | |
| 0.2.9 | ^3.3.8 | MIT | |
| 0.2.8 | ^3.3.8 | MIT | |
| 0.2.7 | ^3.3.8 | MIT | |
| 0.2.6 | ^3.3.8 | MIT | |
| 0.2.5 | ^3.3.8 | MIT | |
| 0.2.4 | ^3.3.8 | MIT | |
| 0.2.3 | ^3.3.8 | MIT | |
| 0.2.2 | ^3.3.8 | MIT | |
| 0.2.1 | ^3.3.8 | MIT | |
| 0.2.0 | ^3.3.8 | MIT | |
| 0.1.21 | ^3.3.8 | MIT | |
| 0.1.20 | ^3.3.8 | MIT | |
| 0.1.19 | ^3.3.8 | MIT | |
| 0.1.18 | ^3.3.8 | MIT | |
| 0.1.17 | ^3.3.8 | MIT | |
| 0.1.16 | ^3.3.8 | MIT | |
| 0.1.15 | ^3.3.8 | MIT | |
| 0.1.14 | ^3.3.8 | MIT | |
| 0.1.13 | ^3.3.8 | MIT | |
| 0.1.12 | ^3.3.8 | MIT | |
| 0.1.11 | ^3.3.8 | MIT | |
| 0.1.10 | ^3.3.4 | MIT |
Showing the latest 30 of 91. See every release on npm
Pre-releases (8)
| Version | Released | Vue | License |
|---|---|---|---|
| 0.0.31-f1 | ^3.2.41 | MIT | |
| 0.0.30-f1 | ^3.2.41 | MIT | |
| 0.0.28-f6 | ^3.2.41 | MIT | |
| 0.0.28-f5 | ^3.2.41 | MIT | |
| 0.0.28-f4 | ^3.2.41 | MIT | |
| 0.0.28-f3 | ^3.2.41 | MIT | |
| 0.0.28-f2 | ^3.2.41 | MIT | |
| 0.0.28-f1 | ^3.2.41 | MIT |