Overview
Page templates provide:- Individual page designs from full templates
- Quick page creation with professional layouts
- Filtered by page type (Cover, Section, Quote, etc.)
- Animations included from the original template
docs/page-templates.md:1-3
Page Templates vs Story Templates
- Page Templates
- Story Templates
Individual pages applied to existing stories
- Single page at a time
- Replace current page content
- Images converted to placeholders
- Can be mixed and matched
- Applied via Page Templates pane
docs/page-templates.md:5-7
Accessing Page Templates
Page Templates Pane
Open from the library sidebar:packages/story-editor/src/components/library/paneIds.ts:23
Page Template Pane Structure
packages/story-editor/src/components/library/panes/pageTemplates/
Page Template Types
Page templates are categorized by type for easy filtering:packages/story-editor/src/components/library/panes/pageTemplates/constants.js:22-30
Page Type Descriptions
Cover
Opening pages with prominent titles and hero images. Ideal for story beginnings.
Section
Section dividers that introduce new topics or segments within the story.
Quote
Emphasized quote or testimonial pages with decorative typography.
Editorial
Content-focused layouts with text and supporting images.
List
Organized list presentations with icons or numbers.
Table
Data presentation in tabular format.
Steps
Sequential step-by-step instructions or processes.
Filtering Page Templates
Filter templates by type:Applying Page Templates
Replace a page with a template:Confirm replacement (if needed)
If the page has existing changes, confirm that you want to overwrite them.
docs/page-templates.md:29-33
Page Template Naming
Page templates are named using a combination of:- Original template name - The full story template they came from
- Page template type - The categorization (Cover, Section, etc.)
docs/page-templates.md:15
Image Placeholders
Unlike full templates, page templates replace images:Grid Placeholders
“All template images are converted to grid placeholders… a single placeholder grid image is scaled to look consistent across many image sizes.”Reference:
docs/page-templates.md:17-19
Preserving Images as Shapes
To keep images in page templates:“Shapes will not be replaced with placeholder grids when rendered as page templates and applied to pages.”Convert essential images to shapes in the template source to preserve them. Reference:
docs/page-templates.md:21-22
This design encourages users to add their own images, ensuring page templates are truly customized.
Page Template Previews
Preview page templates before applying:Preview Features
- Animations included - See entrance effects play
- Same preview mechanism - Uses the same rendering as dashboard template browsing
- Interactive preview - Hover to trigger animation playback
docs/page-templates.md:25-27
RTL Support
Previews render consistently regardless of site language:docs/page-templates.md:37-40
Creating Page Template Types
Define page types in template JSON:Setting Page Template Type
docs/page-templates.md:9-13
Omitting Pages
SetpageTemplateType to null to exclude a page from the page templates pane:
“If pageTemplateType is set to null, the page will be omitted from the page templates pane.”Reference:
docs/page-templates.md:13
Page Template Architecture
Source Files
Page templates are built from template JSON files:- Located in
packages/templates/src/raw/ - Each template folder contains
template.json - Pages with
pageTemplateTypebecome available as page templates
No Standalone Page Templates
“There are currently no mechanisms for creating page templates that are not a part of templates.”All page templates must be part of a full story template. Reference:
docs/page-templates.md:44-46
Animations in Page Templates
Page templates copy animations from the original template:Animation Behavior
- All animations copied - Entrance effects, timing, and direction preserved
- Animation previews - Play in the preview before applying
- Editable after application - Can be modified or removed after applying template
docs/page-templates.md:25-28
Modifying Applied Animations
After applying a page template:- Select an animated element
- Open the Animation panel
- Modify or remove the animation
- Changes are independent of the template
Customizing Applied Templates
After applying a page template:Replace Placeholder Images
- Upload New
- From Media Library
- Select a placeholder grid image
- Open the Media pane
- Upload or select your image
- Image replaces placeholder
Edit Text Content
- Double-click text elements to edit
- Replace placeholder text with your content
- Font styles and formatting are preserved
Adjust Colors
- Select elements to modify colors
- Use the Design panel color controls
- Apply your brand colors while keeping layout
Modify Layout
- Move elements to adjust composition
- Resize elements as needed
- Add or remove elements freely
Technical Considerations
Template Page Equality
“Page Templates are Template Pages. In order to make templates and page templates easier to maintain, page templates are built off of standard templates.”Reference:
docs/page-templates.md:42-43
Consistent Rendering
Page templates use the same rendering pipeline as full templates to ensure visual consistency.Best Practices
Choose appropriate type
Select page templates that match the content purpose (use “Cover” for opening pages, “Editorial” for content, etc.).
Use Cases
Expanding Existing Stories
Add new pages to stories you’ve already started:- Insert a “Section” page to introduce a new topic
- Add a “Quote” page to emphasize testimonials
- Use a “Steps” page for how-to content
Quick Story Creation
Build stories faster by combining page templates:- Start with a blank story
- Apply a “Cover” page template
- Add “Editorial” pages for content
- Insert “Quote” pages for emphasis
- Customize all content and images
Maintaining Brand Consistency
Create custom templates with your branding, then use page templates to ensure consistency across multiple stories.Limitations
Future Considerations
From the source documentation:“There has been consideration to make it so that some images can be passed through in Issue #6032.”This would allow certain images to persist in page templates rather than converting to placeholders. Reference:
docs/page-templates.md:23-24
Next Steps
Templates
Learn about full story templates
Creating Stories
Create and manage story pages
Media Library
Replace placeholder images with your media
Animations
Modify template animations