@arclux/arc-ui
v2.1.0
Published
ARC UI — Lit Web Components implementing the Arclight design system.
Downloads
4,187
Maintainers
Readme
@arclux/arc-ui
Lit web components implementing the Arclight design system. This is the canonical source -- all framework wrapper packages are generated from these components by Prism.
Installation
npm install @arclux/arc-ui litUsage
// Import all components
import '@arclux/arc-ui';
// Or import individually for smaller bundles
import '@arclux/arc-ui/button';
import '@arclux/arc-ui/card';<arc-button variant="primary">Get Started</arc-button>
<arc-card>
<h3>Card Title</h3>
<p>Card content.</p>
</arc-card>
<arc-input label="Email" type="email" placeholder="[email protected]"></arc-input>Styling
Components use Shadow DOM. Override styles via CSS custom properties or ::part() selectors:
arc-button {
--accent-primary: #3b82f6;
}Framework Wrappers
If you are using a framework, prefer the dedicated wrapper package:
| Framework | Package |
|-----------|---------|
| React | @arclux/arc-ui-react |
| Vue 3 | @arclux/arc-ui-vue |
| Svelte 5 | @arclux/arc-ui-svelte |
| Angular | @arclux/arc-ui-angular |
| Solid | @arclux/arc-ui-solid |
| Preact | @arclux/arc-ui-preact |
| Plain HTML/CSS | @arclux/arc-ui-html |
Documentation
Full component docs and interactive examples: arcui.dev
