Skip to content

Latest commit

 

History

550 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NgStarter UI

NgStarter UI components and admin templates are free and open source under the MIT License. Use, modify, and distribute them in your projects while retaining the copyright and permission notice.

NgStarter UI is an Angular component kit for admin panels and product dashboards. The component package is published as @ngstarter-ui/components and is organized around secondary entry points such as @ngstarter-ui/components/button, @ngstarter-ui/components/dialog, and @ngstarter-ui/components/table.

Installation

For a new Angular 22 project, create the app with SCSS and add NgStarter UI:

npx @angular/cli@22 new project-name --style=scss
cd project-name
npx ng add @ngstarter-ui/components

For an existing Angular 22 app, run the same schematic from your project root:

npx ng add @ngstarter-ui/components

The ng add schematic also creates NgStarter Codex guidance in AGENTS.md and installs a local Codex skill at .codex/skills/ngstarter-ui by default. To skip that setup, run:

npx ng add @ngstarter-ui/components --codex-skill=false

If NgStarter UI is already installed and you only want to add or refresh the Codex skill, run:

npx ng generate @ngstarter-ui/components:codex-skill

NgStarter components are standalone Angular components. Import each component from its secondary entry point:

import { Button } from '@ngstarter-ui/components/button';
import { Dialog } from '@ngstarter-ui/components/dialog';
import { Input } from '@ngstarter-ui/components/input';

Theming

NgStarter ships Default and Chalk themes. Import the stylesheets you make available at runtime:

@use '@ngstarter-ui/components/styles/themes/default';
@use '@ngstarter-ui/components/styles/themes/chalk';

Themes use fixed light and dark color tokens. Their main layers are:

  • primitive tokens: spacing, radius, font sizes, shadows
  • semantic tokens: --ngs-color-primary, --ngs-color-surface, --ngs-color-danger
  • component tokens: --ngs-button-height, --ngs-field-radius, --ngs-table-row-height

Configure the theme and color scheme at runtime:

import { provideNgsTheme } from '@ngstarter-ui/components/core';

export const appConfig = {
  providers: [
    provideNgsTheme({
      theme: 'default',
      colorScheme: 'auto',
      colorPreset: 'default',
    }),
  ],
};

For user display preferences, inject ThemeManagerService:

themeManager.setTheme('chalk');
themeManager.changeColorScheme('dark');

The same values can be represented with document attributes:

<html data-ngs-theme="chalk" data-ngs-color-scheme="dark">

Component Demos

The documentation site includes live demos and API examples for each component:

Forms

Navigation

Data, Layout, And Libraries

Components

About

A premium collection of high-performance, strictly-typed Angular components and templates. Built with signals, standalone components, and modern best practices.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages