Docs Components Assistant

DotMatrix

React example follows below.
ts
import { DotMatrix } from "@grassroot/ui-react/assistant";
export default function DotMatrixDemo() {
return <DotMatrix variant="signal-weave" size="md" label="Thinking" speed={1.2} />;
}
ts
<script setup lang="ts">
import { DotMatrix } from "@grassroot/ui-vue/assistant";
</script>
<template>
<DotMatrix variant="signal-weave" size="md" label="Thinking" :speed="1.2" />
</template>
ts
import "./ensure-compiler";
import { ChangeDetectionStrategy, Component } from "@angular/core";
import { GrassrootAssistantDotMatrix } from "@grassroot/ui-angular/assistant";
@Component({
selector: "app-dot-matrix-demo",
standalone: true,
imports: [GrassrootAssistantDotMatrix],
changeDetection: ChangeDetectionStrategy.OnPush,
template: `<grassroot-dot-matrix variant="signal-weave" size="md" label="Thinking" [speed]="speed" />`,
})
export class DotMatrixDemoComponent {
protected readonly speed = 1.2;
}
export default DotMatrixDemoComponent;
ts
<script lang="ts">
import { DotMatrix } from "@grassroot/ui-svelte/assistant";
</script>
<DotMatrix variant="signal-weave" size="md" label="Thinking" speed={1.2} />
ts
/** @jsxImportSource solid-js */
import { DotMatrix } from "@grassroot/ui-solid/assistant";
export default function DotMatrixDemo() {
return <DotMatrix variant="signal-weave" size="md" label="Thinking" speed={1.2} />;
}

Installation

API Reference

Import

import { DotMatrix } from "@grassroot/ui-react/assistant";

Props

Prop
Type
Default
Requirement
Description
variant
"complete" | "signal-weave" | "core-breath" | "relay-loop" | "split-beat" | "pixel-rain" | "quiet-static" | "message-pulse" | "token-stream" | "tool-orbit" | "approval-gate" | "branch-bloom" | "context-ring" | "queue-wave" | "reasoning-drift" | "source-scan" | "file-upload" | "image-render" | "voice-listen" | "voice-speak" | undefined
—
optional
—
speed
number | undefined
1
optional
Animation speed multiplier.
size
"sm" | "md" | "lg" | undefined
"md"
optional
Overall scale.
label
string | undefined
"Loading"
optional
Accessible label for assistive tech.
paused
boolean | undefined
false
optional
Freeze the loader on its current frame.
Prop
variant
Type
"complete" | "signal-weave" | "core-breath" | "relay-loop" | "split-beat" | "pixel-rain" | "quiet-static" | "message-pulse" | "token-stream" | "tool-orbit" | "approval-gate" | "branch-bloom" | "context-ring" | "queue-wave" | "reasoning-drift" | "source-scan" | "file-upload" | "image-render" | "voice-listen" | "voice-speak" | undefined
Default
—
Requirement
optional
Description
—
Prop
speed
Type
number | undefined
Default
1
Requirement
optional
Description
Animation speed multiplier.
Prop
size
Type
"sm" | "md" | "lg" | undefined
Default
"md"
Requirement
optional
Description
Overall scale.
Prop
label
Type
string | undefined
Default
"Loading"
Requirement
optional
Description
Accessible label for assistive tech.
Prop
paused
Type
boolean | undefined
Default
false
Requirement
optional
Description
Freeze the loader on its current frame.

Native attributes

Standard DOM and ARIA attributes not listed above spread onto the root element.

Import

import { DotMatrix } from "@grassroot/ui-vue/assistant";

Props

Prop
Type
Default
Requirement
variant
AssistantDotMatrixVariant
"signal-weave"
optional
size
"sm" | "md" | "lg"
—
optional
label
string
—
optional
paused
boolean
—
optional
speed
number
—
optional
Prop
variant
Type
AssistantDotMatrixVariant
Default
"signal-weave"
Requirement
optional
Prop
size
Type
"sm" | "md" | "lg"
Default
—
Requirement
optional
Prop
label
Type
string
Default
—
Requirement
optional
Prop
paused
Type
boolean
Default
—
Requirement
optional
Prop
speed
Type
number
Default
—
Requirement
optional

Import

import "./ensure-compiler";
import { ChangeDetectionStrategy, Component } from "@angular/core";
import { GrassrootAssistantDotMatrix } from "@grassroot/ui-angular/assistant";

Props

Prop
Type
Default
Requirement
variant
AssistantDotMatrixVariant
"signal-weave"
optional
size
"sm" | "md" | "lg"
"md"
optional
label
string
"Loading"
optional
paused
boolean
false
optional
speed
number
—
optional
Prop
variant
Type
AssistantDotMatrixVariant
Default
"signal-weave"
Requirement
optional
Prop
size
Type
"sm" | "md" | "lg"
Default
"md"
Requirement
optional
Prop
label
Type
string
Default
"Loading"
Requirement
optional
Prop
paused
Type
boolean
Default
false
Requirement
optional
Prop
speed
Type
number
Default
—
Requirement
optional

Import

import { DotMatrix } from "@grassroot/ui-svelte/assistant";

Props

Prop
Type
Default
Requirement
variant
AssistantDotMatrixVariant
"signal-weave"
optional
size
"sm" | "md" | "lg"
"md"
optional
paused
boolean
false
optional
label
string
"Loading"
optional
speed
number
—
optional
class
string
—
optional
style
string
—
optional
Prop
variant
Type
AssistantDotMatrixVariant
Default
"signal-weave"
Requirement
optional
Prop
size
Type
"sm" | "md" | "lg"
Default
"md"
Requirement
optional
Prop
paused
Type
boolean
Default
false
Requirement
optional
Prop
label
Type
string
Default
"Loading"
Requirement
optional
Prop
speed
Type
number
Default
—
Requirement
optional
Prop
class
Type
string
Default
—
Requirement
optional
Prop
style
Type
string
Default
—
Requirement
optional

Content regions

  • children

Import

import { DotMatrix } from "@grassroot/ui-solid/assistant";

Props

Prop
Type
Default
Requirement
variant
AssistantDotMatrixVariant
—
optional
size
"sm" | "md" | "lg"
—
optional
speed
number
—
optional
label
string
—
optional
paused
boolean
—
optional
Prop
variant
Type
AssistantDotMatrixVariant
Default
—
Requirement
optional
Prop
size
Type
"sm" | "md" | "lg"
Default
—
Requirement
optional
Prop
speed
Type
number
Default
—
Requirement
optional
Prop
label
Type
string
Default
—
Requirement
optional
Prop
paused
Type
boolean
Default
—
Requirement
optional

Content regions

  • children

Native attributes

Standard DOM and ARIA attributes not listed above spread onto the root element.