# Angular StampDesigner Component

StampDesigner creates a company or official rubber stamp: type the texts, pick a round, oval or rectangular shape, a border and an ink, see a live preview and download a PNG or an SVG. Stamp draws the saved stamp anywhere, on the server too, with no dependency.

## Basic

StampDesigner is bound with ngModel . Type the texts, add, remove and reorder the centre lines, pick a shape, a border, a font and an ink, and the preview follows. The value is a StampConfig , a plain object you can store as JSON and give back to the designer or to a p-stamp . Start from one of the templates, or from scratch. Everything is drawn in SVG, with no dependency and no font to download.

```typescript
import { Component } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { StampConfig, StampDesignerModule } from '@exhaustive-ui/core/stampdesigner';

@Component({
    template: `
        <div class="card">
            <p-stamp-designer [(ngModel)]="stamp" />
        </div>
    `,
    standalone: true,
    imports: [FormsModule, StampDesignerModule]
})
export class StampdesignerBasicDemo {
    stamp: StampConfig = {
        shape: 'round',
        topText: 'ACME SAS',
        bottomText: 'PARIS',
        lines: ['ACME', 'Reg. No. 000 000 000'],
        color: 'blue'
    };
}
```

## Stamp Alone

p-stamp draws a stamp from a StampConfig , without the form: show the stamp saved by the designer on an invoice, a quote or a contract. It renders on the server, scales with its width, and is an image named with its texts for screen readers.

```typescript
import { Component } from '@angular/core';
import { StampConfig, StampDesignerModule } from '@exhaustive-ui/core/stampdesigner';

@Component({
    template: `
        <div class="card flex justify-center">
            <div class="w-full max-w-xl rounded-md border border-surface p-6 flex flex-col gap-4 bg-surface-0 dark:bg-surface-900">
                <div class="flex justify-between gap-4 flex-wrap">
                    <div>
                        <p class="m-0 font-semibold text-lg">ACME SAS</p>
                        <p class="m-0 text-sm text-muted-color">1 Example Street, 75000 Paris</p>
                    </div>
                    <div class="text-end">
                        <p class="m-0 font-semibold">Invoice INV-0042</p>
                        <p class="m-0 text-sm text-muted-color">2 December 2026</p>
                    </div>
                </div>
                <table class="w-full text-sm border-collapse">
                    <caption class="sr-only">
                        Invoice lines
                    </caption>
                    <thead>
                        <tr class="border-b border-surface">
                            <th scope="col" class="text-start py-2">Item</th>
                            <th scope="col" class="text-end py-2">Amount</th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr class="border-b border-surface">
                            <td class="py-2">Consulting, 3 days</td>
                            <td class="text-end py-2">1,800.00</td>
                        </tr>
                        <tr>
                            <td class="py-2 font-semibold">Total</td>
                            <td class="text-end py-2 font-semibold">1,800.00</td>
                        </tr>
                    </tbody>
                </table>
                <div class="flex justify-end">
                    <p-stamp [value]="paid" style="width: 10rem" />
                </div>
            </div>
        </div>
    `,
    standalone: true,
    imports: [StampDesignerModule]
})
export class StampdesignerStampDemo {
    paid: StampConfig = {
        shape: 'round',
        topText: 'ACME SAS',
        bottomText: 'ACCOUNTS',
        lines: ['PAID'],
        date: '2026-12-02',
        dateLabel: 'on {date}',
        color: 'red',
        rotation: -8,
        texture: true
    };
}
```

## Shapes and Borders

shape is 'round' , 'oval' or 'rectangle' . borderStyle is 'single' , 'double' or 'dashed' , borderWidth goes from 1 to 8, and cornerRadius rounds the corners of a rectangle, whose height follows its lines. A round or oval stamp has a ring between the curved texts and the centre, removed with innerBorder set to false .

