Brick Documentation

Ctrl + K

Overview

Overview

Brick is a Headless Content Management System that's 100% based on GraphQL.

In a nutshell, you can define a type like this:

0 type TextBlurb implements Brick {
1 brickId: String!
2 title: String!
3 body: String! @markdown
4 }

to create an editor like this:

<!-- todo: put in picture of editor -->

that you can fetch like this (among other ways detailed in Queries):

0 query FetchBlurb {
1 brickById("<id>") {
2 ... on TextBlurb {
3 title
4 body
5 }
6 }
7 }

Further Reading

See Getting Started for CLI installation instructions and basic setup.

See Content Modeling for design advice when creating Brick's GraphQL-based content types

See Queries for Brick's search and lookup capabilities.