This video will be available to
subscribers on Thu, Nov 20, 2025.
You must be a subscriber to view this video.
Nov 20, 2025
20m:24s

Blade Components

Classification
Software Engineering | Frameworks | Laravel
Keywords
laravel | php

About This Episode:

In this episode, we take Blade templating to the next level by introducing Blade Components — Laravel’s elegant way to build reusable UI elements. You’ll learn how to structure your views into flexible, maintainable pieces that encapsulate both presentation and logic.

🧩 What You’ll Learn
- What Blade components are and why they matter
- The difference between Class-Based and Anonymous components
- How to pass data and props to components
- How to use slots for flexible, nested layouts
- Refactoring survey question elements into Blade components

🔗 Related Resources
- Laravel Blade Components Docs: https://laravel.com/docs/12.x/blade#components
- Laravel Anonymous Components Docs: https://laravel.com/docs/12.x/blade#anonymous-components

Previous Video: Blade Templates — Layouts & Partials → https://tekcasts.com/play/laravel-the-pragmatic-way-blade-templates-partials-layouts

📺 Up Next: Question Data Model — we’ll design the database layer to define and manage survey questions dynamically.
Bob Cravens

Bob Cravens

Your Instructor
more »
Owner
TekFoundry
Wisconsin
United States
Short Bio:
Bob Cravens is a seasoned technology leader, software architect, and educator with a passion for empowering others through practical, real-world knowledge. As the founder of TekFoundry, Bob has dedicated his career to designing and delivering innovative software solutions that combine cutting-edge technology with elegant simplicity.

At TekCasts, Bob leverages over two decades of experience in software engineering, application architecture, and team leadership to create engaging, high-impact courses for developers and technology professionals. His instructional style is rooted in practical application, offering insights drawn from his extensive background in industries like medical devices and global technology consulting.

Bob’s expertise spans a variety of technologies and methodologies, including PHP/Laravel, FastAPI, and DevOps, as well as architecture best practices and team dynamics. Whether teaching foundational concepts or advanced strategies, he’s passionate about helping others turn complex challenges into streamlined solutions.

When not crafting elegant code or inspiring the next generation of tech innovators, Bob enjoys exploring the intersection of technology, business strategy, and creative problem-solving.