All Projects → webkom-co → Airframe Next

webkom-co / Airframe Next

Free Open Source High Quality Dashboard based on Bootstrap 4 & React 16 + Next.js: http://airframe.nextjs.webkom.co

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Airframe Next

Coreui Free Bootstrap Admin Template
CoreUI is free bootstrap admin template
Stars: ✭ 11,038 (+7898.55%)
Mutual labels:  admin, bootstrap4, admin-dashboard
Material Dashboard
Material Dashboard - Open Source Bootstrap 5 Material Design Admin
Stars: ✭ 9,987 (+7136.96%)
Mutual labels:  admin, bootstrap4, admin-dashboard
Coreui Free React Admin Template
CoreUI React is a free React admin template based on Bootstrap 5
Stars: ✭ 3,573 (+2489.13%)
Mutual labels:  admin, bootstrap4, admin-dashboard
Coreui Angularjs
CoreUI AngularJS is free AngularJS admin template based on Bootstrap 4
Stars: ✭ 101 (-26.81%)
Mutual labels:  admin, bootstrap4, admin-dashboard
Sing App
💥Free and open-source admin dashboard template built with Bootstrap 4.5 💥
Stars: ✭ 1,187 (+760.14%)
Mutual labels:  admin, bootstrap4, admin-dashboard
Clever Bootstrap 4 Admin Template With Angularjs Angular 2 Support
Clever is Boostrap 4 Admin Template with Angular 2 and AngularJS support
Stars: ✭ 98 (-28.99%)
Mutual labels:  admin, bootstrap4, admin-dashboard
Lightning Admin Angular
A mobile first design of a responsive admin template built with angular and bootstrap
Stars: ✭ 107 (-22.46%)
Mutual labels:  admin, bootstrap4, admin-dashboard
nextjs-admin-template
Free admin dashboard template based on Next.Js with @paljs/ui component package
Stars: ✭ 266 (+92.75%)
Mutual labels:  admin, nextjs, admin-dashboard
Shards Dashboard
🔥A beautiful Bootstrap 4 admin dashboard templates pack.
Stars: ✭ 1,143 (+728.26%)
Mutual labels:  admin, bootstrap4, admin-dashboard
Root Bootstrap 4 Admin Template With Angularjs Angular 2 Support
Root is Boostrap 4 Admin Template with Angular 2 and AngularJS support
Stars: ✭ 54 (-60.87%)
Mutual labels:  admin, bootstrap4, admin-dashboard
Deskapp
DeskApp Admin is a free to use Bootstrap 4 admin template.
Stars: ✭ 296 (+114.49%)
Mutual labels:  admin, bootstrap4, admin-dashboard
Coreui Free Angular Admin Template
CoreUI Angular is free Angular 2+ admin template based on Bootstrap 4
Stars: ✭ 1,279 (+826.81%)
Mutual labels:  admin, bootstrap4, admin-dashboard
Material Kit React
React Dashboard made with Material UI’s components. Our pro template contains features like TypeScript version, authentication system with Firebase and Auth0 plus many other
Stars: ✭ 3,465 (+2410.87%)
Mutual labels:  admin, admin-dashboard, nextjs
Vali Admin
Free Bootstrap 4 admin/dashboard template
Stars: ✭ 1,391 (+907.97%)
Mutual labels:  admin, bootstrap4, admin-dashboard
Coreui Free Vue Admin Template
Open source admin template based on Bootstrap 5 and Vue 3
Stars: ✭ 2,951 (+2038.41%)
Mutual labels:  admin, bootstrap4, admin-dashboard
Ngx Admin
Customizable admin dashboard template based on Angular 10+
Stars: ✭ 23,286 (+16773.91%)
Mutual labels:  admin, bootstrap4, admin-dashboard
Notus Nextjs
Notus NextJS: Free Tailwind CSS UI Kit and Admin
Stars: ✭ 152 (+10.14%)
Mutual labels:  nextjs, admin, admin-dashboard
PlusAdmin-Free-Bootstrap-Admin-Template
Free Admin template featuring horizontal and vertical navbar. Built using Bootstrap 4.
Stars: ✭ 98 (-28.99%)
Mutual labels:  admin, admin-dashboard, bootstrap4
Sleek Dashboard
Sleek Dashboard - Free Bootstrap 4 Admin Template and UI Kit
Stars: ✭ 690 (+400%)
Mutual labels:  admin, bootstrap4, admin-dashboard
Staradmin Free Bootstrap Admin Template
A Free Responsive Admin Dashboard Template Built With Bootstrap 4. Elegant UI Theme for Your Web App!
Stars: ✭ 1,191 (+763.04%)
Mutual labels:  admin, bootstrap4, admin-dashboard

