{"kind":"markdown","meta":{"entryType":"library","name":"uPlot","title":"uPlot","slug":"uplot","description":"Very small and fast time-series charting library.","shortDescription":"Very small and fast time-series charting library.","category":"charts","compatibilityStatus":"native","typescriptSupport":"native","ssrSupport":"supported","maintenanceStatus":"active","tags":["charts","performance"],"packageName":"uplot","npmUrl":"https://www.npmjs.com/package/uplot","installCommand":"npm install uplot","islands":true,"esm":true,"library":{"name":"uPlot","slug":"uplot","shortDescription":"Very small and fast time-series charting library.","category":"charts","categories":["charts"],"packageName":"uplot","npmUrl":"https://www.npmjs.com/package/uplot","compatibilityStatus":"native","testedPreactVersions":[],"typescriptSupport":"native","ssrSupport":"supported","maintenanceStatus":"active","installCommand":"npm install uplot","tags":["charts","performance"],"islands":true,"esm":true,"qualityBadges":[],"catalogDomain":"preact","route":"/libraries/uplot","file":"entries/uplot.md","description":"Very small and fast time-series charting library.","compatibility":"native","status":"recommended","typescript":true,"ssr":true},"libraryAlternatives":[],"relatedProjects":[{"name":"Chart.js","slug":"chart-js","shortDescription":"Widely used canvas charting library with many available adapters.","category":"charts","categories":["charts"],"packageName":"chart.js","repositoryUrl":"https://github.com/chartjs/Chart.js","npmUrl":"https://www.npmjs.com/package/chart.js","documentationUrl":"https://www.chartjs.org/","homepageUrl":"https://www.chartjs.org/","license":"MIT","compatibilityStatus":"unverified","testedPreactVersions":[],"typescriptSupport":"native","ssrSupport":"unsupported","maintenanceStatus":"active","installCommand":"npm install chart.js","alternatives":["echarts"],"tags":["charts","canvas","visualization"],"islands":true,"esm":true,"qualityBadges":[],"catalogDomain":"preact","route":"/libraries/chart-js","file":"entries/chart-js.md","description":"Widely used canvas charting library with many available adapters.","compatibility":"unknown","status":"stable","typescript":true,"ssr":false,"repository":"https://github.com/chartjs/Chart.js","documentation":"https://www.chartjs.org/","homepage":"https://www.chartjs.org/"},{"name":"D3","slug":"d3","shortDescription":"Low-level data visualization toolkit usable with Preact rendering.","category":"charts","categories":["charts"],"packageName":"d3","npmUrl":"https://www.npmjs.com/package/d3","compatibilityStatus":"native","testedPreactVersions":[],"typescriptSupport":"native","ssrSupport":"supported","maintenanceStatus":"active","installCommand":"npm install d3","tags":["charts","dataviz"],"islands":true,"esm":true,"qualityBadges":[],"catalogDomain":"preact","route":"/libraries/d3","file":"entries/d3.md","description":"Low-level data visualization toolkit usable with Preact rendering.","compatibility":"native","status":"recommended","typescript":true,"ssr":true},{"name":"ECharts","slug":"echarts","shortDescription":"Feature-rich charting toolkit for interactive visualizations.","category":"charts","categories":["charts"],"packageName":"echarts","repositoryUrl":"https://github.com/apache/echarts","npmUrl":"https://www.npmjs.com/package/echarts","documentationUrl":"https://echarts.apache.org/","homepageUrl":"https://echarts.apache.org/","license":"Apache-2.0","compatibilityStatus":"unverified","testedPreactVersions":[],"typescriptSupport":"native","ssrSupport":"unsupported","maintenanceStatus":"active","installCommand":"npm install echarts","alternatives":["chart-js"],"tags":["charts","visualization","dashboards"],"islands":true,"esm":true,"qualityBadges":[],"catalogDomain":"preact","route":"/libraries/echarts","file":"entries/echarts.md","description":"Feature-rich charting toolkit for interactive visualizations.","compatibility":"unknown","status":"stable","typescript":true,"ssr":false,"repository":"https://github.com/apache/echarts","documentation":"https://echarts.apache.org/","homepage":"https://echarts.apache.org/"},{"name":"TanStack Charts","slug":"tanstack-charts","shortDescription":"Headless chart definitions with an official Preact adapter export.","category":"charts","categories":["charts"],"packageName":"@tanstack/charts","repositoryUrl":"https://github.com/TanStack/charts","npmUrl":"https://www.npmjs.com/package/@tanstack/charts","documentationUrl":"https://tanstack.com/charts/latest/docs/framework/preact/adapter","license":"MIT","compatibilityStatus":"native","testedPreactVersions":[],"typescriptSupport":"native","ssrSupport":"supported","maintenanceStatus":"active","installCommand":"npm install @tanstack/charts preact","limitations":["The Preact adapter is imported from the @tanstack/charts/preact subpath rather than a separate npm package."],"alternatives":["chart-js","uplot"],"tags":["charts","visualization","tanstack"],"featured":false,"islands":true,"esm":true,"qualityBadges":[],"catalogDomain":"preact","route":"/libraries/tanstack-charts","file":"entries/tanstack-charts.md","description":"Headless chart definitions with an official Preact adapter export.","compatibility":"native","status":"recommended","typescript":true,"ssr":true,"repository":"https://github.com/TanStack/charts","documentation":"https://tanstack.com/charts/latest/docs/framework/preact/adapter"},{"name":"Allure Report Web Components","slug":"allurereport-web-components","shortDescription":"Preact component and chart collection used to build Allure 3 test-report interfaces.","category":"testing","categories":["testing"],"packageName":"@allurereport/web-components","repositoryUrl":"https://github.com/allure-framework/allure3","npmUrl":"https://www.npmjs.com/package/@allurereport/web-components","documentationUrl":"https://allurereport.org/docs/","homepageUrl":"https://allurereport.org/","license":"Apache-2.0","compatibilityStatus":"compat","testedPreactVersions":[],"typescriptSupport":"bundled-types","ssrSupport":"unknown","maintenanceStatus":"active","installCommand":"npm install @allurereport/web-components","limitations":["Designed for Allure report applications rather than as a general-purpose UI library; many components depend on Allure data contracts and sibling packages.","Includes charting, D3, Markdown, syntax-highlighting, Preact, and compat-backed React dependencies, making it heavyweight for isolated controls."],"alternatives":["vitest-browser-preact","chart-js"],"tags":["allure","test-reports","charts"],"featured":false,"islands":false,"esm":true,"qualityBadges":[],"catalogDomain":"preact","route":"/libraries/allurereport-web-components","file":"entries/allurereport-web-components.md","description":"Preact component and chart collection used to build Allure 3 test-report interfaces.","compatibility":"compat","status":"stable","typescript":true,"ssr":false,"repository":"https://github.com/allure-framework/allure3","documentation":"https://allurereport.org/docs/","homepage":"https://allurereport.org/"},{"name":"Million.js","slug":"million","shortDescription":"Performance-focused virtual DOM tooling relevant to Preact comparisons.","category":"developer-tools","categories":["developer-tools"],"packageName":"million","npmUrl":"https://www.npmjs.com/package/million","compatibilityStatus":"experimental","testedPreactVersions":[],"typescriptSupport":"native","ssrSupport":"supported","maintenanceStatus":"active","installCommand":"npm install million","tags":["performance","compiler"],"islands":true,"esm":true,"qualityBadges":[],"catalogDomain":"preact","route":"/libraries/million","file":"entries/million.md","description":"Performance-focused virtual DOM tooling relevant to Preact comparisons.","compatibility":"partial","status":"experimental","typescript":true,"ssr":true}],"libraryEditorial":{"example":{"language":"tsx","code":"export function Example() {\n return \u003csection>uPlot can be evaluated inside a Preact component.\u003c/section>;\n}"},"limitations":["PreactHub still needs project-specific verification notes for versions, bundle impact and edge cases."],"supplementalSections":[{"title":"Introduction","body":"uPlot is tracked in PreactHub because it is relevant for Preact applications, migrations, ecosystem comparisons or adjacent tooling."},{"title":"Preact configuration","body":"No `preact/compat` alias is required for the primary API."},{"title":"SSR notes","body":"The library can participate in SSR-oriented workflows when browser-only APIs are guarded."},{"title":"Islands notes","body":"uPlot can be used from interactive islands as long as initialization is scoped to the island root and cleaned up when necessary."}]},"libraryCategory":{"slug":"charts","name":"Charts","description":"Charts, graphs and data visualization.","icon":"▥","section":"preact"}},"html":"","title":"uPlot for Preact – Compatibility, Setup and Alternatives","description":"Very small and fast time-series charting library. Review uPlot compatibility with Preact, TypeScript and SSR support on PreactHub.","tags":["charts","performance"],"pageType":"website","headings":[{"id":"introduction","text":"Introduction","level":2},{"id":"installation","text":"Installation","level":2},{"id":"preact-configuration","text":"Preact configuration","level":2},{"id":"example","text":"Example","level":2},{"id":"ssr-notes","text":"SSR notes","level":2},{"id":"islands-notes","text":"Islands notes","level":2},{"id":"known-limitations","text":"Known limitations","level":2}],"relativePath":"content/libraries/entries/uplot.md","lastUpdated":"2026-11-14T14:22:04.516Z"}