```typescript
import { Component } from '@angular/core';
import { StampConfig, StampDesignerModule } from '@exhaustive-ui/core/stampdesigner';

@Component({
    template: `
        <div class="card flex flex-wrap justify-center items-center gap-8">
            <p-stamp [value]="round" />
            <p-stamp [value]="oval" style="width: 14rem" />
            <p-stamp [value]="rectangle" style="width: 15rem" />
        </div>
    `,
    standalone: true,
    imports: [StampDesignerModule]
})
export class StampdesignerShapesDemo {
    round: StampConfig = { shape: 'round', topText: 'ACME SAS', bottomText: 'PARIS', lines: ['ACME'], borderStyle: 'double' };

    oval: StampConfig = { shape: 'oval', topText: 'ACME SAS', bottomText: 'LOGISTICS', lines: ['SHIPPED'], borderStyle: 'single', borderWidth: 2.5, separator: 'dot' };

    rectangle: StampConfig = {
        shape: 'rectangle',
        topText: 'ACME SAS',
        lines: ['1 Example Street', '75000 Paris', 'Reg. No. 000 000 000'],
        borderStyle: 'dashed',
        borderWidth: 2,
        cornerRadius: 14,
        separator: 'none'
    };
}
```

## Curved Texts and Fitting

topText follows the top arc and bottomText the bottom arc, read from left to right, with a separator between them: 'star' , 'dot' , 'diamond' or 'none' . The texts fit their room: a long curved text gets a smaller font, a long centre line shrinks to the width of the circle at its height, and many lines shrink together. The size is the same on the server and in every browser, so no text ever overflows. textScale makes the automatic sizes larger or smaller, and topFontSize , centerFontSize and bottomFontSize set them, still within the room they have. The date line shows an ISO date in dateFormat , with dateLabel around it, like "Received on {{ '{' }}date{{ '}' }}". Arabic and Hebrew texts keep their reading order. fontFamily picks one of the system fonts of STAMP_FONTS , or any CSS font family.

```typescript
import { Component } from '@angular/core';
import { StampConfig, StampDesignerModule } from '@exhaustive-ui/core/stampdesigner';

@Component({
    template: `
        <div class="card flex flex-wrap justify-center items-center gap-8">
            <p-stamp [value]="long" />
            <p-stamp [value]="dated" style="width: 14rem" />
            <p-stamp [value]="rtl" />
        </div>
    `,
    standalone: true,
    imports: [StampDesignerModule]
})
export class StampdesignerTextsDemo {
    long: StampConfig = {
        topText: 'ACME INTERNATIONAL TRADING COMPANY',
        bottomText: 'EST. 1999',
        lines: ['ACME', '1 Example Street, 75000 Paris', 'Reg. No. 000 000 000'],
        separator: 'diamond',
        fontFamily: 'serif',
        color: 'violet'
    };

    dated: StampConfig = { shape: 'oval', topText: 'RECEIVED', bottomText: 'ACME SAS', date: '2026-12-02', dateLabel: 'on {date}', dateFormat: 'd MMM yyyy', separator: 'star', fontFamily: 'mono' };

    rtl: StampConfig = { topText: 'شركة أكمي', bottomText: 'باريس', lines: ['مدفوع'], color: 'green', separator: 'dot' };
}
```

## Colors and Texture

color is an ink preset, 'blue' , 'red' , 'black' , 'green' or 'violet' , or a hexadecimal, rgb() or hsl() color; any other value falls back to blue. The ink is data, not theme: it stays the same in the dark color scheme. opacity and rotation give a hand-applied look, and texture wears the ink with an SVG filter, whose pattern comes from textureSeed : the same stamp always looks the same, on the screen, on the server and in the exports.

