Components

Seal

Rosettes, scalloped seals, medals, ringed seals with rim lettering and wax seals, drawn like the stickers without the white edge. Use one as a verified mark beside a name, an award on a card, or the stamp of approval on a certificate.

Install

terminal
npx shadcn@latest add @wobko/seal

First time here? Add the registry to components.json first. How to install

Examples

Seals

A scalloped seal, a starburst, a rosette with a ribbon hanging from it, a medal, a shield, a plate and a tag: one generator, eight shapes, any stationery color.

Marks, rings and wax

A hand-drawn check or star takes the place of the words (it survives at 16 px where letters do not). A ringed seal carries lettering round its rim. Wax takes an initial, a check or a star.

Verified, awarded, sealed

In ordinary UI: a verified mark beside a name at 20 px, a best-seller seal pinned to a card corner, and a certificate with a rosette, a ringed seal and a wax seal.

API reference

Seal

Intrinsic art: an svg whose size is its `size`, complete in server markup, named by its words. Made by the badge generator plus a ringed seal and wax; the pens, the solid fills and the grain are the sticker library's.

PropTypeDefaultDescription
variant"scallop" | "starburst" | "rosette" | "medal" | "shield" | "plate" | "ticket" | "tag" | "ring" | "wax""scallop"The shape. Rosette and medal hang a ribbon; ring letters its rim; wax is a blob of sealing wax with an impression.
textstring-The words in the middle: about 6 letters at 64 px, 10 at 96 (one or two initials on wax). Capitals are set for you.
substring-A smaller second line (from 96 px up; dropped in the small redraw). Leave it off a rosette or a medal: their ribbons hang across that line. A ticket is one line (it has no room for a second and ignores `sub`).
mark"check" | "star"-A hand-drawn glyph instead of the words. It holds at 16 px where letters do not, so it is what a verified badge should use.
tonePaintKey"bubblegum" (wax: "red")The color: a stationery accent, or red, ink-you, green for wax. Ink on tomato and grape reaches 3.95:1: large text only.
ribbonPaintKey"tomato"Color of the hanging ribbon of a rosette or a medal.
ringstring-Lettering all the way round the rim of a ring seal, repeated to close the circle (from 72 px up).
deco"tick" | "star" | "sparkle" | "swoosh" | "percent"-The generator's small decoration (from 96 px up).
sizenumber96Pixels across. Below 80 the small redraw is used.
tiltnumber | "auto"0Degrees, or a small seeded tilt.
tier"lo" | "hi"-Drawing quality: the provider's (lo) by default; hi for hero art costs about three times the markup.
shadowbooleantrueThe soft drop shadow (a CSS filter).
label / decorativestring / boolean-Accessible name (default: the words, "Verified" for a check, "Award" for a star), or hide it when the text beside it says the same.
seedstring | number-Pins the hand.

Accessibility

  • The svg is role="img" named by its words; give `label` for the meaning ("Identity verified") and `decorative` when the surrounding text already says it.
  • A drawn check or star reads at 16 px, but never carry a status by the seal alone: put the word in the DOM next to it or in `label`.
  • Windows high contrast keeps the seal (intrinsic art).
  • The ring lettering is decoration inside the image; the name is what a screen reader gets.

Source

The files the CLI copies into your project.

Loading the source