Managing Components
Components are reusable content fragments that can be embedded within sections. They are similar to sections but designed for smaller, repeatable content patterns.
Creating a Component
Section titled “Creating a Component”- Go to CMS → Components
- Click Create
- Fill in:
Component Fields
Section titled “Component Fields”| Field | Required | Description |
|---|---|---|
| Title | Yes | Component name |
| Slug | Yes | Unique identifier |
| Description | No | Internal notes |
| Content | Yes | Content built with the content builder |
Components vs Sections
Section titled “Components vs Sections”| Feature | Section | Component |
|---|---|---|
| Size | Full page sections | Small fragments |
| Reuse | Across pages | Within sections |
| Frontend | Livewire component | Embedded content |
| Ordering | Page-level | Section-level |
Use Cases
Section titled “Use Cases”Components are ideal for:
- Call-to-action boxes
- Testimonial quotes
- Feature highlights
- Pricing cards
- Alert banners
Best Practices
Section titled “Best Practices”- Keep components small and focused
- Name them descriptively
- Document where components are used
- Don’t overuse — sections are better for page-level content