Installation
Install core packages
Section titled “Install core packages”npm install @voidable/ui @voidable/themeImport the theme
Section titled “Import the theme”Add the theme CSS to your app entry point. This loads all design tokens, primitives, and component styles:
@import '@voidable/theme';You can also import individual layers if you prefer granular control:
@import '@voidable/theme/primitives'; /* raw color scales */@import '@voidable/theme/tokens'; /* semantic tokens (dark/light) */@import '@voidable/theme/reset'; /* minimal reset */Import components
Section titled “Import components”Importing @voidable/ui auto-registers all custom elements on the page:
import '@voidable/ui';Once imported, use <void-*> elements directly in HTML or any template:
<void-button variant="filled" color="success">Save</void-button>
<void-input placeholder="Email address" type="email"></void-input>
<void-alert color="info"> Components render in the Light DOM — your CSS applies directly.</void-alert>Framework adapters
Section titled “Framework adapters”For framework-specific wrappers and theme utilities, install the adapter for your framework:
npm install @voidable/ui-react # Reactnpm install @voidable/ui-vue # Vuenpm install @voidable/ui-solid # Solidnpm install @voidable/ui-svelte # Sveltenpm install @voidable/ui-angular # Angularnpm install @voidable/ui-hotwire # Hotwire / StimulusSee the Frameworks section for usage guides.