Skip to main content

Modern components

Discover boodoo v1.3.1's modern components tailored for SaaS products, analytics dashboards, developer tools, and rich mobile web experiences. Built with pure CSS custom properties, responsive breakpoints, and zero required external runtime libraries.


Tag & Token Input

The .tag-input component manages multi-item token collection. Press Enter or , to insert tags, and click the close icon or hit Backspace on an empty input to delete them.

JavaScript CSS3 TypeScript
<div class="tag-input" data-boodoo="chip-input">
  <span class="tag-item">
    <span>JavaScript</span>
    <button type="button" class="tag-remove" aria-label="Remove JavaScript"><span>&times;</span></button>
  </span>
  <input type="text" id="tagsInput" name="tagsInput" class="tag-input-field chip-input-field" placeholder="Add tag...">
</div>

Floating Bulk Action Bar

Contextual bottom-docked action bar (.floating-bar) that smoothly animates into view when items are selected in a table, catalog, or list.

3 items selected
<div class="floating-bar show" id="bulkActions">
  <span class="floating-bar-label"><span><strong class="floating-bar-count">3</strong> items selected</span></span>
  <div class="floating-bar-actions">
    <button type="button" class="btn btn-sm btn-outline-danger"><span>Delete</span></button>
    <button type="button" class="btn btn-sm btn-outline-secondary"><span>Export</span></button>
    <button type="button" class="btn btn-sm btn-light" data-boodoo-dismiss="floating-bar" aria-label="Close"><span>✕</span></button>
  </div>
</div>

Image Comparison Slider

Interactive before/after visual inspection tool with responsive mouse and touch drag support via .image-compare.

AFTER (Theme Overhaul)
BEFORE (Legacy Design)
<div class="image-compare" data-boodoo="image-compare">
  <img src="after.jpg" alt="After">
  <div class="image-compare-overlay">
    <img src="before.jpg" alt="Before">
  </div>
  <div class="image-compare-handle"></div>
</div>

Password Strength Meter

Provides instant user visual feedback on password complexity. Evaluates length, letter casing, numbers, and symbols.

Good
<input type="password" id="userPass" name="userPass" class="form-control">
<div class="password-meter" data-boodoo="password-meter" data-boodoo-target="#userPass">
  <div class="password-meter-bar"></div>
  <span class="password-meter-label"></span>
</div>

Diff & Code Comparison Viewer

Clean monospace display for patch files, commit views, and code modifications.

src/components/button.js +1 / -1
... @@ -24,5 +24,5 @@ class Button
24 setLoading(state) {
25 - this._element.disabled = false;
25 + this._element.disabled = Boolean(state);
26 }

Sparklines & Micro-Charts

Compact inline indicators designed for data cards, KPIs, and tabular metrics.

Daily Signups 1,248
Latency (ms) 24ms

Copy Snippet Box

Single-line or multi-line dark terminal block with an integrated one-click copy button.

npm install boodoo@1.3.1