TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published


Angular component to generate standardized and responsive page layout grid configurations for your web app. No need to worry about padding/margins, just set this up and start using

npm NPM

ng-page-layout is an NPM library that simplifies the process of creating page layouts with two main components: a main column and a left column. It is designed to be used with Angular applications, providing a convenient way to structure your user interfaces.

Demo: Preview 1 Preview 2 Preview 3

Table of Contents


Here's a brief overview of the available options and features of ng-page-layout:

  1. <div main-column>: element is where you should place your main content.
  2. <div right-column>: element is designed for secondary or right-aligned.


To use ng-page-layout in your Angular project, follow these steps:

  1. Install the library using npm or yarn:
npm install @commudle/ng-page-layout
# or
yarn add @commudle/ng-page-layout
  1. Import the NgPageLayoutModule into your Angular module (e.g., app.module.ts):
import { NgModule } from "@angular/core";
import { BrowserModule } from "@angular/platform-browser";
import { NgPageLayoutModule } from "@commudle/ng-page-layout";

  declarations: [
    // ...
  imports: [
    NgPageLayoutModule, // Import the NgPageLayoutModule here
  bootstrap: [AppComponent],
export class AppModule {}
  1. Start using the ng-page-layout component in your templates:
    <div main-column>
        <!-- Your main content here -->
    <div right-column>
        <!-- Your right column content here -->


This project is licensed under the MIT License - see the LICENSE file for details.

Issues and Feedback

If you encounter any issues or have suggestions for improvements, please feel free to open an issue on the GitHub repository. https://github.com/commudle/ng-page-layout/issues

We welcome contributions from the community, so if you'd like to contribute, please read our contribution guidelines.

Package Sidebar


npm i @commudle/ng-page-layout

Weekly Downloads






Unpacked Size

27.7 kB

Total Files


Last publish


  • prerna290
  • arshdeepgrover
  • ashwin-op
  • arpansac