Build sites from bricks
Mortar is a small website framework on Solid 2. Define your sections and collections in code, and get pages rendered on the server and an admin with a live preview.
BricksSections as Solid components with a typed schema. The admin builds their forms for you.CollectionsPages, posts, products: documents with typed fields and a body of bricks.The adminA schema-driven editor whose preview is your real site, with your own layouts and styles.Storage you can swapJSON files by default. Write a store in four methods; this site keeps your edits in session storage.API referenceEvery export, generated from the packages' TypeScript sources.Try it hereOpen the admin and change anything on this site. Only you see it, and you can reset it.