
Security News
Lovable’s OJ Rewrites Vite’s Dev Server in Rust as AI Lowers the Cost of Forking Open Source
Lovable’s OJ rewrites Vite’s dev server in Rust, reducing memory use and preview times as AI lowers the cost of open source reimplementation.
ai-first-design-system
Advanced tools
The ai-first-design-system package contains framework-agnostic Web Components (built with Lit) that implement AI-forward UI patterns: chat interfaces, prompt workflows, streaming text, confidence meters, badges, etc. All components follow WCAG 2.2 AA accessibility guidelines and expose CSS custom properties for theming.
View on npm: https://www.npmjs.com/package/ai-first-design-system
npm install ai-first-design-system
# or
yarn add ai-first-design-system
// Load every component (tree-shake friendly)
import 'ai-first-design-system';
// Or import only what you need
import 'ai-first-design-system/components/base/ai-button';
import 'ai-first-design-system/components/ai/ai-chat-message';
<ai-button variant="primary" aiGenerated confidence="0.92"> AI Suggested Action </ai-button>
<ai-chat-message role="ai" showActions timestamp="2:31 PM">
Machine learning is a subset of AI...
</ai-chat-message>
| Category | Elements |
|---|---|
| Base | ai-button, ai-input, ai-badge |
| AI-Specific | ai-chat-message, ai-chat-interface, ai-prompt-input, ai-prompt-templates, ai-streaming-text, ai-confidence-meter, ai-label, ai-skeleton, ai-feedback, ai-variant-selector, ai-explainability-panel, ai-error-recovery |
Each component includes rich JSDoc (slots, props, events, CSS custom properties, accessibility notes) and Storybook stories located under packages/storybook.
--ai-button-bg, --ai-label-color).ai-streaming-text, ai-chat-message) use live regions.# Install workspace deps
npm install
# Build the core package
cd packages/core
npm run build
# Run Storybook for interactive docs
cd ../storybook
npm run storybook
We use semantic versioning. When ready to release:
# Bump version (patch/minor/major)
npm version patch --workspace=packages/core
# Publish to npm (requires maintainer access)
cd packages/core
npm publish --access public
Remember to push tags to GitHub:
git push origin main --follow-tags
MIT © Aishwary Shrivastav
FAQs
AI-First Design System - Core Web Components
We found that ai-first-design-system demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Security News
Lovable’s OJ rewrites Vite’s dev server in Rust, reducing memory use and preview times as AI lowers the cost of open source reimplementation.

Security News
It has been one year since Shai-Hulud made its first appearance on npm.

Research
/Security News
Operators behind PolinRider used a compromised GitHub account to plant malware in four development versions of a Packagist package with 700,000+ downloads.