HTML examples

Each HTML example is a complete HTML document. Open it to try the page, or download the file and edit it in any text editor. No framework, package install or build step is needed.

The files load the Design system 1 stylesheet and bundled Lit module from this site, then use ds-* elements alongside semantic HTML. Fonts load with the stylesheet. These are online dependencies.

An article

View example · Download HTML

A form with local feedback

View example · Download HTML

A small report

View example · Download HTML

An expandable reference

View example · Download HTML

One authored HTML file, including any example-specific script. The Lit module registers the components. The form shows local feedback and prevents submission; it has no backend.

To work offline, serve a local copy of the library bundle, its chunks, CSS and fonts, then update the URLs in your HTML.

For more components, see the component examples, or start with Use with HTML.