Skip to content

Installation

Copy the source files from the components/ directory into your project.

Each file is a self-contained .tsx with its own <style> block and BEM class names. No external dependencies beyond React.

Terminal window
npm install github:las6/dx-components
import { ErrorComponent } from "dx-components/components/ErrorComponent";
import { ErrorPage } from "dx-components/components/ErrorPage";
import { NotFoundComponent } from "dx-components/components/NotFoundComponent";
import { PendingComponent } from "dx-components/components/PendingComponent";

Components ship as source .tsx — your bundler handles TypeScript and JSX.