@arclux/arc-ui-html
v2.1.0
Published
ARC UI — Standalone CSS and HTML examples for vanilla projects. Auto-generated by @arclux/prism.
Downloads
2,912
Maintainers
Readme
@arclux/arc-ui-html
Standalone CSS and HTML examples for using ARC UI components without JavaScript.
Auto-generated -- this package is produced by Prism from the canonical source in
@arclux/arc-ui. Do not edit by hand.
Installation
npm install @arclux/arc-ui-htmlUsage
Include the bundled CSS (contains all components and design tokens):
<link rel="stylesheet" href="node_modules/@arclux/arc-ui-html/css/arc-ui.css" />Or import individual component CSS files (tokens must be loaded separately):
<link rel="stylesheet" href="node_modules/@arclux/arc-ui-html/css/button.css" />
<link rel="stylesheet" href="node_modules/@arclux/arc-ui-html/css/card.css" />Each component also has an .inline.css variant with tokens baked in for zero-dependency use.
HTML Markup
Components use the .arc-* class prefix. Variants are set via data attributes:
<span class="arc-button" data-variant="primary" data-size="lg">
<button class="btn">Get Started</button>
</span>Theming
Dark mode is the default. Switch with data-theme on the root element:
<html data-theme="light">
<html data-theme="auto">Documentation
Full component docs and interactive examples: arcui.dev
