A digital authenticity stamp for Desktop and Mobile. Supports Saudi domain extensions (gov.sa, edu.sa, med.sa, org.sa, sch.sa, .sa) and RTL layout. Click the stamp to expand and view verification details.
Loading demo: digital-stamp-real-world
npx sdaia-ui@latest add digital-stamp
import { DigitalStamp } from '@/components/ui/DigitalStamp';<DigitalStamp device="desktop" />Digital stamp displayed in the desktop layout. Click to expand and view verification details.
Loading demo: digital-stamp-default
Digital stamp with Saudi domain extensions: gov.sa, edu.sa, med.sa, org.sa, sch.sa, and .sa.
Loading demo: digital-stamp-opened
Props for the DigitalStamp component.
Prop | Type | Default | Required |
|---|---|---|---|
message | ReactNode | - | required |
howYouKnowLabel | ReactNode | 'How you know?' | optional |
features | DigitalStampFeature[] | - | optional |
registrationTitle | ReactNode | - | optional |
registrationDescription | ReactNode | 'Registered on Digital Government Authority:' | optional |
registrationNumber | ReactNode | - | optional |
registrationHref | string | - | optional |
authorityLogo | ReactNode | - | optional |
flag | ReactNode | - | optional |
defaultOpen | boolean | false | optional |
open | boolean | - | optional |
onOpenChange | (open: boolean) => void | - | optional |
How this component behaves at the three system breakpoints. Spacing and type tokens switch automatically at 768px and 1280px.
| Screen | Behavior |
|---|---|
| Desktop (1280px and up) | A full-width bar. When opened, the explanation features sit side by side with 48px icons. |
| Tablet (768–1279px) | Same layout as desktop, with the tablet token values. |
| Phone (under 768px) | Below 768px the features stack, icons shrink to 32px and the side padding narrows. The message and the disclosure link wrap onto two lines when needed. |