chrome:shell.skip

generated:catalog.entry.shimmer.title

generated:catalog.entry.shimmer.description

@xngui/components/shimmer
@xngui/components/shimmer

chrome:demo.section

chrome:demo.preview

Generating response…
demo-preview:hints.category.assistive:
TipSR
import { Component } from '@angular/core';
import { XShimmer } from '@xngui/components/shimmer';
 
@Component({
selector: 'app-example',
imports: [XShimmer],
templateUrl: './shimmer.component.html',
})
export class ExampleComponent {}

chrome:demo.events.title

chrome:demo.events.empty

chrome:demo.api.title

x-shimmer

chrome:demo.api.col.property
chrome:demo.api.col.type
chrome:demo.api.col.default
chrome:demo.api.col.description
text
string
''
Visible string — omit to project default slot content.
active
boolean
true
Applies the shimmer sweep; when `false`, renders plain text.
duration
number
2000
Duration of one highlight sweep in milliseconds.
color
string
—
Highlight color; falls back to a mix derived from `currentColor` when unset.
spread
string
X_SHIMMER_DEFAULT_SPREAD
Width of the highlight band.
angle
number
20
Tilt of the highlight band in degrees.
reverse
boolean
false
Sweeps the highlight in the opposite direction.
once
boolean
false
Plays a single sweep instead of looping.