@teamimpact/veda-ui-blocks
v0.1.0-beta.13
Published
UI component library for VEDA-based portals, built on USWDS and React
Readme
@teamimpact/veda-ui-blocks
UI component library for VEDA-based portals. Built on USWDS, React, and MapLibre GL.
Changelog
See CHANGELOG.md for version history and changes.
Installation
pnpm add @teamimpact/veda-ui-blocksRequired peer dependencies:
pnpm add react react-dom @uswds/uswds @trussworks/react-uswdsAdditional peer dependencies for geo/map components:
pnpm add @tanstack/react-query maplibre-gl react-map-gl \
mapbox-gl-compare @developmentseed/stac-reactUsage
import { Card, Header, Footer, Banner } from "@teamimpact/veda-ui-blocks";Theming
Import one compiled theme at your app entry point:
import "@teamimpact/veda-ui-blocks/default.css"; // USWDS defaults
import "@teamimpact/veda-ui-blocks/disasters.css"; // Disasters.gov themeThe compiled CSS bundles all fonts (Inter, DM Mono, USWDS fonts) and USWDS images. No separate imports needed.
For details on the build pipeline, sideEffects, the exports map, and publishing,
see docs/bundling.md.
