Library viewer
Same colours, same spring physics, same seeded noise — switch tabs and watch the pixels stay identical while the code underneath changes. Vue's tab is a real, independently mounted @ansh-ui/vue application instance, not a screenshot.
Hooks-based. Tree-shakeable via seven subpath entries. React 18 and 19.
import '@ansh-ui/tokens/ansh.css'
import '@ansh-ui/react/styles.css'
import { AuroraBackground, AnimatedText, MagneticButton } from '@ansh-ui/react'
export function Hero() {
return (
<AuroraBackground colors={['#0275f4', '#5b3df5', '#9f0550']} seed={7}>
<h1><AnimatedText by="chars" from="center">Motion, refined.</AnimatedText></h1>
<MagneticButton strength={14}>Get started</MagneticButton>
</AuroraBackground>
)
}| Component | React | Vue | Import from | Size (min + gzip) | axe-core |
|---|---|---|---|---|---|
AuroraBackground | Yes | Yes | @ansh-ui/react | 20.3 KB | Not covered |
AnimatedText | Yes | Yes | @ansh-ui/react/motion | 7.6 KB | Not covered |
MagneticButton | Yes | Yes | @ansh-ui/react/motion | 6.8 KB | Not covered |
Size is what a React app adds by importing only that component, tree-shaken and minified, with React itself excluded. Components share engine code, so sizes do not add up. Every component renders the same markup on the server and the first client frame.
Not just canvas effects: the application-layer components (forms, overlays, data, navigation) are the same story.
We'll never share it.
import { Field, Input } from '@ansh-ui/react'
<Field label="Work email" description="We'll never share it.">
<Input type="email" placeholder="you@example.com" />
</Field>| Component | React | Vue | Import from | Size (min + gzip) | axe-core |
|---|---|---|---|---|---|
Field | Yes | Yes | @ansh-ui/react/form | 0.7 KB | Checked |
Input | Yes | Yes | @ansh-ui/react/form | 1.2 KB | Checked |
Size is what a React app adds by importing only that component, tree-shaken and minified, with React itself excluded. Components share engine code, so sizes do not add up. Every component renders the same markup on the server and the first client frame.
Every component in this viewer ships from the exact same source that powers the showcase page — nothing here is a special demo build.