78 UI Kit
Components

Components

One page per component, each documenting its complete option surface — every class variant, every data-* attribute and every JavaScript method, not just a demo. Everything is rendered by the same kit this page loads from the CDN.

Conventions

The same few rules hold across every component, so they are worth reading once.

  • Everything is a class. There is nothing to register and nothing to initialize — write the markup and it works. The pieces that do have behavior mount themselves on load.
  • The _78- prefix is on every class, and _78 is the single JavaScript global. Nothing else is added to the page.
  • Attributes are the authoring surface; JavaScript is the escape hatch. Most components read data-* attributes on load. Every one of them also has a JS call for content that arrives later, and both are documented on each page.
  • Color is never the only signal. Values are carried as text or an aria-label, progress tracks are real role="progressbar"s, and status is never conveyed by hue alone.
  • Semantic colors stay conventional. Green, amber and red never follow your accent — see Theming.