# Satori

[BASE product page](<https://base.akulich.dev/en/library/satori/>) · [Resource](<https://github.com/vercel/satori>)

ID: satori · Language: en
Schema version: 1 · Data version: cbbe7123b47a5ae80983

This is editorial data. An unknown field neither confirms nor rules out a capability.
dataVersion is a dataset fingerprint, not evidence of a recent fact check.

Converts a limited subset of HTML and CSS to SVG: helps generate social cards, previews, and graphics from application data\.

## Type

Web framework / library

## Entry type

library

## Separate catalog

No

## [Access conditions](<https://base.akulich.dev/en/library/satori/#resource-access>)

free

## [What you can use for free](<https://base.akulich.dev/en/library/satori/#resource-access>)

Code and local use under MPL\-2\.0\.

## [Paid features and costs](<https://base.akulich.dev/en/library/satori/#resource-access>)

Computing resources, self\-hosting, and external services are paid for separately if used\.

## [Access and limitations](<https://base.akulich.dev/en/library/satori/#resource-access>)

Code and local use under MPL\-2\.0\. Computing resources, self\-hosting, and external services are paid for separately if used\.

## [Use cases](<https://base.akulich.dev/en/library/satori/#resource-tasks>)

- Generate a social card from application data
- Convert a layout to SVG and check text/image dimensions

## Category IDs

- frontend

## Subcategory IDs

- frontend\.utilities

## Tags

- Satori
- web
- Development

## Also known as

- vercel/satori
- satori\-html\-to\-svg
- vercel\-satori

## [Selection purpose](<https://base.akulich.dev/en/library/satori/#resource-selection>)

Generate a social card from application data

## [Choose this when](<https://base.akulich.dev/en/library/satori/#resource-selection>)

- Generate a social card from application data
- Convert a layout to SVG and check text/image dimensions

## [Requirements](<https://base.akulich.dev/en/library/satori/#resource-selection>)

- Supply image dimensions and fonts with font data; the JSX component must be static and stateless\.

## [Limitations](<https://base.akulich.dev/en/library/satori/#resource-selection>)

- Costs and limits of free use: Computing resources, self\-hosting, and external services are paid for separately if used\.
- Terms of use: MPL\-2\.0 for the code, with file\-level copyleft\.
- Satori supports a subset of HTML/CSS and its own SVG layout rather than the full browser DOM and its behavior\.

## [Questions before use](<https://base.akulich.dev/en/library/satori/#resource-faq>)

### What can you use for free in Satori?

Code and local use under MPL\-2\.0\.

### What additional costs might arise with Satori?

Computing resources, self\-hosting, and external services are paid for separately if used\.

### What terms of use matter for Satori?

MPL\-2\.0 for the code, with file\-level copyleft\.

### How do you get started with Satori?

Prepare a supported layout and card data\. Convert a layout to SVG and check text/image dimensions\. Add real data and error handling; check the production build\.

### Can you pass a component using useState or useEffect?

No\. The README requires pure stateless JSX and does not support hooks or dangerouslySetInnerHTML\. Fetch the data in advance and create a static tree for the card\.

### Will an arbitrary web page look pixel\-for\-pixel identical?

Not necessarily: Satori uses its own subset of HTML/CSS and layout\. It does not provide a complete browser engine for style, link, or script tags and browser interactivity\.

## Sources for the selection guide

- [https://github\.com/vercel/satori](<https://github.com/vercel/satori>)
- [https://raw\.githubusercontent\.com/vercel/satori/HEAD/README\.md](<https://raw.githubusercontent.com/vercel/satori/HEAD/README.md>)
- [https://raw\.githubusercontent\.com/vercel/satori/HEAD/LICENSE](<https://raw.githubusercontent.com/vercel/satori/HEAD/LICENSE>)
- [https://www\.open\-source\-tools\.com/](<https://www.open-source-tools.com/>)

## [Possible workflow](<https://base.akulich.dev/en/library/satori/#resource-scenario>)

Generate a social card from application data\.

A possible workflow; this is not a report of hands-on testing.

## Before you start

- Web application source code and the intended workflow\.
- The project's framework and runtime version\.

## Steps

1. Prepare a supported layout and card data\.
2. Convert a layout to SVG and check text/image dimensions\.
3. Add real data and error handling; check the production build\.

## Check your result

- The workflow works after a page refresh and with invalid data\.
- The bundle, server rendering, and supported browsers suit the project\.

## [License](<https://base.akulich.dev/en/library/satori/#resource-license>)

MPL\-2\.0 for the code, with file\-level copyleft\.

## License explanations for the specified scope

### MPL 2\.0 — file\-level copyleft

You can use the code in a commercial product and combine it with closed\-source files\. When distributing it, make the source code of MPL\-covered files available, including your changes to those files, and retain notices\. Independent new files can remain closed\-source\. Internal use alone does not require publishing the code\.

[License terms](<https://www.mozilla.org/en-US/MPL/2.0/FAQ/>)

## [Sources](<https://base.akulich.dev/en/library/satori/#resource-sources>)

- [Official source](<https://github.com/vercel/satori>)
- [Official source](<https://raw.githubusercontent.com/vercel/satori/HEAD/README.md>)
- [License](<https://raw.githubusercontent.com/vercel/satori/HEAD/LICENSE>)
- [Catalog / discovery source](<https://www.open-source-tools.com/>)

## Editorial review date

2026\-10\-06

## Editorial review scope

The purpose, current repository license, and separate terms for code, services, and models have been reviewed\. The product was not run, and no security audit was performed\.

Dates refer to the stated editorial review, not hands-on testing, a product update, or a recent review of all sources.
