Materil – Angular Material Design Admin Template
Premium Category Products
Rs1,660.00 Original price was: Rs1,660.00.Rs385.00Current price is: Rs385.00.
Materil Features
|
|
Materil - Angular Material Design Admin Template
1. Project Setup
First, ensure you have Angular and Angular Material installed:ng new materil-admin --routing
cd materil-admin
ng add @angular/material
2. App Structure
Your Angular app can be structured as follows:src/
app/
components/
dashboard/
users/
settings/
shared/
app-routing.module.ts
app.component.ts
app.module.ts
3. Main Layout
The main layout typically consists of a sidebar for navigation, a top toolbar, and a content area. app.component.html<mat-sidenav-container>
<mat-sidenav mode="side" opened>
<mat-toolbar color="primary">Materil Admin</mat-toolbar>
<mat-nav-list>
<a mat-list-item routerLink="/dashboard">Dashboard</a>
<a mat-list-item routerLink="/users">Users</a>
<a mat-list-item routerLink="/settings">Settings</a>
</mat-nav-list>
</mat-sidenav>
<mat-sidenav-content>
<mat-toolbar color="primary">
<span>Admin Panel</span>
</mat-toolbar>
<router-outlet></router-outlet>
</mat-sidenav-content>
</mat-sidenav-container>
4. Routing
Set up routing to navigate between different components. app-routing.module.tsimport { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { DashboardComponent } from './components/dashboard/dashboard.component';
import { UsersComponent } from './components/users/users.component';
import { SettingsComponent } from './components/settings/settings.component';
const routes: Routes = [
{ path: 'dashboard', component: DashboardComponent },
{ path: 'users', component: UsersComponent },
{ path: 'settings', component: SettingsComponent },
{ path: '', redirectTo: '/dashboard', pathMatch: 'full' }
];
@NgModule({
imports: [RouterModule.forRoot(routes)],
exports: [RouterModule]
})
export class AppRoutingModule {}
5. Dashboard Component
Create a simple dashboard with cards and statistics. dashboard.component.html<div class="dashboard">
<h2>Dashboard</h2>
<div class="cards">
<mat-card class="card">
<mat-card-header>
<mat-card-title>Users</mat-card-title>
</mat-card-header>
<mat-card-content>
<p>Total Users: 120</p>
</mat-card-content>
</mat-card>
<mat-card class="card">
<mat-card-header>
<mat-card-title>Sales</mat-card-title>
</mat-card-header>
<mat-card-content>
<p>Total Sales: $1500</p>
</mat-card-content>
</mat-card>
</div>
</div>
6. Users Component
Display a list of users in a table format. users.component.html<h2>Users</h2>
<mat-table [dataSource]="users">
<ng-container matColumnDef="name">
<mat-header-cell *matHeaderCellDef>Name</mat-header-cell>
<mat-cell *matCellDef="let user">{{ user.name }}</mat-cell>
</ng-container>
<ng-container matColumnDef="email">
<mat-header-cell *matHeaderCellDef>Email</mat-header-cell>
<mat-cell *matCellDef="let user">{{ user.email }}</mat-cell>
</ng-container>
<mat-header-row *matHeaderRowDef="displayedColumns"></mat-header-row>
<mat-row *matRowDef="let row; columns: displayedColumns;"></mat-row>
</mat-table>
import { Component } from '@angular/core';
@Component({
selector: 'app-users',
templateUrl: './users.component.html',
})
export class UsersComponent {
displayedColumns: string[] = ['name', 'email'];
users = [
{ name: 'John Doe', email: 'john@example.com' },
{ name: 'Jane Doe', email: 'jane@example.com' },
// Add more users as needed
];
}
7. Settings Component
Create a simple settings form. settings.component.html<h2>Settings</h2>
<form>
<mat-form-field>
<mat-label>Site Title</mat-label>
<input matInput>
</mat-form-field>
<mat-form-field>
<mat-label>Email</mat-label>
<input matInput>
</mat-form-field>
<button mat-raised-button color="primary">Save</button>
</form>
8. Styling
You can customize your styles using Angular Material's theming capabilities or by adding your own CSS styles instyles.css
.
9. Additional Features
- User Authentication: Implement user login/logout functionality.
- Charts: Use libraries like Chart.js or ng2-charts for visual data representation.
- Notifications: Add snack-bar notifications for user actions.
Conclusion
This outline provides a solid starting point for creating a functional and responsive Angular Material Design admin template. You can expand on this by adding more components, features, and customization according to your project requirements. Let me know if you need more detailed examples or specific features!(Only For Premium Category Products !)
1. All digital products are the most recent version, with no possibility of free updates. After payment, you can request an update to the most recent version for 5 days if a new version is released. We free support within 5 days.
2. If a license is required (Excludes WHMCS license , we provide only method not license), please contact us via email or ticket for assistance with activation. Our license is only valid for activation and does not include support.
3. We provide Mobile, PHP script installation services for $19.90 / ₹1700. Please create a backup after installation as we do not support re-installation. For mobile app source code, we do not offer installation services.
4. If you have any questions, please contact us by email support@gplpixel.com or create a ticket on this page
5. Please note that any digital products presented on the website do not contain malicious code, viruses or advertising. You will receive the original files from the developers. We do not sell any products that have been downloaded from other websites.
6. The response time can last up to 6 hours.
(Only For Membership Category Products !)
Benefits of our Membership Plans
- Instant access to all plugins and all themes including all future releases
- Unlimited domain usage
- Regular Updates as of when available. Usually, updates are released daily.
- Before purchasing, please read the Terms and Conditions & Refund Policy.
- If you have any questions, please first read the FAQs.
- If you haven’t found the answer to your question, please contact us, and we will respond ASAP.
- Please note that any digital products on the website do not contain malicious code, viruses, or advertising. We buy the original files from the developers. We do not sell any products downloaded from other sites.
- Buy or download for FREE by subscribing to our VIP Membership Plan. Join the club of more than 1100+ happy members. This is the same theme as sold by the developer.
Updates:
- We offer frequent updates for one year from the date of purchase. After this period, you have to purchase the item again to receive further updates, we also offer lifetime updates as a second option.
- We regularly update products as soon as we are notified about an update, we go and download it from the author and update it on our site, but In case the current version of the product is not the latest, You can request an update for the product by contact form.
- We send regular emails advising when products have been updated so please be sure to provide an active email address when you sign up.
Support:
- Our support team is available 24/7, if you have any questions or need help in installing or configuring digital products purchased on the website, please don’t hesitate to contact form.
- Please note that we are not developers of the provided products, so our technical support capabilities are limited. We do not change product functionality and do not fix developer bugs.
(Only For WHMCS Category Products !)
- We Only provide WHMCS Module, how you can nulled any module step only !
- Instant access to all plugins and all themes
- Unlimited domain usage
- Regular Updates as of when available. Usually, updates are released daily.
- Before purchasing, please read the Terms and Conditions & Refund Policy.
- If you have any questions, please first read the FAQs.
- If you haven’t found the answer to your question, please contact us, and we will respond ASAP.
- Please note that any digital products on the website do not contain malicious code, viruses, or advertising. We buy the original files from the developers. We do not sell any products downloaded from other sites.