```typescript
import { Component } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { SliderModule } from '@exhaustive-ui/core/slider';
import { StampConfig, StampDesignerModule } from '@exhaustive-ui/core/stampdesigner';
import { ToggleSwitchModule } from '@exhaustive-ui/core/toggleswitch';

@Component({
    template: `
        <div class="card flex flex-col md:flex-row gap-8 items-center justify-center">
            <div class="flex flex-wrap justify-center gap-6">
                @for (ink of inks; track ink) {
                    <p-stamp [value]="stampOf(ink)" style="width: 8rem" />
                }
            </div>
            <div class="flex flex-col gap-4 w-full md:w-64">
                <div class="flex items-center gap-2">
                    <p-toggle-switch inputId="ink-texture" [(ngModel)]="texture" />
                    <label for="ink-texture">Worn ink</label>
                </div>
                <div class="flex flex-col gap-3">
                    <span id="ink-wear">Wear: {{ intensity }}%</span>
                    <p-slider [(ngModel)]="intensity" [min]="0" [max]="100" ariaLabelledBy="ink-wear" />
                </div>
                <div class="flex flex-col gap-3">
                    <span id="ink-rotation">Rotation: {{ rotation }}°</span>
                    <p-slider [(ngModel)]="rotation" [min]="-30" [max]="30" ariaLabelledBy="ink-rotation" />
                </div>
            </div>
        </div>
    `,
    standalone: true,
    imports: [FormsModule, StampDesignerModule, SliderModule, ToggleSwitchModule]
})
export class StampdesignerInkDemo {
    inks = ['blue', 'red', 'black', 'green', 'violet', '#b45309'];

    texture = true;

    intensity = 50;

    rotation = -6;

    stampOf(color: string): StampConfig {
        return { topText: 'ACME SAS', bottomText: 'ARCHIVES', lines: ['FILED'], color, texture: this.texture, textureIntensity: this.intensity / 100, textureSeed: color.length, rotation: this.rotation };
    }
}
```

## Templates

The designer starts from the templates of STAMP_TEMPLATES : a company stamp, Paid, Received, Approved and Confidential, with neutral example data. A dated template gets the date of the day. Give your own list to templates , each with an id , a label and a config , or hide them with showTemplates set to false .

```typescript
import { Component } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { STAMP_TEMPLATES, StampConfig, StampDesignerModule, StampTemplate } from '@exhaustive-ui/core/stampdesigner';

@Component({
    template: `
        <div class="card flex flex-col gap-6">
            <div class="flex flex-wrap justify-center items-center gap-6">
                @for (template of builtIn; track template.id) {
                    <p-stamp [value]="template.config" [style.width]="template.config.shape === 'round' ? '8rem' : '11rem'" />
                }
            </div>
            <p-stamp-designer [(ngModel)]="stamp" [templates]="custom" ariaLabel="Stamp designer with custom templates" />
        </div>
    `,
    standalone: true,
    imports: [FormsModule, StampDesignerModule]
})
export class StampdesignerTemplatesDemo {
    builtIn = STAMP_TEMPLATES.map((template) => ({ ...template, config: { ...template.config, date: template.dated ? '2026-12-02' : null } }));

    custom: StampTemplate[] = [
        { id: 'draft', label: 'Draft', config: { shape: 'rectangle', lines: ['DRAFT'], color: 'black', borderStyle: 'dashed', rotation: -10, separator: 'none' } },
        { id: 'copy', label: 'Copy', config: { shape: 'rectangle', lines: ['COPY'], color: 'violet', borderStyle: 'single', separator: 'none' } },
        { id: 'checked', label: 'Checked', dated: true, config: { shape: 'oval', topText: 'CHECKED', bottomText: 'ACME SAS', color: 'green', separator: 'star' } }
    ];

    stamp: StampConfig = { shape: 'rectangle', lines: ['DRAFT'], color: 'black', borderStyle: 'dashed', rotation: -10, separator: 'none' };
}
```

## Export

The download buttons of the designer save a PNG with a transparent background and an SVG, exportSize pixels wide (512 by default) and drawn at exportScale times the pixel density (2 by default) for sharp prints; filename names the files and onExport gives the data URL. The same methods exist on p-stamp and p-stamp-designer : toSVG() returns the SVG document, also on the server, toDataURL(type, options) and toBlob(type, options) give a PNG or an SVG to upload, and download(...) saves a file. stampToSVG() , stampToDataURL() and stampToBlob() do it without a component, from a StampConfig .

