Lit Element Skeleton Generator - Online Quick Starter
Generate a Lit Element web component skeleton with styles and properties. Copy and start coding immediately.
UD5 Toolkit
SSE with Custom Headers • Online Sandbox • Real-time Stream Viewer
Supports Custom Headers fetch + ReadableStreamNo events yet
Connect to an SSE endpoint to start receiving eventsEventSource API was designed with security constraints. It doesn't expose header configuration to prevent misuse in cross-origin scenarios. This means you cannot pass Authorization tokens, API keys, or custom headers needed for authenticated SSE streams. That's exactly why a polyfill is essential.event:, data:, id:), and dispatches events just like native EventSource — but with full control over headers, HTTP method, and request body.Last-Event-ID header. When a connection drops, the client automatically reconnects and sends the last received event ID. The server can resume the stream from that point, ensuring no events are missed. This polyfill implements the same behavior with configurable retry intervals.Generate a Lit Element web component skeleton with styles and properties. Copy and start coding immediately.
Explore the size‑container and inline‑size CSS properties for container queries. Understand containment contexts. Visual guide.
Drag to resize a box and see the Resize Observer callback fire. Get contentRect and borderBoxSize. Learn the API.
Compare width/height with block‑size/inline‑size in different writing modes. Understand intrinsic sizing. Copy best practices.
See how scroll‑padding and scroll‑margin affect the position of elements when using anchor links or scroll‑snap. Visual.
Select any element on the test page and monitor its size changes with ResizeObserver. See log of all entries.
Make an element resizable horizontally, vertically, or both. See the handle and code. Useful for textareas.
Estimate board feet of spray foam needed for a cavity. Compare closed‑cell and open‑cell.
See how Trusted Types prevents unsafe HTML assignment. Test against injected scripts. Modern security practice.
Toggle print‑specific styles like removing backgrounds, showing link URLs, and adding page breaks. Generate a complete print stylesheet instantly.
Enter item dimensions and find the smallest rectangular box that can fit them (simple packing heuristic). Helps reduce shipping costs. Local algorithm.
Select your wall type and furniture style to see the best anchoring method. Prevent tip‑over accidents.
Add print styles like removing backgrounds, adding page breaks, setting margins. See print preview instantly.
Enter current ball size and target to find approx rubber bands required. Fun and satisfying.
Apply will‑change to any element and see its effect on compositing. Learn best practices for smooth animations.
Enter head circumference to get crown diameter and length. Perfect fit top‑down hats.
Request HID devices and list them. Read input reports and send output. For custom hardware and controllers.
Enter length, width, thickness to approximate surfboard volume. Compare to your ideal volume based on weight.
Estimate your one‑rep max from weight and reps. Supports Epley, Brzycki, Lombardi formulas. See your strength level.
Estimate your one‑rep max (1RM) from weight and reps. Supports multiple formulas (Epley, Brzycki). Training percentages table.
Calculate the entropy (in bits) of a password based on character pool size and length. Visual strength meter with crack time estimation. Local only.
Estimate filament usage: enter weight or length and get the remaining value plus cost. PLA/ABS density reference. Local calculation.
Paste a raster image and an SVG, see the file size and rendering time. Understand when to use vector. Local.
Estimate body fat percentage using neck, waist, hip (if female) measurements. Supports US Navy, Covert Bailey, and 3-site skinfold methods. No data sent to server.
Type a few words and see them rendered at every heading size (h1–h6) with your chosen font. Perfect for design systems.
Interactive guide to understanding standard 16/24 inch stud spacing. Visualize wall internals. Useful before drilling.
Select bird species and toy type to see potential hazards and size recommendations.
Enter megapixels and desired DPI to see the maximum print size without upscaling. Quick quality check.
Calculate your one-rep max using Epley, Brzycki, Lombardi or O'Conner formulas. Predict maximum lifting capacity and plan progressive overload. 100% local processing.
Plot weekly weight gain against recommended ranges based on pre-pregnancy BMI. IOM guidelines displayed. Data stored in localStorage.