@gremorie/ng-feedback
v0.4.0
Published
Feedback primitives for Angular - Spinner, Alert, Progress, Skeleton. Companion to Spartan-ng (fills the gap for Spinner; wraps Spartan brain Progress idiomatically). Part of Gremorie.
Maintainers
Readme
@gremorie/ng-feedback
Feedback primitives for Angular: Spinner, Alert, Progress, and Skeleton. A companion to Spartan-ng that fills the gap for the Spinner and wraps the Spartan brain Progress idiomatically. Part of Gremorie, an AI native design system.
Full documentation lives at gremorie.com.
Install
npm i @gremorie/ng-feedback @gremorie/ng-core @spartan-ng/brain class-variance-authorityRequires Angular 21 (@angular/core ^21.2.0). @spartan-ng/brain powers the
Progress behavior.
Styles
These primitives are styled with the Gremorie design tokens, so import the
core theme once in your global styles.css:
@import 'tailwindcss';
@import '@gremorie/ng-core/theme.css';Usage
import { Component } from '@angular/core';
import {
Alert,
AlertTitle,
AlertDescription,
Spinner,
} from '@gremorie/ng-feedback';
@Component({
selector: 'app-example',
standalone: true,
imports: [Alert, AlertTitle, AlertDescription, Spinner],
template: `
<gn-alert variant="default">
<gn-alert-title>Heads up</gn-alert-title>
<gn-alert-description>Your changes were saved.</gn-alert-description>
</gn-alert>
<gn-spinner size="sm" />
`,
})
export class ExampleComponent {}Components
Spinner(selector:gn-spinner) with theSpinnerSizetype.Alert(selector:gn-alert) withAlertTitle(gn-alert-title) andAlertDescription(gn-alert-description), plusalertVariantsand theAlertVarianttype.Progress(selector:gn-progress).Skeleton(selector:gn-skeleton).
License
MIT. See LICENSE.
