New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started
h

html-code-generator

npm

5.49K

total weekly downloads

Packages

Current Co-maintainers

Former Co-maintainers

21 packages

css-box-shadow-parser

Parse CSS box-shadow values into structured layer objects. Supports multi-layer, inset, all color formats (hex, rgb, hsl, named), and full CSS declarations.

hcg-autocomplete

Pure vanilla JavaScript autocomplete combobox for input fields. No dependencies. Local and async sources, multi-select chips, free-text values, match highlighting, and keyboard navigation.

hcg-carousel

Lightweight dependency-free vanilla JavaScript carousel slider. Touch swipe, autoplay, loop, arrows, dots, multiple visible slides, and keyboard navigation.

hcg-color-picker

Google Chrome style color picker - lightweight, dependency-free, multiple instances, alpha support, EyeDropper API.

hcg-color-picker-react

Google Chrome style color picker — React component, lightweight, alpha support, EyeDropper API.

hcg-confetti-cannons

Lightweight dependency-free vanilla JavaScript confetti library with directional cannon bursts, celebration presets, emoji and text particles, vector shapes, scoped canvas instances, and reduced-motion support.

hcg-context-menu

Lightweight dependency-free JavaScript context menu and dropdown library with submenus, icons, headers, keyboard navigation, mobile long-press, viewport flipping, and dark mode.

hcg-date-picker

Lightweight dependency-free vanilla JavaScript date picker with calendar, date range with hover preview, multiple dates, event labels, time, and datetime modes, month/year quick navigation, min/max limits, and TypeScript types.

hcg-draggable

Lightweight dependency-free vanilla JavaScript library to make any element draggable, with drag handles, axis locking, grid snapping, containment, revert, and touch/pen support via Pointer Events.

hcg-file-drop

Lightweight dependency-free vanilla JavaScript drag-and-drop file upload widget with type filtering, file limit, duplicate detection, removable file list, and disabled state.

hcg-modal

Lightweight, dependency-free JavaScript popup modal in vanilla JS - sizes, positions, animations, focus trap, scroll lock, stacking, and bring-your-own-box support.

hcg-number-formatter

Lightweight, zero-dependency JavaScript number formatting library — currency, compact, ordinal, file size, and more

hcg-pinch-zoom

Lightweight dependency-free vanilla JavaScript library for pinch and wheel zoom with drag. Touch pinch, trackpad pinch, Ctrl+wheel, min/max scale, and focal-point zoom.

hcg-resizable

Lightweight dependency-free vanilla JavaScript library to make elements resizable, with 8 edge and corner handles, min/max sizing, aspect-ratio locking, containment, data attributes, and touch/pen support via Pointer Events.

hcg-searchable-select

Pure vanilla JavaScript searchable select dropdown. No dependencies. Progressively enhances a native <select> with type-to-search, match highlighting, and keyboard navigation.

hcg-sortable

A tiny, dependency-free vanilla JavaScript library for reorderable lists and grids via drag and drop. Supports connected lists, drag handles, custom placeholders, FLIP animation, auto-scroll, and lifecycle callbacks.

hcg-split-pane

A tiny, dependency-free vanilla JavaScript library for resizable split layouts with two or more panes. Supports horizontal and vertical direction, pointer-drag gutters, per-pane minimum and maximum sizes, and percentage or pixel-based sizes.

hcg-toast

Lightweight vanilla JavaScript toast notification library. Success, error, warning, and info types, auto-dismiss, sticky toasts, six positions, stack limits, pause on hover, and TypeScript definitions. Zero dependencies.

hcg-virtual-scroll

High-performance vanilla JavaScript virtual scrolling library. Render 1,000,000+ list rows with only visible items in the DOM. Zero dependencies.

@html-code-generator/css-box-shadow-parser

Parse CSS box-shadow strings into structured objects

@html-code-generator/hcg-tooltip

Facebook-style tooltips for vanilla JavaScript. Zero dependencies.