```typescript
import { Component, signal, viewChild } from '@angular/core';
import { ButtonModule } from '@exhaustive-ui/core/button';
import { Stamp, StampConfig, StampDesignerModule, stampToSVG } from '@exhaustive-ui/core/stampdesigner';

@Component({
    template: `
        <div class="card flex flex-col items-center gap-4">
            <p-stamp #exportStamp [value]="stamp" style="width: 11rem" />
            <div class="flex flex-wrap justify-center gap-2">
                <p-button label="Download PNG" severity="secondary" outlined (onClick)="downloadPng()" />
                <p-button label="Download SVG" severity="secondary" outlined (onClick)="downloadSvg()" />
                <p-button label="Upload as PNG" severity="secondary" outlined (onClick)="upload()" />
            </div>
            @if (message(); as text) {
                <p class="m-0 text-sm text-muted-color" aria-live="polite">{{ text }}</p>
            }
        </div>
    `,
    standalone: true,
    imports: [ButtonModule, StampDesignerModule]
})
export class StampdesignerExportDemo {
    stampRef = viewChild.required<Stamp>('exportStamp');

    message = signal<string | null>(null);

    stamp: StampConfig = { shape: 'oval', topText: 'APPROVED', bottomText: 'ACME SAS', date: '2026-12-02', color: 'green', rotation: 3 };

    downloadPng() {
        this.stampRef().download('approved', 'png', { size: 512, scale: 2 });
    }

    downloadSvg() {
        this.stampRef().download('approved', 'svg');
    }

    async upload() {
        const blob = await this.stampRef().toBlob('png', { size: 512 });
        // const body = new FormData();
        // body.append('stamp', blob, 'stamp.png');
        // await fetch('/api/stamps', { method: 'POST', body });
        this.message.set(`Ready to upload: a PNG of ${Math.round(blob.size / 1024)} KB. The SVG is ${stampToSVG(this.stamp).length} characters long.`);
    }
}
```

## Forms: Template Driven

The value is null until the user designs a stamp, so required means "a stamp was designed", as on the other fields. Resetting the form brings the designer back to its defaults.

```typescript
import { Component, inject } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { MessageService } from '@exhaustive-ui/core/api';
import { ButtonModule } from '@exhaustive-ui/core/button';
import { MessageModule } from '@exhaustive-ui/core/message';
import { StampConfig, StampDesignerModule } from '@exhaustive-ui/core/stampdesigner';
import { ToastModule } from '@exhaustive-ui/core/toast';

@Component({
    template: `
        <p-toast />
        <div class="card">
            <form #exampleForm="ngForm" (ngSubmit)="onSubmit(exampleForm)" class="flex flex-col gap-4">
                <span id="company-stamp-label" class="font-medium">Stamp of the company</span>
                <p-stamp-designer #model="ngModel" [(ngModel)]="stamp" name="stamp" ariaLabelledBy="company-stamp-label" [showExport]="false" [invalid]="model.invalid && exampleForm.submitted" required />
                @if (model.invalid && exampleForm.submitted) {
                    <p-message severity="error" size="small" variant="simple">Design the stamp of the company.</p-message>
                }
                <button pButton severity="secondary" type="submit" class="self-start"><span pButtonLabel>Submit</span></button>
            </form>
        </div>
    `,
    standalone: true,
    imports: [FormsModule, StampDesignerModule, ToastModule, MessageModule, ButtonModule],
    providers: [MessageService]
})
export class StampdesignerTemplatedrivenformsDemo {
    messageService = inject(MessageService);

    stamp: StampConfig | null = null;

    onSubmit(form: any) {
        if (form.valid) {
            this.messageService.add({ severity: 'success', summary: 'Success', detail: 'Form Submitted', life: 3000 });
            form.resetForm();
        }
    }
}
```

## Reactive Forms

StampDesigner can also be used with reactive forms, through formControlName . The value is a StampConfig : a validator can check it, here with stampTexts() , which lists the texts of a stamp. Disabling the control disables every field.

