Native HTML UI

Native browser/HTML features that replace common JS-library UI patterns — popover API, <details name> accordion groups, <dialog> modals, declarative Shadow DOM, fetchpriority, and <datalist> autocomplete. Use this BEFORE reaching for a JS library or hand-rolled component whenever building a modal, popover, tooltip, dropdown, accordion/FAQ, autocomplete input, or a Web Component — check whether plain HTML/CSS already solves it with less code, better accessibility, and no bundle-size cost. Also relevant when reviewing UI code that manually implements focus traps, click-outside listeners, or z-index stacking for overlays.

casoon 221c3c9 7.6 KB Updated

File contents

casoon/ai-agent-config/tree/main/skills/native-html-ui commit 221c3c9b6a

Frequently asked questions

npx skillmds@latest add casoon/native-html-ui