Use Prismic

Page fields

Learn about fields and how to use them when creating pages.

Fields are the building blocks of your content in Prismic. Each field captures a specific type of information, like text, images, dates, or links. When you create a page, you fill in these fields to build your content.

Prismic supports many types of content fields, including text (with or without formatting), images, numbers, tables, relationships, and more. Your developer uses these fields to build page types and slices.

For example, an Author page type might include:

Learn how to use each type of field in the Page Builder below.

Boolean field

An on/off toggle that lets you choose between true or false options. This is useful for features like “Featured content” or “Show in navigation.”

A screenshot of a boolean field in the Page Builder.

A boolean field in the Page Builder.

Color field

A color picker that lets you select a color in hex format (e.g. #FFFFFF for white).

A screenshot of a color field in the Page Builder.

A color field in the Page Builder.

Content relationship field

Link pages to form relationships, like connecting a blog post to its author or linking a product to its category.

A screenshot of a content relationship field in the Page Builder.

A content relationship field in the Page Builder.

Depending on your website’s configuration, a content relationship field might limit the pages you can select to a single page type. For example, an author field may only allow Author pages.

Date field

A calendar picker for selecting dates without a specific time.

A screenshot of a date field in the Page Builder.

A date field in the Page Builder.

Embed field

Embed videos, songs, tweets, or other content from external platforms like YouTube, Spotify, or Twitter. Paste the URL and the content will be embedded.

A screenshot of an embed field in the Page Builder.

An embed field in the Page Builder.

This field works with any platform that supports oEmbed.

Geopoint field

Store geographical coordinates for location-based content. You can also paste a Goole Maps URL to automatically extract the coordinates.

A screenshot of a geopoint field in the Page Builder.

A geopoint field in the Page Builder.

Image field

Upload an image or select one from your repository’s media library.

A screenshot of an image field in the Page Builder.

An image field in the Page Builder.

Images can be cropped by clicking the crop button in the field’s top-right corner.

Be sure to set alternative text for each image to aid visitors with accessibility needs.

Integration field

Connect to third-party services and platforms for specialized content. The available integrations depend on what your developer has configured for your website.

A screenshot of an integration field in the Page Builder.

An integration field in the Page Builder.

Link to pages within your website, external websites, or media files.

A screenshot of a link field in the Page Builder.

A link field in the Page Builder.

A specialized link field that connects directly to media files in your repository, such as PDFs, documents, or downloadable files.

A screenshot of a link to media field in the Page Builder.

A link to media field in the Page Builder.

Number field

Enter numeric values, whether whole numbers (like 5 or 100) or decimals (like 3.14 or 99.99).

A screenshot of a number field in the Page Builder.

A number field in the Page Builder.

Repeatable group field

A group of fields that can be repeated as many times as needed. This field is often used for collections of content, like an image gallery with multiple images and captions.

A screenshot of a repeatable group field in the Page Builder.

A repeatable group field in the Page Builder.

Rich text field

A text field that allows formatting like headings, paragraphs, images, and bold text. Rich text fields are usually used for large bodies of content.

A screenshot of a rich text field in the Page Builder.

A rich text field in the Page Builder.

The rich text editor toolbar provides essential formatting options:

  • Bold and italic: Emphasize important words and phrases
  • Headers: Create clear content hierarchy with H1, H2, H3, etc. headings
  • Paragraphs: Organize your content into readable sections
  • Lists: Organize information with bulleted or numbered lists
  • Links: Connect your content to internal or external resources
  • Images: Upload an image or select one from your repository’s media library

Your developer determines which formatting options are available.

Select field

A dropdown menu with predefined options set up by your developer. Common uses include categories, priority levels, or status options.

A screenshot of a select field in the Page Builder.

A select field in the Page Builder.

Table field

Create structured data tables with rows and columns. You can add and remove rows and columns as needed, and format the content within each cell.

A screenshot of a table field in the Page Builder.

A table field in the Page Builder.

Text field

Text field allows you to enter plain text without any formatting. It’s perfect for simple content like titles, names, or short descriptions.

A screenshot of a text field in the Page Builder.

A text field in the Page Builder.

Text fields are ideal for content that doesn’t need bold, italics, or other formatting. For formatted content, use a rich text field instead.

Timestamp field

A date and time picker that captures both the date and the exact time.

A screenshot of a timestamp field in the Page Builder.

A timestamp field in the Page Builder.

UID field

Pages often contain a UID (unique identifier) field to set the page’s URL.

The UID field has these characteristics:

  • The value must be unique to the page type and locale.
  • The value must be lowercase and cannot contain spaces. For example, about-us.
  • The value cannot contain special characters, except hyphens (-) and underscores (_).

The field will populate automatically using the page’s content if the field is left empty.

Was this page helpful?