```typescript
import { Component, inject } from '@angular/core';
import { AbstractControl, FormBuilder, FormGroup, ReactiveFormsModule, ValidationErrors } from '@angular/forms';
import { MessageService } from '@exhaustive-ui/core/api';
import { ButtonModule } from '@exhaustive-ui/core/button';
import { MessageModule } from '@exhaustive-ui/core/message';
import { StampConfig, StampDesignerModule, stampTexts } from '@exhaustive-ui/core/stampdesigner';
import { ToastModule } from '@exhaustive-ui/core/toast';

/** A stamp needs a name: a top text or a first centre line. */
function stampNamed(control: AbstractControl<StampConfig | null>): ValidationErrors | null {
    return control.value && stampTexts(control.value).length ? null : { unnamed: true };
}

@Component({
    template: `
        <p-toast />
        <div class="card">
            <form [formGroup]="exampleForm" (ngSubmit)="onSubmit()" class="flex flex-col gap-4">
                <span id="received-stamp-label" class="font-medium">Stamp for the received mail</span>
                <p-stamp-designer formControlName="stamp" ariaLabelledBy="received-stamp-label" [showTemplates]="false" [showExport]="false" size="small" [invalid]="isInvalid('stamp')" />
                @if (isInvalid('stamp')) {
                    <p-message severity="error" size="small" variant="simple">Give the stamp a text.</p-message>
                }
                <button pButton severity="secondary" type="submit" class="self-start"><span pButtonLabel>Submit</span></button>
            </form>
        </div>
    `,
    standalone: true,
    imports: [ReactiveFormsModule, StampDesignerModule, ToastModule, MessageModule, ButtonModule],
    providers: [MessageService]
})
export class StampdesignerReactiveformsDemo {
    private fb = inject(FormBuilder);

    messageService = inject(MessageService);

    exampleForm: FormGroup;

    formSubmitted: boolean = false;

    constructor() {
        this.exampleForm = this.fb.group({
            stamp: [{ shape: 'oval', topText: '', bottomText: 'ACME SAS', date: '2026-12-02', dateLabel: 'Received {date}', color: 'blue' } as StampConfig, stampNamed]
        });
    }

    onSubmit() {
        this.formSubmitted = true;
        if (this.exampleForm.valid) {
            this.messageService.add({ severity: 'success', summary: 'Success', detail: 'Form is submitted', life: 3000 });
            this.formSubmitted = false;
        }
    }

    isInvalid(controlName: string) {
        const control = this.exampleForm.get(controlName);
        return control?.invalid && (control.touched || this.formSubmitted);
    }
}
```

## Signal Forms

StampDesigner can also be used with Angular Signal Forms . The [formField] directive binds the designer to a field holding the StampConfig ; a p-stamp elsewhere in the page can show the same field.

```typescript
import { Component, inject, signal } from '@angular/core';
import { form, FormField, required, submit } from '@angular/forms/signals';
import { MessageService } from '@exhaustive-ui/core/api';
import { ButtonModule } from '@exhaustive-ui/core/button';
import { MessageModule } from '@exhaustive-ui/core/message';
import { StampConfig, StampDesignerModule } from '@exhaustive-ui/core/stampdesigner';
import { ToastModule } from '@exhaustive-ui/core/toast';

@Component({
    template: `
        <p-toast />
        <div class="card">
            <form novalidate (submit)="onSubmit($event)" class="flex flex-col gap-4">
                <span id="approval-stamp-label" class="font-medium">Approval stamp</span>
                <p-stamp-designer [formField]="stampForm.stamp" ariaLabelledBy="approval-stamp-label" [showExport]="false" />
                @let stamp = stampForm.stamp();
                @if (stamp.invalid() && stamp.touched()) {
                    <p-message severity="error" size="small" variant="simple">Design the approval stamp.</p-message>
                }
                <button pButton severity="secondary" type="submit" class="self-start"><span pButtonLabel>Submit</span></button>
            </form>
        </div>
    `,
    standalone: true,
    imports: [FormField, StampDesignerModule, ButtonModule, ToastModule, MessageModule],
    providers: [MessageService]
})
export class StampdesignerSignalformsDemo {
    messageService = inject(MessageService);

    model = signal<{ stamp: StampConfig | null }>({ stamp: { topText: 'ACME SAS', bottomText: 'QUALITY CONTROL', lines: ['APPROVED'], color: 'green' } });

    stampForm = form(this.model, (f) => {
        required(f.stamp);
    });

    onSubmit(event: Event) {
        event.preventDefault();
        submit(this.stampForm, async () => {
            this.messageService.add({ severity: 'success', summary: 'Success', detail: 'Form is submitted', life: 3000 });
        });
    }
}
```

## Accessibility

