Create responsive layouts quickly with Bootstrap grid, utilities, components, and theming.
Lessons
Use Bootstrap classes and React Bootstrap components.
Bootstrap with React is easiest to learn by reading the example, changing it, and observing the result.
// React: use the className API with Bootstrap classes
export default function LessonCard({ title }) {
return (
<div className="card shadow-sm">
<div className="card-body">
<h5 className="card-title">{title}</h5>
<button className="btn btn-primary">Start</button>
</div>
</div>
);
}Practice the Bootstrap with React example in a small scratch file, then explain what changed and why.