@arcanalabs/ui-components
v2.6.1
Published
Arcana Labs UI Components — a typed, framework-native shadcn-style component library for Vue 3, React, Angular and Svelte.
Maintainers
Readme
Install
npm install @arcanalabs/ui-componentsNo runtime dependencies — installing the package adds nothing to your bundle.
Set up
Import the stylesheet once, at the entrypoint of your application:
import "@arcanalabs/ui-components/styles.css";Then import components from the subpath of your framework:
| Framework | Subpath |
|---|---|
| Vue 3 | @arcanalabs/ui-components/vue |
| React | @arcanalabs/ui-components/react |
| Angular | @arcanalabs/ui-components/angular |
| Svelte 5 | @arcanalabs/ui-components/svelte |
Every component ships in all four with the same markup, classes and behavior.
Optional peers
Each of these is an optional peer dependency: install it only if it applies to you. Nothing fails at install time when one is missing — the component that needs it is the one that requires it.
Your framework — install only the one you use (vue, react + react-dom,
@angular/core + @angular/common, or svelte).
Icons — components with an icon prop use the Font Awesome Free classes
(fa-solid fa-*):
npm install @fortawesome/fontawesome-freeimport "@fortawesome/fontawesome-free/css/all.min.css";Input masking — ArcanaInputMask masks through
maska, in all four frameworks:
npm install maskaIn Vue only, register the directive once when you create the app:
app.use(Maska);Usage
The full catalog — components, props, events, live demos and per-framework code — lives in the documentation, available in 8 languages.
MIT © Arcana Labs
