Skip to content

askrobots/dbbasic-web-native

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

24 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

dbbasic Components

100+ production-ready UI components. Built in 2 days with AI. Free forever.

Hero Components

License: MIT GitHub

Modern, accessible, lightweight UI components. Zero dependencies. Copy-paste ready.


πŸš€ Quick Start

No installation. No build step. Just copy and paste.

<!DOCTYPE html>
<html>
<head>
    <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;900&display=swap" rel="stylesheet">
</head>
<body>
    <!-- Copy component HTML from demos -->
    <div class="hero">
        <h1>Build products people love</h1>
        <p>Production-ready components in seconds</p>
        <button class="btn btn-primary">Get Started</button>
    </div>
</body>
</html>

Pure HTML/CSS. Works everywhere.


πŸ“¦ What's Included

6 Complete Component Collections

1. Marketing (demo-marketing-complete.html)

  • Hero sections
  • Feature grids
  • Testimonials
  • Pricing tables
  • Stats/metrics
  • CTA sections

2. eCommerce (demo-ecommerce-complete.html)

  • Product grids
  • Product detail pages
  • Shopping carts
  • Checkout flows

3. Dashboard/Admin (demo-dashboard-complete.html)

  • Full layouts with sidebars
  • Stats cards
  • Data tables
  • Charts
  • Activity feeds
  • Forms

4. Authentication (demo-auth-complete.html)

  • Login/signup forms
  • Password reset
  • Two-factor auth
  • Email verification
  • Success/error states

5. Email Templates (demo-email-complete.html)

  • Welcome emails
  • Order confirmations
  • Password reset
  • Newsletters
  • Invoices
  • Notifications

6. Blog/Portfolio (demo-content-complete.html)

  • Blog grids
  • Article pages with comments
  • Portfolio grids
  • Team sections
  • Social feeds

✨ Features

  • βœ… 100+ components across 6 collections
  • βœ… Zero dependencies - Pure HTML/CSS
  • βœ… Fully responsive - Mobile-first design
  • βœ… Accessible - Semantic HTML, keyboard navigation
  • βœ… Modern design - 2025 gradients, Inter font, smooth animations
  • βœ… AI-tested quality - Automated visual quality scoring
  • βœ… Copy-paste ready - No build step required
  • βœ… MIT licensed - Use in any project

πŸ“ Usability Standards (NEW!)

The only UI library that teaches AI how to build usable apps.

Visual Standards Documentation

Every standard includes:

  • WHY explanation - Not just rules, but reasoning
  • Good example - See it done right
  • Bad example - Learn what to avoid
  • Interactive overlays - Toggle standards on any demo

πŸ‘‰ View Standards Showcase - Visual guide with live examples

For Developers

Use standards as a checklist:

  • Navigation: Bottom tab bar on mobile βœ“
  • Touch targets: 44Γ—44px minimum βœ“
  • Spacing: 8px base unit (8, 16, 24, 32...) βœ“
  • Forms: Labels above inputs βœ“

For AI

This is the key innovation: AI can reference these standards to generate better UIs.

Instead of telling AI: "Make a mobile nav"

You can say: "Build a mobile nav following standards/index.html - bottom tab bar, 64px height, 3-5 items max"

AI prompt example:

Build a login form following DBBasic standards at standards/index.html:
- Labels above inputs (not placeholder-only)
- 56px input height for mobile tap targets
- Primary button bottom-right
- Validate against touch target standards (44Γ—44px minimum)

The standards become training data that prevents GeoCities 2.0.

Application Type Detection

Standards adapt to context. The system auto-detects:

  • Brochure/Marketing - Low density, 64-96px spacing, scroll-focused
  • App/Dashboard - High density, 24-32px spacing, keyboard shortcuts
  • Social/Content - Medium density, 16-24px spacing, infinite scroll

Each type has different rules because user goals differ.

πŸ“– Read Full Documentation - 11,000+ word comprehensive guide


🎯 Production Use

These components are actively used in production on:


πŸ› οΈ How This Was Built

Timeline: 2 days (Nov 3-4, 2025)

Process: AI-assisted development with automated quality testing

  1. Generate component (15 minutes)
  2. Screenshot + AI vision critique (30 seconds)
  3. Iterate based on feedback (10 minutes)
  4. Repeat until quality threshold met (7/10+)

Result: 100+ components that would traditionally take 10-15 weeks to build

Productivity: ~923x faster than traditional development

Key Insights Discovered

1. Repeatable Success

  • Software engineering should produce predictable results
  • AI enables systematic quality improvement (not just speed)
  • Objective scoring (7/10+) beats subjective "looks good to me"

2. AI Vision as Quality Gate

  • Automated visual testing catches issues instantly
  • Brutal honest feedback ("trash", "4/10") drives real improvement
  • 30-second feedback loop vs 2-day designer review

3. Mythical Man-Month in Reverse

  • Traditional: More people = More communication overhead
  • AI-assisted: Zero communication overhead, perfect focus
  • Result: 1 person + AI = 100-person team output

4. Lightweight > Heavy

  • Modern design doesn't require megabytes of JavaScript
  • Pure HTML/CSS loads instantly, works everywhere
  • No framework lock-in means future-proof code

πŸš€ Browser Support

  • Chrome/Edge (last 2 versions)
  • Firefox (last 2 versions)
  • Safari (last 2 versions)
  • Mobile: iOS 14+, Android Chrome 90+

πŸ“– Documentation


🀝 Contributing

We welcome contributions! All components must:

  • Score 7/10+ on AI vision quality check
  • Meet WCAG AA accessibility standards (AAA preferred)
  • Work without dependencies (pure HTML/CSS)
  • Be fully responsive and mobile-friendly

See CONTRIBUTING.md for details.


πŸ“„ License

MIT License - see LICENSE file.

Free to use in personal and commercial projects.


πŸ’‘ Philosophy

This isn't just a component library. It's proof that:

Software engineering should be repeatable:

  • Predictable timelines (not "it'll be done when it's done")
  • Measurable quality (7/10+ score, not subjective opinion)
  • Documented process (anyone can follow the same steps)
  • Consistent results (works every time)

AI changes the equation:

  • Creativity on demand (unlimited iterations)
  • Instant feedback (30 seconds vs days)
  • No communication overhead (no meetings, no politics)
  • Perfect focus (no context switching)

The result: What took 10-15 weeks now takes 2 days.

Not because we cut corners. Because we engineered repeatable success.


πŸ‘¨β€πŸ’» Credits

Created by: Dan Quellhorst (dbbasic.com)

Built with:

  • AI: Claude Sonnet 4.5
  • Fonts: Inter by Rasmus Andersson
  • Design: Modern gradients, semantic HTML, accessibility-first

Inspired by: The original promise of software engineering - that we could build things predictably, repeatedly, and with measurable quality.


Questions? Open an issue on GitHub


This is what software development was supposed to be all along.

Repeatable success.

About

No description, website, or topics provided.

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •