Save up to 50%! Summer Hot Sale.

   +88 01784904901   Road-10, House-29, Nikunja 2, Khilkhet, Dhaka 1229

 How to Use Layouts and Components in Next.js (Beginner-Friendly Guide)

How to Use Layouts and Components in Next.js (Beginner-Friendly Guide)

// components/Button.js

export default function Button({ text }) {

  return <button className=”px-4 py-2 bg-blue-600 text-white”>{text}</button>;

}






Close