Screen Reader p-stamp is an image named with its texts in reading order, "Stamp: ACME SAS, PAID, on 02/12/2026, ACCOUNTS", or by ariaLabel ; the SVG inside is hidden. A stamp that only decorates a page takes decorative , which hides it from assistive technologies. The designer is a group named "Stamp designer", or by ariaLabel or ariaLabelledBy , made of fieldsets with a legend. Every field has a visible label: the text fields and lists through for , the select buttons, sliders and ink colors through aria-labelledby . The ink colors follow the radio group pattern, each named by its color. Every centre line is labelled "Line 1", "Line 2"..., and its buttons "Move line 2 up", "Move line 2 down" and "Remove line 2"; a polite live region announces the lines added, removed and moved, the template applied and the file downloaded, and the focus stays on the moved line. The preview is the p-stamp image, whose name follows the texts. Every text can be translated with labels .

## Pass Through Options

| Name | Type | Description |
|------|------|-------------|
| root | PassThroughOption<HTMLElement, I> | Used to pass attributes to the root's DOM element. |
| svg | PassThroughOption<SVGSVGElement, I> | Used to pass attributes to the SVG element. |

## Theming

### CSS Classes

| Class | Description |
|-------|-------------|
| p-stampdesigner | Class name of the root element |
| p-stampdesigner-content | Class name of the element that lays out the form and the preview |
| p-stampdesigner-form | Class name of the form |
| p-stampdesigner-section | Class name of a group of fields |
| p-stampdesigner-legend | Class name of the legend of a group of fields |
| p-stampdesigner-field | Class name of a field |
| p-stampdesigner-label | Class name of the label of a field |
| p-stampdesigner-templates | Class name of the list of the templates |
| p-stampdesigner-line-list | Class name of the list of the centre lines |
| p-stampdesigner-line-item | Class name of a centre line |
| p-stampdesigner-line-button | Class name of the buttons of a centre line |
| p-stampdesigner-add-button | Class name of the add line button |
| p-stampdesigner-swatches | Class name of the group of the ink colors |
| p-stampdesigner-swatch | Class name of an ink color |
| p-stampdesigner-aside | Class name of the column of the preview |
| p-stampdesigner-preview | Class name of the preview |
| p-stampdesigner-exports | Class name of the group of the export buttons |
| p-stampdesigner-export-button | Class name of an export button |
| p-stamp | Class name of the root element of Stamp |
| p-stamp-svg | Class name of the SVG element of Stamp |

### Design Tokens

