Lit web components

Reusable components, documented and ready to explore.

A collection of universally usable web components for various tasks.

Install

npm install @f-ewald/components

Import the whole library, or use a component subpath so applications only load what they use.

import "@f-ewald/components";
import "@f-ewald/components/confirm-dialog.js";

40 components

Component reference

See every component live

Theme with CSS properties

Every component includes token fallbacks and works without global CSS. Override any --ui-* property on an ancestor to apply a theme.

:root {
  --ui-primary: #0ea5e9;
  --ui-radius: 0.75rem;
}

Machine-readable resources