Libraries & Add-ons
A collection of modules built to work wonderfully with Preact.
๐ Built one of your own? Add it!
Add-Ons
- ๐ preact-cycle: Functional-reactive paradigm for Preact
- ๐ preact-render-to-string: Universal rendering.
- โฒ relaks: Create components with render methods that return asynchronously.
- ๐ฉ express-preact-views: Express View Engine.
- ๐พ Prefresh: Fast-Refresh for Preact.
- ๐ adonis-preact: Use Preact in Adonisjs
Components
- ๐ preact-router: URL routing for your components
- ๐ preact-markup: Render HTML & Custom Elements as JSX & Components
- ๐ฐ preact-portal: Render Preact components into (a) SPACE ๐
- ๐ preact-richtextarea: Simple HTML editor component
- ๐ preact-token-input: Text field that tokenizes input, for things like tags
- ๐ preact-virtual-list: Easily render lists with millions of rows (demo)
- ๐ preact-layout: Small and simple layout library
- ๐ท preact-helmet: A document head manager for Preact
- โ preact-custom-scrollbars: Fully customizable scrollbars, for frictionless native browser scrolling
- ๐งฑ @modular-forms/preact: Modular and type-safe form library
Integrations
- ๐ญ preact-socrates: Preact plugin for Socrates
- ๐ฃ preact-flyd: Use flyd FRP streams in Preact + JSX
- ๐ฌ preact-i18nline: Integrates the ecosystem around i18n-js with Preact via i18nline.
- ๐ Capacitor: Turn your Preact app into a Native iOS/Android App and PWA.
- :ice_cube: Kretes: Build full-stack TypeScript apps using Preact and Node.js
- ๐: preact-island: Run your Preact widget on any website with reactive props.
GUI Toolkits
- ๐ด @mui/material: the React UI library you always wanted. Follow your own design system, or start with Material Design.
- ๐ preact-material-components: Material Components for the Web (supersedes MDL)
- ๐ณ preact-mdl: Use MDL as Preact components
- ๐ preact-photon: build beautiful desktop UI with photon
- ๐ง preact-weui: Weui for Preact
- ๐ preact-fluid: Fluid minimal UI kit for Preact
- ๐ storybook-preact: Storybook for Preact is a UI development environment for your Preact components
Testing
- ๐ฌ preact-jsx-chai: JSX assertion testing (no DOM, right in Node)
- โ unexpected-preact: JSX assertions, events, snapshots in Jest (DOM, works under Node jsdom or out-of-the-box in Jest) - docs
Utilities
- ๐ฉ preact-classless-component: create preact components without the class keyword
- ๐จ preact-hyperscript: Hyperscript-like syntax for creating elements
- โ
shallow-compare: simplified
shouldComponentUpdate
helper. - ๐ถ @deepsignal/preact: Extension of
@preact/signals
for full state management