# Elements UI Library
**A component library experiment built with AI-assisted workflows in mind.**
Created by university students exploring how agentic coding tools like Claude Code can transform library development. We're building a collection of UI components with an architecture optimized for AI-assisted contributions.
[](https://github.com/BitByBit-B3/elements/packages)
[](LICENSE)
[](https://github.com/BitByBit-B3)
[](https://www.anthropic.com/claude)
Contributing to traditional component libraries means hours of manual work: fixing imports, updating configs, managing dependencies, writing docs. It’s a barrier that keeps great components trapped in private projects.
We’ve architected a system where agentic coding tools do the heavy lifting. Point Claude Code at your components, and automated workflows handle everything from import resolution to CI/CD updates.
Traditional approach (2-3 hours per component):
1. Copy component code
2. Manually fix all imports
3. Update package.json dependencies
4. Configure build tools
5. Update exports in index.ts
6. Write documentation
7. Test everything manually
8. Create PR with all configs
With Elements UI (5 minutes):
# Using Claude Code or similar agentic tools
/update-components ~/my-project/components
# The automation handles:
# - Framework detection and package selection
# - Import path resolution and fixing
# - Dependency analysis and updates
# - Build configuration
# - CI/CD workflow integration
# - Documentation generation
Elements UI includes automation workflows that agentic coding assistants can execute:
Component Updates: Detect frameworks (React, Vue, Svelte, Next.js), create packages as needed, resolve imports, manage dependencies, update CI/CD
Package Creation: Scaffold new framework packages with TypeScript, build tools, and GitHub Actions integration—all through natural language instructions
npm install @bitbybit-b3/elements-react
# or
pnpm add @bitbybit-b3/elements-react
import { Button, Card, Dialog } from "@bitbybit-b3/elements-react";
function App() {
return (
<Card>
<Button variant="default">Lightning Fast</Button>
</Card>
);
}
Traditional component libraries:
Our Experiment:
This is an active experiment in AI-assisted development. We’re exploring:
A growing collection of 49+ UI components built with Radix UI primitives and Tailwind CSS. Components focus on accessibility and modern React patterns.
An agentic coding assistant that can:
Optimized for: Claude Code, Cursor, GitHub Copilot, or similar tools
We’ve built slash commands that work with AI assistants:
git clone https://github.com/YOUR_USERNAME/elements.git
cd elements
"Add the components from ~/my-project/components to this library"
If your AI supports custom commands (we use them in our workflow):
# Update library with components from another project
/update-components ~/path/to/components
# Create a new framework package
/create-package elements-vue vue
# AI handles all configuration automatically
elements/
├── packages/
│ ├── react/ # React components
│ ├── core/ # Design tokens
│ ├── nextjs/ # Auto-created when needed
│ ├── vue/ # Auto-created when needed
│ ├── svelte/ # Auto-created when needed
│ └── utils/ # Auto-created when needed
├── .claude/ # AI automation commands (works with any AI)
│ └── commands/
│ ├── update-components.md # Intelligent updater
│ └── create-package.md # Package generator
└── .github/
└── workflows/ # Self-scaling CI/CD
└── publish.yml # Auto-detects new packages
Our automation commands (usable by any AI):
Component Update Command:
Package Creation Command:
GitHub Actions that adapt automatically:
packages/*Traditional barrier: Understanding complex build configs and tooling Our approach: Agentic tools abstract the complexity
Benefits:
Components built using:
| Package | Description | Status |
|---|---|---|
@bitbybit-b3/elements-react |
React components | Published (experimental) |
@bitbybit-b3/elements-core |
Design tokens | Published (experimental) |
Architecture supports auto-creation of framework-specific packages:
@bitbybit-b3/elements-nextjs - Next.js specific components@bitbybit-b3/elements-vue - Vue 3 components@bitbybit-b3/elements-svelte - Svelte components@bitbybit-b3/elements-solid - SolidJS components@bitbybit-b3/elements-utils - Universal utilities@bitbybit-b3/elements-hooks - React hooks library@bitbybit-b3/elements-icons - Icon libraryThe system can expand when contributors add components for new frameworks.
Organization: BitByBit-B3
Team (university students exploring AI-assisted development):
Want to experiment with us? Try the AI-assisted workflow and share your feedback!
We’re experimenting with agentic workflows for library contributions. Instead of manually managing build configs and dependencies, tools like Claude Code can handle that automatically through custom automation commands.
No! Built by our team of university students. We designed the architecture to work seamlessly WITH agentic coding tools, but humans wrote the code and make the decisions.
The architecture is optimized for Claude Code, but works with any agentic coding assistant that can:
Also compatible with: Cursor, GitHub Copilot, and similar tools.
Not at all! Install and use like any npm package:
npm install @bitbybit-b3/elements-react
Agentic tools are only needed if you want to contribute using our automated workflows.
This is an experimental/learning project by university students. Components use modern patterns (TypeScript, Radix UI, Tailwind), but consider it a proof-of-concept for AI-assisted development rather than battle-tested production code.
Use at your own discretion and feel free to contribute improvements!
We wanted to explore: Can agentic tools like Claude Code actually streamline open source contribution? This project is our answer—an experiment in making contribution workflows faster and more accessible through intelligent automation.
Apache 2.0 - See LICENSE for details.
| An experiment in AI-assisted development | Built by BitByBit-B3 university students | Optimized for Claude Code and agentic workflows |