Airframe Next

High Quality Dashboard / Admin / Analytics template that works great on any smartphone, tablet or desktop. Available as Open Source as MIT license.

aiframe-2019-light-primary-ExchangeTrading2x-bfc026c1-0477-45c8-ba55-f6dd43141e4c

Introduction

Airframe Dashboard with a minimalist design and innovative Light UI will let you build an amazing and powerful application with great UI. Perfectly designed for large scale applications, with detailed step by step documentation.

This Airframe project is based on NextJs - a popular framework made for React with great Server Side Rendering support. Includes customized Reactstrap for Bootstrap support. Any topic that you won't find here is probably described in NextJs documentation.

Note: If you want to use this project in production, you will need a server supporting NodeJs.

Initial Configuration:

You need to have NodeJs (>= 10.0.0) installed on your local machine, before attempting to run a dev environment.

  1. Extract contents of the package to your local machine.
  2. Using the Terminal navigate to the extracted contents.
  3. Run npm install.

Make sure you have a file called .npmrc in the extracted directory. Those files are typically hidden in Unix based systems.

Development

To start the development environment type npm run dev in the console. This will start a development server with hot reloading enabled.

Production

You can use a shell script included with the package. If you are using a Unix based system run ./build-dist.sh from the terminal, and you will have a ready to deploy package in the /dist directory.

If you can't use the shell script you need to prepare the package manually:

  1. Run npm run build
  2. Copy those contents to the target machine
    • .next
    • static
    • package.json
    • .npmrc
  3. Run npm install on the server where you copied the above contents.
  4. You can now start the app by running npm start

Build Customization

You can add additional build features by adding next plugins and configuring them inside the next.config.js file.

Project Details

Some points of interest about the project project structure:

  • components - global React components should go here
  • styles - styles added here won't be treated as CSS Modules, so any global classes or library styles should go here
  • features - page specific components should be found here
  • features/Layout - the AppLayout component can be found here which hosts page contents within itself. You can change the Layout component for each page.
  • core/colors.js - exports an object with all of the defined colors by the Dashboard. Useful for styling JS based components - for example charts.
  • pages - Page components should be here. NextJs will automatically map the file names to Route URLs.

Routing

Route components should be placed in separate directories inside the /routes/ directory. Next you should open /routes/index.js file and attach the component. You can do this in two diffrent ways:

Static Imports

Pages imported statically will be loaded eagerly on PageLoad with all of the other content. There will be no additional loads when navigating to such pages BUT the initial app load time will also be longer. To add a statically imported page it should be done like this:

// Import the default component
import SomePage from './SomePage';
// ...
export const RoutedContent = () => {
    return (
        <Switch>
            { /* ... */ }
            { /* Define the route for a specific path */ }
            <Route path="/some-page" exact component={SomePage} />
            { /* ... */ }
        </Switch>
    );
}

Routing

Routing system is handled by NextJs itself. You can find the documentation here - NextJs Routing

Route specific Layout

Sometimes you might want to display additional content in the Navbar or the Sidebar. To do this you should define a customized Layout component for a particular Page. Example:

  1. Create a new Layout component in features/layout. Take the LayoutDefault component as an example.
  2. Open the Page Component for a particular route. For example pages/example-page.js.
  3. Set the custom Layout Component like this:
import React from 'react';

import { CustomLayout } from
    './../../features/Layout/CustomLayout';

const ExamplePage = () => (
    { /* Page Content Here */ }
);
ExamplePage.layoutComponent = CustomLayout;

export default ExamplePage;

Theming

You can set the color scheme for the sidebar and navbar by providing initialStyle and initialColor to the <ThemeProvider> component which should be wrapping the <Layout> component.

Possible initialStyle values:

  • light
  • dark
  • color

Possible initialColor values:

  • primary
  • success
  • info
  • warning
  • danger
  • indigo
  • purple
  • pink
  • yellow

Programatic Theme Changing

You can change the color scheme on runtime by using the ThemeConsumer from the components. Example:

// ...
import { ThemeContext } from './../components';
// ...
const ThemeSwitcher = () => (
    <ThemeConsumer>
        ({ onChangeTheme }) => (
            <React.Fragment>
                <Button onClick={() => onThemeChange({ style: 'light' })}>
                    Switch to Light
                </Button>
                <Button onClick={() => onThemeChange({ style: 'dark' })}>
                    Switch to Dark
                </Button>
            </React.Fragment>
        )
    </ThemeConsumer>
);

Options provided by the ThemeConsumer:

  • style - current theme style
  • color - current theme color
  • onChangeTheme({ style?, color? }) - allows to change the theme
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].