qmetrics.net

Stencil

TypeScript toolchain for standards-based web components

Stencil screenshot

Stencil compiles TypeScript and JSX into web components you can use in React, Angular, Vue, or plain HTML. It targets design systems and shared component libraries.

Overview

Stencil is a compiler for building web components with TypeScript and JSX, created by the Ionic team. You author decorated component classes and Stencil emits standard custom elements that run across major front-end frameworks or without a framework.

Components can use shadow DOM, slots, and scoped styles. Stencil ships with a small runtime, an asynchronous rendering pipeline, and presets for local development including a hot-reloading dev server. Output can be tuned for tree shaking and lazy loading.

The toolchain includes unit testing support, code generation for new components, TypeScript source maps, and documentation generation from JSDoc near the source. Integrations are documented for using custom elements inside Angular, React, and Vue codebases.

Stencil is aimed at enterprise-style component systems: one framework-agnostic codebase can be packaged for React, Angular, Vue, and traditional web apps. It can also serve as a frontend build approach where web components are the portable output format.

Key features

  • Web Components output from TypeScript
  • JSX component authoring
  • Shadow DOM and slots
  • React, Angular, and Vue integration paths
  • Built-in dev server with hot reload
  • JSDoc-driven doc generation
  • Unit testing built in
  • Component and style code generation

Use cases

  • Publishing a shared design system
  • Cross-framework component libraries
  • Standards-based UI for multiple apps
  • Migrating away from framework-specific widgets
  • Documented component APIs for product teams

Tags

Similar software

Astro

JavaScript web framework for content-driven sites

Astro builds content sites, web apps, and server APIs with server-first rendering, optional UI islands, and integrations for major frameworks.

★ 64.3k⟳ todayMIT

Nuxt

Full-stack Vue framework for web applications

Nuxt builds type-safe Vue apps with file routing, multiple render modes, server directory APIs, and a large module ecosystem.

★ 61.1k⟳ todayMIT

Gatsby

React-based framework for fast content-driven sites

Gatsby is a React framework for building websites and apps, blending static generation with dynamic React capabilities. It pulls data from markdown, CMSs, and APIs through a unified GraphQL layer.

★ 55.9k⟳ 18 days agoMIT

Bulma

Flexbox-based modular CSS component framework

Bulma supplies ready-made responsive UI components as CSS only, without bundled JavaScript. You import or link its stylesheet and combine classes to build layouts.

★ 50k⟳ 4 days agoMIT
Frameworks & PlatformsDesktop/CLI app

uni-app

Vue-based framework shipping one codebase to many platforms

uni-app lets developers write Vue.js front ends once and publish to mobile, web, mini-program, and quick-app targets from a single project.

★ 41.7k⟳ yesterdayApache-2.0

ToolJet

Open-source low-code platform for internal business applications

ToolJet lets teams build admin panels, dashboards, and operational apps on existing databases and APIs. Create with a visual builder, prompts, or coding agents via MCP, then self-host or use cloud.

★ 41.3k⟳ todayAGPL-3.0
Open Source Alternative to:RetoolSuperblocks