Softwr

Web Development · head to head

Stencil vs Sublime Text

Stencil logo

Stencil

Web Development

MIT licensed toolchain for building reusable Web Component libraries in TypeScript

From
Free
Free plan
Yes
Sublime Text logo

Sublime Text

Developer Tools

A sophisticated text editor for code, markup and prose

From
$99/license
Free plan
No

The short version

  • Stencil is an open source toolchain.
  • Stencil is free; Sublime Text starts at $99/mo.
  • Only Stencil lists asynchronous rendering pipeline; only Sublime Text lists lightning fast performance.
  • Where Stencil falls short: aimed at component libraries, so routing and data fetching must come from elsewhere.
  • Where Sublime Text falls short: personal license requires payment after evaluation period.

How do Stencil and Sublime Text differ?

Stencil and Sublime Text differ on starting price (Free against $99/license), pricing model (Open-source against One-time) and free tier (Yes against No). Only the attributes on which Stencil and Sublime Text actually diverge.

Attributes where Stencil and Sublime Text differ
AttributeStencilSublime Text
Starting priceFree$99/license
Pricing modelOpen-sourceOne-time
Free tierYesNo
PlatformsWeb, Windows, macOS, LinuxWindows, macOS, Linux
CategoryWeb DevelopmentDeveloper Tools

Not yet recorded: founded for Stencil.

Which features does each one have?

They share no listed features; 8 appear only for Stencil and 20 only for Sublime Text. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.

Only in Stencil

  • Compiles TypeScript and JSX to Web Components
  • Shadow DOM and slots support
  • Output optimised for tree shaking and loading
  • Asynchronous rendering pipeline
  • Documentation generated from JSDoc comments
  • Dev server with hot reloading
  • Unit testing and code generation tooling
  • Integration guides for Angular, React and Vue

Only in Sublime Text

  • Lightning fast performance
  • Multiple selections
  • Command palette
  • Instant project switch
  • Plugin ecosystem
  • Customizable UI
  • Advanced search and replace
  • Split editing

What is each one used for?

Stencil is most often brought in for publishing a design system as Web Components; Sublime Text for editing code and text files in a fast native desktop editor. The jobs each tool is most often brought in to do.

Stencil

  • Publishing a design system as Web Componentsnot Sublime Text
  • Sharing UI components across React, Angular and Vue appsnot Sublime Text
  • Building framework independent widgetsnot Sublime Text
  • Generating documentation for component librariesnot Sublime Text
  • Building progressive web apps with Web Componentsnot Sublime Text

Sublime Text

  • Editing code and text files in a fast native desktop editornot Stencil
  • Working across large files and projects with multi cursor editingnot Stencil

Where do Stencil and Sublime Text fall short?

Stencil's most cited limit: aimed at component libraries, so routing and data fetching must come from elsewhere. Sublime Text's: personal license requires payment after evaluation period. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Stencil

  • Aimed at component libraries, so routing and data fetching must come from elsewhere
  • Requires TypeScript and decorator conventions that differ from other frameworks
  • Web Component styling and form handling can need extra work in some host frameworks
  • Smaller ecosystem of third party components than the largest frameworks

Sublime Text

  • Personal license requires payment after evaluation period
  • Business licenses use annual subscription model requiring renewal
  • After 3 years of updates on personal license, upgrade required for continued updates

How much do Stencil and Sublime Text cost?

Stencil is free to use; Sublime Text starts at $99/mo. Plan by plan below, from each vendor's own pricing page.

Stencil

Free

No published plan breakdown. See the Stencil review.

Sublime Text

$99/license
  • Personal License$99 one-off
    • One license for all computers and operating systems
    • 3 years of updates
    • Free evaluation available
  • Business License - 1-10 seats$65/yr
    • Per seat annual subscription
    • Volume discount for 11-25 seats at $60
    • Further discount for 26+ seats

Which should you pick?

Choose Stencil if

  • You need compiles typescript and jsx to web components.
  • You want to start without paying.
  • You work on Web, Windows, macOS, Linux.
  • You also want shadow dom and slots support.

Choose Sublime Text if

  • You need lightning fast performance.
  • You work on Windows, macOS, Linux.
  • You also want multiple selections.

Questions people ask

Is Stencil or Sublime Text better?
It depends on the job. Stencil fits publishing a design system as Web Components; Sublime Text fits editing code and text files in a fast native desktop editor. Stencil starts at Free and Sublime Text at $99/license.
Which is cheaper, Stencil or Sublime Text?
Stencil has a free tier; the other does not. Paid plans start at Free for Stencil and $99/license for Sublime Text.
Does Stencil or Sublime Text run on more platforms?
Stencil runs on Web, Windows, macOS, Linux. Sublime Text runs on Windows, macOS, Linux.
Can I use Stencil for free?
Yes. Stencil has a free tier, so you can try it without paying. Sublime Text starts at $99/license.
What is Stencil best used for?
Stencil is most often used for publishing a design system as web components, sharing ui components across react, angular and vue apps, building framework independent widgets, generating documentation for component libraries. Of those, publishing a design system as web components and sharing ui components across react, angular and vue apps are not what Sublime Text is typically brought in for.
What can Stencil do that Sublime Text cannot?
Stencil covers Compiles TypeScript and JSX to Web Components, Shadow DOM and slots support, Output optimised for tree shaking and loading, Asynchronous rendering pipeline. Sublime Text covers Lightning fast performance, Multiple selections, Command palette, Instant project switch.

Answered from the vendors’ own pages

Stencil: What does Stencil produce?

Stencil compiles components written in TypeScript and JSX into standard Web Components. These work in any major framework or without one.

Source
Sublime Text: How much does Sublime Text cost?

Sublime Text costs $99 USD as a one-time personal license covering all your computers and operating systems, with 3 years of updates included.

Source
Stencil: Is Stencil free?

Yes. The project is released under the MIT licence according to both its website and its GitHub repository.

Source
Sublime Text: What are the business license pricing tiers?

Business licenses use annual subscription pricing: $65 per seat per year for 1-10 seats, $60 per seat for 11-25 seats, $55 per seat for 26-50 seats, and $50 per seat for 51+ seats.

Source
Stencil: Who builds Stencil?

The README says Stencil is built by the Ionic team. The website describes it as an open source project by Ionic.

Source
Sublime Text: Can I evaluate Sublime Text for free?

Yes, Sublime Text may be downloaded and evaluated for free, though payment is required to continue using it after evaluation.

Source
Stencil: Does Stencil work with React, Angular and Vue?

Yes. Components are plain Web Components, and the website provides integration guides for Angular, React and Vue.

Source
Share

Related pages

Other head to heads