-
-
Notifications
You must be signed in to change notification settings - Fork 1
Block Patterns
Aegis ships with over 145 block patterns organized across 30 categories. Block patterns are pre-designed layouts that you can insert into any page or template and customize to fit your content.
A block pattern is a pre-arranged group of blocks that forms a complete section or layout component. Patterns accelerate page building by providing professionally designed starting points that you can modify freely after insertion.
- Click the Block Inserter (+) in the top toolbar of the editor.
- Switch to the Patterns tab.
- Browse the categories in the dropdown or search by keyword.
- Click a pattern to insert it at the current cursor position.
- Type
/in an empty block to open the quick inserter. - Start typing a pattern name or keyword.
- Select the pattern from the results.
- In the Patterns tab of the block inserter, click Explore all patterns.
- Browse the full-screen pattern explorer with previews.
- Click a pattern to insert it.
Aegis organizes its patterns into 30 categories:
| Category | Description | Typical Use |
|---|---|---|
| 404 | Page not found layouts | Error pages |
| About | About sections and pages | Company info, bios |
| Author | Author profile and bio layouts | Blog author pages |
| Blog | Blog listing and post layouts | Blog pages, post grids |
| Commerce | E-commerce product sections | Shop pages, product highlights |
| Contact | Contact forms and information | Contact pages, footer sections |
| CTA | Call-to-action sections | Conversion sections |
| Event | Event listings and details | Event pages, calendars |
| FAQ | Frequently asked questions | Support pages |
| Feature | Feature showcases and grids | Product features, services |
| Footer | Footer layouts | Site footers |
| Header | Header layouts | Site headers |
| Hero | Hero banners and landing sections | Page headers, landing pages |
| Hidden | Utility patterns not shown in inserter | Internal theme use |
| Library | General-purpose reusable sections | Various page sections |
| Logos | Logo grids and client showcases | Trust signals, partnerships |
| Modal | Modal and popup layouts | Overlays, announcements |
| Newsletter | Email signup sections | Lead generation |
| Notice | Alert and notification banners | Announcements, warnings |
| Page | Full page layouts | Complete page designs |
| Portfolio | Portfolio and project showcases | Creative portfolios |
| Pricing | Pricing tables and comparisons | SaaS, service pricing |
| Product | Product detail sections | Product showcases |
| Slider | Carousel and slider layouts | Image galleries, testimonials |
| Stats | Statistics and number highlights | Achievement sections |
| Team | Team member grids and profiles | About pages |
| Template | Template-level layouts | Template building |
| Testimonial | Reviews and testimonial sections | Social proof |
| Timeline | Chronological content layouts | Company history, roadmaps |
| Utility | Helper patterns and spacers | Layout utilities |
Once inserted, a pattern becomes regular blocks that you can fully customize:
- Change text — Click any text and edit directly.
- Replace images — Click an image and use the toolbar to replace it.
- Modify colors — Select a block and change its color settings in the sidebar.
- Adjust spacing — Use the block spacing controls to change padding and margins.
- Rearrange blocks — Drag blocks to reorder them within the pattern.
- Remove blocks — Delete any block you do not need.
- Add blocks — Insert additional blocks into the pattern structure.
All Aegis patterns are built following these principles:
- Responsive — Every pattern adapts gracefully from mobile to desktop viewports.
- Accessible — Patterns use semantic markup, proper heading hierarchy, and ARIA attributes where needed.
-
Theme-aware — Patterns use design tokens (CSS custom properties) from
theme.json, so they automatically adapt to style variations. - Lightweight — Patterns use only core blocks and Aegis custom blocks, with no external dependencies.
The Hidden category contains patterns used internally by the theme for template composition. These patterns do not appear in the block inserter but can be accessed programmatically or found in the patterns/ directory.
Patterns in the Commerce and Product categories are designed to work with WooCommerce. They include:
- Product grids with add-to-cart buttons
- Featured product showcases
- Sale banners and promotional sections
- Product category navigation
These patterns require WooCommerce to be active for full functionality.
- Select the blocks you want to save as a pattern.
- Click the Options menu (three dots) in the block toolbar.
- Select Create pattern.
- Name the pattern and optionally assign a category.
- Choose whether the pattern should be Synced (changes propagate everywhere) or Not synced (independent copies).
Developers can register patterns by creating PHP files in the patterns/ directory:
<?php
/**
* Title: My Custom Pattern
* Slug: aegis/my-custom-pattern
* Categories: feature
* Description: A custom feature section.
*/
?>
<!-- wp:group {"align":"wide"} -->
<div class="wp-block-group alignwide">
<!-- Block markup here -->
</div>
<!-- /wp:group -->When building specific types of pages, look at these categories:
| Page Type | Recommended Categories |
|---|---|
| Homepage | Hero, Feature, Testimonial, CTA, Logos, Stats |
| About Page | About, Team, Timeline, Stats |
| Services | Feature, Pricing, FAQ, CTA |
| Contact | Contact, Newsletter |
| Blog | Blog, Author |
| Portfolio | Portfolio, Slider |
| Shop | Commerce, Product, Pricing |
| Landing Page | Hero, Feature, Testimonial, CTA, Pricing |
- pattern-reference — Complete list of all pattern categories with descriptions.
- style-variations — See how patterns adapt to different style variations.
- custom-blocks — Learn about the custom blocks used in patterns.
- templates — Use patterns to build custom templates.
Aegis version 1.0.0 | GitHub Repository | Report an Issue | Atmostfear Entertainment
License: GPL-2.0-or-later