A React component library for generating Entity Relationship Diagrams (ERD) from SQLite schemas or database files. Current stable version is 1.1.0, with a focus on client-side, privacy-preserving diagram generation. It supports both SQL CREATE TABLE statements and raw SQLite files. Key differentiators include full client-side processing (no server upload), interactive canvas via React Flow, table data browsing, SQLite internals explorer, and theming. The library has peer dependencies on React 19+ and ships TypeScript types. It is suitable for developers needing to visualize SQLite schemas in React applications, with a relatively new release cadence.
npm install sqlite-erdNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Renders a basic ERD from an SQL schema string using the SQLiteERD component.
Upgrade to React 19+ for compatibility with this library.
Add 'import "sqlite-erd/sqlite-erd.css";' to your entry file.
Use '{ SQLiteERD }' in import statement.Ensure you have run 'npm install sqlite-erd' and include the CSS import line.
Change import to 'import { SQLiteERD } from 'sqlite-erd';'Configure resolve.alias in Vite or webpack to deduplicate React.