Examples

These full-page examples compose Core and Unit components using Layout. Open one full size or use Show layers to inspect its composition.

  • Shop — a photo-led collection with filters and a shopping bag.
  • Planning app — project navigation, searchable items and a visual brief.
  • Finance app — account balances, cash flow and transactions.
  • Product showcase — a product story, large photographs and a package choice.

These are working local examples with fictional content. Their components, colours, type and spacing come from the current DS1 source; example CSS only arranges the pieces.

An app with places to go: navigation stays on the left while the work changes on the right.

Open full size

Point at any part of the page to see what it is made of.

Page
ds-page
Unit
ds-sidebar, ds-row, ds-tabs, ds-list

Many things of one kind: pick one from the list and read it in full beside it. The list column is 16 squares, wide enough for a name and a date.

Open full size

Point at any part of the page to see what it is made of.

Page
ds-page
Unit
ds-list, ds-row, ds-avatar-group

Making something: pages on the left, the work in the middle, its settings on the right. Below 48 squares of width the settings move under the work.

Open full size

Point at any part of the page to see what it is made of.

Page
ds-page

Something read or filled in from top to bottom: settings, an article, a long form. The column is 32 squares wide and sits in the middle, on a whole square.

Open full size

Point at any part of the page to see what it is made of.

Page
ds-page

One task and nothing else on the screen: signing in, confirming, a single question. The column is 16 squares and sits in the middle of the height too, on a whole square.

Open full size

Point at any part of the page to see what it is made of.

Page
ds-page
Unit
ds-row, ds-form

An overview of many numbers at once. Each tile is 12 squares wide and the row fills with as many as fit; data-tile="wide" takes two, data-tile="full" the whole row.

Open full size

Point at any part of the page to see what it is made of.

Page
ds-page

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

A reading page composed with Page and semantic prose. It loads the same Lit component library as every other example.

View example · Download HTML

A form with local feedback

Lit fields, a multiline input and buttons in a native form. Validation remains native; submission only shows a local message and sends nothing.

View example · Download HTML

A small report

A Page and Table with sample attendance data. The script waits for Table registration before assigning its columns and rows.

View example · Download HTML

An expandable reference

Page and Accordion components, loaded directly in HTML. Open each section with the pointer or keyboard.

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.

The examples host photographs locally under the Pexels License: wooden chair, chair by a curtain, ceramic cup, and headphones by Moose Photos. The Image examples credit the forest and mountain photographs. Photos remain outside the component package.