| Token | CSS Variable | Description |
|-------|--------------|-------------|
| stampdesigner.gap | --p-stampdesigner-gap | Gap between the form and the preview |
| stampdesigner.color | --p-stampdesigner-color | Text color of the component |
| stampdesigner.transition.duration | --p-stampdesigner-transition-duration | Transition duration of the component |
| stampdesigner.disabled.opacity | --p-stampdesigner-disabled-opacity | Opacity of the disabled buttons and preview |
| stampdesigner.form.gap | --p-stampdesigner-form-gap | Gap between the groups of fields |
| stampdesigner.section.gap | --p-stampdesigner-section-gap | Gap between the fields of a group |
| stampdesigner.legend.color | --p-stampdesigner-legend-color | Text color of the legend of a group |
| stampdesigner.legend.font.size | --p-stampdesigner-legend-font-size | Font size of the legend of a group |
| stampdesigner.legend.font.weight | --p-stampdesigner-legend-font-weight | Font weight of the legend of a group |
| stampdesigner.field.gap | --p-stampdesigner-field-gap | Gap between the label and the control of a field |
| stampdesigner.field.inline.gap | --p-stampdesigner-field-inline-gap | Gap between the items of a row, like a switch and its label |
| stampdesigner.label.color | --p-stampdesigner-label-color | Text color of a label |
| stampdesigner.label.font.size | --p-stampdesigner-label-font-size | Font size of a label |
| stampdesigner.label.font.weight | --p-stampdesigner-label-font-weight | Font weight of a label |
| stampdesigner.hint.color | --p-stampdesigner-hint-color | Text color of the hints, line numbers and slider values |
| stampdesigner.hint.font.size | --p-stampdesigner-hint-font-size | Font size of the hints, line numbers and slider values |
| stampdesigner.line.gap | --p-stampdesigner-line-gap | Gap between the parts of a centre line |
| stampdesigner.line.label.width | --p-stampdesigner-line-label-width | Minimum width of the name of a centre line |
| stampdesigner.line.button.size | --p-stampdesigner-line-button-size | Size of the buttons of a centre line |
| stampdesigner.line.button.border.radius | --p-stampdesigner-line-button-border-radius | Border radius of the buttons of a centre line |
| stampdesigner.line.button.color | --p-stampdesigner-line-button-color | Color of the buttons of a centre line |
| stampdesigner.line.button.hover.color | --p-stampdesigner-line-button-hover-color | Color of the buttons of a centre line on hover |
| stampdesigner.line.button.hover.background | --p-stampdesigner-line-button-hover-background | Background of the buttons of a centre line on hover |
| stampdesigner.line.button.icon.size | --p-stampdesigner-line-button-icon-size | Icon size of the buttons of a centre line |
| stampdesigner.line.button.focus.ring.width | --p-stampdesigner-line-button-focus-ring-width | Focus ring width of the buttons of a centre line |
| stampdesigner.line.button.focus.ring.style | --p-stampdesigner-line-button-focus-ring-style | Focus ring style of the buttons of a centre line |
| stampdesigner.line.button.focus.ring.color | --p-stampdesigner-line-button-focus-ring-color | Focus ring color of the buttons of a centre line |
| stampdesigner.line.button.focus.ring.offset | --p-stampdesigner-line-button-focus-ring-offset | Focus ring offset of the buttons of a centre line |
| stampdesigner.line.button.focus.ring.shadow | --p-stampdesigner-line-button-focus-ring-shadow | Focus ring shadow of the buttons of a centre line |
| stampdesigner.swatch.size | --p-stampdesigner-swatch-size | Size of an ink color |
| stampdesigner.swatch.gap | --p-stampdesigner-swatch-gap | Gap between the ink colors |
| stampdesigner.swatch.border.color | --p-stampdesigner-swatch-border-color | Border color of an ink color |
| stampdesigner.swatch.checked.gap.color | --p-stampdesigner-swatch-checked-gap-color | Color of the gap between the selected ink color and its ring |
| stampdesigner.swatch.checked.ring.color | --p-stampdesigner-swatch-checked-ring-color | Color of the ring of the selected ink color |
| stampdesigner.swatch.focus.ring.width | --p-stampdesigner-swatch-focus-ring-width | Focus ring width of an ink color |
| stampdesigner.swatch.focus.ring.style | --p-stampdesigner-swatch-focus-ring-style | Focus ring style of an ink color |
| stampdesigner.swatch.focus.ring.color | --p-stampdesigner-swatch-focus-ring-color | Focus ring color of an ink color |
| stampdesigner.swatch.focus.ring.offset | --p-stampdesigner-swatch-focus-ring-offset | Focus ring offset of an ink color |
| stampdesigner.aside.gap | --p-stampdesigner-aside-gap | Gap between the preview and the export buttons |
| stampdesigner.aside.top | --p-stampdesigner-aside-top | Distance from the top of the viewport of the sticky preview on wide screens |
| stampdesigner.preview.padding | --p-stampdesigner-preview-padding | Padding of the preview |
| stampdesigner.preview.min.height | --p-stampdesigner-preview-min-height | Minimum height of the preview |
| stampdesigner.preview.background | --p-stampdesigner-preview-background | Background color of the paper of the preview |
| stampdesigner.preview.grain.color | --p-stampdesigner-preview-grain-color | Color of the grain of the paper of the preview |
| stampdesigner.preview.border.color | --p-stampdesigner-preview-border-color | Border color of the preview |
| stampdesigner.preview.invalid.border.color | --p-stampdesigner-preview-invalid-border-color | Border color of the preview when the component is invalid |
| stampdesigner.preview.border.radius | --p-stampdesigner-preview-border-radius | Border radius of the preview |
| stampdesigner.preview.shadow | --p-stampdesigner-preview-shadow | Shadow of the preview |
| stampdesigner.preview.stamp.max.width | --p-stampdesigner-preview-stamp-max-width | Maximum width of the stamp in the preview |
| stampdesigner.stamp.width | --p-stampdesigner-stamp-width | Default width of a Stamp component |

