Features
Feature blocks show what a service or product offers at a glance: bento grids, cards, interactive panels and media that explain value quickly, on any screen.
Feature Example 01
A bento grid that shows a whole app at a glance: one large photo tile and five smaller tiles, each with a tiny piece of interface that makes the feature tangible.
Feature Example 01
<section aria-labelledby="bento-heading" class="w-full max-w-6xl px-4 md:px-0">
<div class="mx-auto max-w-2xl space-y-4 text-center">
<aegov-badge variant="primary" size="sm">Smart Services app</aegov-badge>
<h2 id="bento-heading" class="text-h4 md:text-h3 lg:text-h2 text-aeblack-800">One app for every government service</h2>
<p class="text-lg text-aeblack-600">Sign in once, then apply, pay and track everything in one place, in Arabic or English.</p>
</div>
<ul class="mt-10 grid gap-4 sm:grid-cols-2 lg:grid-cols-3">
<li class="relative isolate flex min-h-80 overflow-hidden rounded-3xl bg-aeblack-900 sm:col-span-2 lg:row-span-2 lg:min-h-0">
<img src="/storage/blocks/features/bento-phone.webp" width="1440" height="1076" alt="" loading="lazy" decoding="async" class="absolute inset-0 -z-10 size-full object-cover">
<div aria-hidden="true" class="absolute inset-0 -z-10 bg-linear-to-t from-aeblack-950/90 via-aeblack-950/40 to-transparent"></div>
<div class="mt-auto max-w-lg space-y-2 p-6 sm:p-8">
<h3 class="text-h5 font-semibold text-white">Over 100 services, one sign-in</h3>
<p class="text-base text-whitely-200">Renew, apply and register from your phone, whenever it suits you. No queues, no paper forms.</p>
</div>
</li>
<li class="flex flex-col gap-5 rounded-3xl border border-aeblack-100 bg-whitely-50 p-6">
<div aria-hidden="true" class="flex items-center justify-center rounded-2xl bg-white p-5 ring-1 ring-aeblack-950/5">
<span class="inline-flex items-center gap-2 rounded-full bg-aeblack-900 px-4 py-2 text-sm font-semibold text-white">
<svg class="size-4" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M208,40H48A16,16,0,0,0,32,56v58.78c0,89.61,75.82,119.34,91,124.39a15.53,15.53,0,0,0,10,0c15.2-5.05,91-34.78,91-124.39V56A16,16,0,0,0,208,40Zm0,74.79c0,78.42-66.35,104.62-80,109.18-13.53-4.51-80-30.69-80-109.18V56H208ZM82.34,141.66a8,8,0,0,1,11.32-11.32L112,148.68l50.34-50.34a8,8,0,0,1,11.32,11.32l-56,56a8,8,0,0,1-11.32,0Z"/></svg>
Sign in with UAE PASS
</span>
</div>
<div class="space-y-1">
<h3 class="text-lg font-semibold text-aeblack-800">Sign in with UAE PASS</h3>
<p class="text-base text-aeblack-600">Your national digital identity, so your details fill in for you.</p>
</div>
</li>
<li class="flex flex-col gap-5 rounded-3xl border border-aeblack-100 bg-whitely-50 p-6">
<div aria-hidden="true" class="rounded-2xl bg-white p-5 ring-1 ring-aeblack-950/5">
<div class="flex items-center gap-2">
<span class="size-3 shrink-0 rounded-full bg-aegreen-500"></span>
<span class="h-0.5 flex-1 rounded bg-aegreen-500"></span>
<span class="size-3 shrink-0 rounded-full bg-primary-500 ring-4 ring-primary-100"></span>
<span class="h-0.5 flex-1 rounded bg-aeblack-100"></span>
<span class="size-3 shrink-0 rounded-full bg-aeblack-200"></span>
</div>
<div class="mt-3 flex justify-between text-xs text-aeblack-500">
<span>Submitted</span><span class="font-semibold text-aeblack-800">In review</span><span>Decision</span>
</div>
</div>
<div class="space-y-1">
<h3 class="text-lg font-semibold text-aeblack-800">Track every request</h3>
<p class="text-base text-aeblack-600">See exactly where your request is, and what happens next.</p>
</div>
</li>
<li class="flex flex-col gap-5 rounded-3xl border border-aeblack-100 bg-whitely-50 p-6">
<div aria-hidden="true" class="space-y-3 rounded-2xl bg-white p-5 ring-1 ring-aeblack-950/5">
<div class="flex items-center justify-between gap-3">
<span class="text-sm font-medium text-aeblack-800">Vehicle registration</span>
<aegov-badge variant="aegreen" size="sm">Paid</aegov-badge>
</div>
<div class="h-px bg-aeblack-100"></div>
<div class="flex items-center justify-between gap-3 text-xs text-aeblack-500">
<span>Reference REQ-0000000</span><span>Today</span>
</div>
</div>
<div class="space-y-1">
<h3 class="text-lg font-semibold text-aeblack-800">Pay in seconds</h3>
<p class="text-base text-aeblack-600">Pay fees securely and keep every receipt in your account.</p>
</div>
</li>
<li class="flex flex-col gap-5 rounded-3xl border border-aeblack-100 bg-whitely-50 p-6">
<div aria-hidden="true" class="relative h-24">
<div class="absolute inset-x-6 top-4 h-16 rounded-2xl bg-white/70 ring-1 ring-aeblack-950/5"></div>
<div class="absolute inset-x-0 top-0 flex items-center gap-3 rounded-2xl bg-white p-4 shadow-sm ring-1 ring-aeblack-950/5">
<span class="flex size-9 shrink-0 items-center justify-center rounded-xl bg-camel-100 text-camel-700">
<svg class="size-5" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M221.8,175.94C216.25,166.38,208,139.33,208,104a80,80,0,1,0-160,0c0,35.34-8.26,62.38-13.81,71.94A16,16,0,0,0,48,200H88.81a40,40,0,0,0,78.38,0H208a16,16,0,0,0,13.8-24.06ZM128,216a24,24,0,0,1-22.62-16h45.24A24,24,0,0,1,128,216ZM48,184c7.7-13.24,16-43.92,16-80a64,64,0,1,1,128,0c0,36.05,8.28,66.73,16,80Z"/></svg>
</span>
<span class="min-w-0">
<span class="block truncate text-sm font-semibold text-aeblack-800">Emirates ID expires soon</span>
<span class="block text-xs text-aeblack-500">In 30 days</span>
</span>
</div>
</div>
<div class="space-y-1">
<h3 class="text-lg font-semibold text-aeblack-800">Reminders that help</h3>
<p class="text-base text-aeblack-600">A gentle nudge before anything expires, so nothing catches you out.</p>
</div>
</li>
<li class="flex flex-col gap-5 rounded-3xl border border-aeblack-100 bg-whitely-50 p-6">
<div aria-hidden="true" class="flex items-center justify-center rounded-2xl bg-white p-5 ring-1 ring-aeblack-950/5">
<span class="inline-flex rounded-full bg-aeblack-50 p-1 text-sm font-semibold">
<span class="rounded-full px-4 py-1.5 text-aeblack-600">English</span>
<span lang="ar" dir="rtl" class="rounded-full bg-primary-600 px-4 py-1.5 text-white">العربية</span>
</span>
</div>
<div class="space-y-1">
<h3 class="text-lg font-semibold text-aeblack-800">Arabic and English</h3>
<p class="text-base text-aeblack-600">Switch language at any time. Every screen works both ways.</p>
</div>
</li>
</ul>
</section>
Uses the UAE Design System web components. Load the theme, base CSS and component loader first. See installation.
Feature Example 02
A photograph with floating interface cards that show the feature in action, beside a short checklist and a call to action. The cards stay inside the photo frame on mobile.
Feature Example 02
<section aria-labelledby="tracking-heading" class="w-full max-w-6xl px-4 md:px-0">
<div class="grid items-center gap-12 lg:grid-cols-2 lg:gap-16">
<div class="relative mx-auto w-full max-w-md lg:mx-0">
<img src="/storage/blocks/features/request-approved-portrait.webp" width="1120" height="1400" alt="A woman checking the status of a request on her phone in a bright office lobby" loading="lazy" decoding="async" class="aspect-[4/5] w-full rounded-3xl object-cover">
<div aria-hidden="true">
<div class="absolute end-3 top-3 inline-flex items-center gap-2 rounded-full bg-white/95 px-3 py-1.5 text-xs font-semibold text-aeblack-800 shadow-lg ring-1 ring-aeblack-950/5 sm:-end-6 sm:top-8">
<span class="size-2 rounded-full bg-aegreen-500"></span>
Step 3 of 3: Decision
</div>
<div class="absolute inset-x-3 bottom-3 rounded-2xl bg-white p-4 shadow-xl ring-1 ring-aeblack-950/5 sm:inset-x-auto sm:-start-8 sm:bottom-10 sm:w-72">
<div class="flex items-start gap-3">
<span class="flex size-9 shrink-0 items-center justify-center rounded-full bg-aegreen-100 text-aegreen-700">
<svg class="size-5" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z"/></svg>
</span>
<div class="min-w-0 grow">
<p class="text-sm font-semibold text-aeblack-800">Request approved</p>
<p class="text-xs text-aeblack-500">Trade licence renewal</p>
</div>
<span class="text-xs text-aeblack-500">Now</span>
</div>
<div class="mt-4 flex gap-1.5">
<span class="h-1.5 flex-1 rounded-full bg-aegreen-500"></span>
<span class="h-1.5 flex-1 rounded-full bg-aegreen-500"></span>
<span class="h-1.5 flex-1 rounded-full bg-aegreen-500"></span>
</div>
</div>
</div>
</div>
<div class="space-y-6">
<div class="space-y-4">
<aegov-badge variant="primary" size="sm">Track every request</aegov-badge>
<h2 id="tracking-heading" class="text-h4 md:text-h3 lg:text-h2 text-aeblack-800">Requests approved, without the wait</h2>
<p class="text-lg text-aeblack-600">Follow each request from the moment you submit it. We tell you when something changes, so you never have to call to ask.</p>
</div>
<ul class="space-y-3">
<li class="flex items-start gap-3 text-base text-aeblack-700">
<svg class="mt-0.5 size-5 shrink-0 text-primary-600" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor" aria-hidden="true"><path d="M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z"/></svg>
Live status for every request, in one list
</li>
<li class="flex items-start gap-3 text-base text-aeblack-700">
<svg class="mt-0.5 size-5 shrink-0 text-primary-600" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor" aria-hidden="true"><path d="M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z"/></svg>
A message when we need something from you
</li>
<li class="flex items-start gap-3 text-base text-aeblack-700">
<svg class="mt-0.5 size-5 shrink-0 text-primary-600" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor" aria-hidden="true"><path d="M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z"/></svg>
Your approved documents, ready to download
</li>
</ul>
<div class="flex flex-col gap-4 pt-2 sm:flex-row sm:items-center">
<aegov-link href="#start" variant="primary" size="sm lg:base xl:lg">Start a request</aegov-link>
<a href="#how-tracking-works" class="inline-flex items-center gap-2 font-semibold">
How tracking works
<svg class="size-4 rtl:-scale-x-100" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor" aria-hidden="true"><path d="M221.66,133.66l-72,72a8,8,0,0,1-11.32-11.32L196.69,136H40a8,8,0,0,1,0-16H196.69L138.34,61.66a8,8,0,0,1,11.32-11.32l72,72A8,8,0,0,1,221.66,133.66Z"/></svg>
</a>
</div>
</div>
</div>
</section>
Uses the UAE Design System web components. Load the theme, base CSS and component loader first. See installation.
Feature Example 03
A tabbed showcase: each tab swaps a photo and a short explanation, so three features share one calm space. Built on the tabs component, so keyboard and screen reader support come built in.
Feature Example 03
<section aria-labelledby="home-heading" class="w-full max-w-6xl px-4 md:px-0">
<div class="max-w-2xl space-y-4">
<p class="text-sm font-semibold text-primary-700">From home, not the counter</p>
<h2 id="home-heading" class="text-h4 md:text-h3 lg:text-h2 text-aeblack-800">Do more without leaving home</h2>
<p class="text-lg text-aeblack-600">The things that used to need a visit now take a few taps.</p>
</div>
<aegov-tabs default-open="pay" variant="segmented" is-scrollable="true" label-tablist="Things you can do in the app" class="mt-8 block">
<aegov-tab slot="tabs" tab-id="pay">Pay fees</aegov-tab>
<aegov-tab slot="tabs" tab-id="documents">Your documents</aegov-tab>
<aegov-tab slot="tabs" tab-id="visit">Book a visit</aegov-tab>
<aegov-tab-panel tab-id="pay">
<div class="mt-8 grid items-center gap-8 lg:grid-cols-2 lg:gap-14">
<img src="/storage/blocks/features/pay-in-seconds.webp" width="1440" height="957" alt="Hands confirming a payment on a phone at a home desk" loading="lazy" decoding="async" class="aspect-[3/2] w-full rounded-3xl object-cover">
<div class="space-y-4">
<h3 class="text-h5 font-semibold text-aeblack-800">Pay in seconds, from anywhere</h3>
<p class="text-base text-aeblack-600">Pay service fees with a saved card or a digital wallet and get your receipt straight away. Every payment is kept in your account.</p>
<ul class="space-y-2 text-base text-aeblack-700">
<li class="flex items-start gap-3"><svg class="mt-0.5 size-5 shrink-0 text-primary-600" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor" aria-hidden="true"><path d="M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z"/></svg>See the full fee before you pay</li>
<li class="flex items-start gap-3"><svg class="mt-0.5 size-5 shrink-0 text-primary-600" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor" aria-hidden="true"><path d="M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z"/></svg>Receipts saved automatically</li>
</ul>
</div>
</div>
</aegov-tab-panel>
<aegov-tab-panel tab-id="documents">
<div class="mt-8 grid items-center gap-8 lg:grid-cols-2 lg:gap-14">
<img src="/storage/blocks/features/documents-wallet.webp" width="1440" height="957" alt="A tablet on a wooden desk showing a tidy grid of saved documents" loading="lazy" decoding="async" class="aspect-[3/2] w-full rounded-3xl object-cover">
<div class="space-y-4">
<h3 class="text-h5 font-semibold text-aeblack-800">All your documents, in one place</h3>
<p class="text-base text-aeblack-600">Licences, certificates and receipts are saved to your account as soon as they are issued, ready to share when a service asks for them.</p>
<ul class="space-y-2 text-base text-aeblack-700">
<li class="flex items-start gap-3"><svg class="mt-0.5 size-5 shrink-0 text-primary-600" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor" aria-hidden="true"><path d="M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z"/></svg>No more searching for paperwork</li>
<li class="flex items-start gap-3"><svg class="mt-0.5 size-5 shrink-0 text-primary-600" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor" aria-hidden="true"><path d="M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z"/></svg>You choose what to share, and with whom</li>
</ul>
</div>
</div>
</aegov-tab-panel>
<aegov-tab-panel tab-id="visit">
<div class="mt-8 grid items-center gap-8 lg:grid-cols-2 lg:gap-14">
<img src="/storage/blocks/features/service-centre.webp" width="1440" height="957" alt="A calm, modern customer service centre with comfortable seating and service counters" loading="lazy" decoding="async" class="aspect-[3/2] w-full rounded-3xl object-cover">
<div class="space-y-4">
<h3 class="text-h5 font-semibold text-aeblack-800">When you do visit, no waiting</h3>
<p class="text-base text-aeblack-600">Book a time at a centre near you. Your details and documents are ready before you arrive, so your visit takes minutes.</p>
<ul class="space-y-2 text-base text-aeblack-700">
<li class="flex items-start gap-3"><svg class="mt-0.5 size-5 shrink-0 text-primary-600" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor" aria-hidden="true"><path d="M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z"/></svg>Choose a time that suits you</li>
<li class="flex items-start gap-3"><svg class="mt-0.5 size-5 shrink-0 text-primary-600" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor" aria-hidden="true"><path d="M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z"/></svg>Ask for support with your visit in advance</li>
</ul>
</div>
</div>
</aegov-tab-panel>
</aegov-tabs>
</section>
Uses the UAE Design System web components. Load the theme, base CSS and component loader first. See installation.
Feature Example 04
A deck of stacked notification cards that people flip through with Previous and Next. A small script moves the cards, keeps only the top card available to assistive technology and announces each change.
Feature Example 04
<section aria-labelledby="reminders-heading" class="w-full max-w-6xl px-4 md:px-0">
<div class="grid items-center gap-12 lg:grid-cols-2 lg:gap-16">
<div class="space-y-6">
<div class="space-y-4">
<p class="text-sm font-semibold text-primary-700">Smart reminders</p>
<h2 id="reminders-heading" class="text-h4 md:text-h3 lg:text-h2 text-aeblack-800">Reminders before anything expires</h2>
<p class="text-lg text-aeblack-600">The app keeps an eye on your licences, permits and appointments, and lets you know in good time.</p>
</div>
<ul class="space-y-4">
<li class="flex items-start gap-3">
<span aria-hidden="true" class="flex size-9 shrink-0 items-center justify-center rounded-xl bg-primary-100 text-primary-700">
<svg class="size-5" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M128,24A104,104,0,0,0,36.18,176.88L24.83,210.93a16,16,0,0,0,20.24,20.24l34.05-11.35A104,104,0,1,0,128,24Zm0,192a87.87,87.87,0,0,1-44.06-11.81,8,8,0,0,0-6.54-.67L40,216,52.47,178.6a8,8,0,0,0-.66-6.54A88,88,0,1,1,128,216Z"/></svg>
</span>
<span class="text-base text-aeblack-700"><strong class="font-semibold text-aeblack-800">Your choice of channel.</strong> App notification, SMS or email.</span>
</li>
<li class="flex items-start gap-3">
<span aria-hidden="true" class="flex size-9 shrink-0 items-center justify-center rounded-xl bg-primary-100 text-primary-700">
<svg class="size-5" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm64-88a8,8,0,0,1-8,8H128a8,8,0,0,1-8-8V72a8,8,0,0,1,16,0v48h48A8,8,0,0,1,192,128Z"/></svg>
</span>
<span class="text-base text-aeblack-700"><strong class="font-semibold text-aeblack-800">Quiet hours you set.</strong> No messages when you would rather not hear from us.</span>
</li>
<li class="flex items-start gap-3">
<span aria-hidden="true" class="flex size-9 shrink-0 items-center justify-center rounded-xl bg-primary-100 text-primary-700">
<svg class="size-5" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z"/></svg>
</span>
<span class="text-base text-aeblack-700"><strong class="font-semibold text-aeblack-800">One tap to act.</strong> Each reminder opens the right service, already filled in.</span>
</li>
</ul>
<div class="pt-2">
<aegov-link href="#reminders" variant="primary" size="sm lg:base xl:lg">Turn on reminders</aegov-link>
</div>
</div>
<div data-deck class="relative overflow-hidden rounded-3xl bg-linear-to-br from-primary-50 via-white to-camel-50 px-5 pb-8 pt-10 ring-1 ring-aeblack-950/5 sm:px-10">
<ul aria-label="Example reminders" class="relative mx-auto h-64 max-w-sm">
<li data-deck-card data-pos="0" class="absolute inset-x-0 top-0 origin-top transition duration-500 ease-out motion-reduce:transition-none data-[pos=0]:z-30 data-[pos=1]:z-20 data-[pos=1]:translate-y-5 data-[pos=1]:scale-95 data-[pos=1]:opacity-80 data-[pos=2]:z-10 data-[pos=2]:translate-y-10 data-[pos=2]:scale-90 data-[pos=2]:opacity-50 data-[pos=3]:translate-y-10 data-[pos=3]:scale-90 data-[pos=3]:opacity-0">
<article class="rounded-2xl bg-white p-5 shadow-xl ring-1 ring-aeblack-950/5">
<div class="flex items-start gap-3">
<span aria-hidden="true" class="flex size-10 shrink-0 items-center justify-center rounded-xl bg-camel-100 text-camel-700">
<svg class="size-5" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M221.8,175.94C216.25,166.38,208,139.33,208,104a80,80,0,1,0-160,0c0,35.34-8.26,62.38-13.81,71.94A16,16,0,0,0,48,200H88.81a40,40,0,0,0,78.38,0H208a16,16,0,0,0,13.8-24.06ZM128,216a24,24,0,0,1-22.62-16h45.24A24,24,0,0,1,128,216ZM48,184c7.7-13.24,16-43.92,16-80a64,64,0,1,1,128,0c0,36.05,8.28,66.73,16,80Z"/></svg>
</span>
<div class="min-w-0 grow">
<h3 class="text-base font-semibold text-aeblack-800">Your Emirates ID expires soon</h3>
<p class="mt-1 text-sm text-aeblack-600">Renew it in the app before it expires. It takes about five minutes.</p>
</div>
</div>
<div class="mt-4 flex items-center justify-between gap-3">
<aegov-badge variant="camel" size="sm">In 30 days</aegov-badge>
<span class="text-xs text-aeblack-500">Today, 8:00 am</span>
</div>
</article>
</li>
<li data-deck-card data-pos="1" aria-hidden="true" class="absolute inset-x-0 top-0 origin-top transition duration-500 ease-out motion-reduce:transition-none data-[pos=0]:z-30 data-[pos=1]:z-20 data-[pos=1]:translate-y-5 data-[pos=1]:scale-95 data-[pos=1]:opacity-80 data-[pos=2]:z-10 data-[pos=2]:translate-y-10 data-[pos=2]:scale-90 data-[pos=2]:opacity-50 data-[pos=3]:translate-y-10 data-[pos=3]:scale-90 data-[pos=3]:opacity-0">
<article class="rounded-2xl bg-white p-5 shadow-xl ring-1 ring-aeblack-950/5">
<div class="flex items-start gap-3">
<span aria-hidden="true" class="flex size-10 shrink-0 items-center justify-center rounded-xl bg-aegreen-100 text-aegreen-700">
<svg class="size-5" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z"/></svg>
</span>
<div class="min-w-0 grow">
<h3 class="text-base font-semibold text-aeblack-800">Payment received</h3>
<p class="mt-1 text-sm text-aeblack-600">Your vehicle registration renewal is paid. The receipt is in your account.</p>
</div>
</div>
<div class="mt-4 flex items-center justify-between gap-3">
<aegov-badge variant="aegreen" size="sm">Paid</aegov-badge>
<span class="text-xs text-aeblack-500">Today, 9:41 am</span>
</div>
</article>
</li>
<li data-deck-card data-pos="2" aria-hidden="true" class="absolute inset-x-0 top-0 origin-top transition duration-500 ease-out motion-reduce:transition-none data-[pos=0]:z-30 data-[pos=1]:z-20 data-[pos=1]:translate-y-5 data-[pos=1]:scale-95 data-[pos=1]:opacity-80 data-[pos=2]:z-10 data-[pos=2]:translate-y-10 data-[pos=2]:scale-90 data-[pos=2]:opacity-50 data-[pos=3]:translate-y-10 data-[pos=3]:scale-90 data-[pos=3]:opacity-0">
<article class="rounded-2xl bg-white p-5 shadow-xl ring-1 ring-aeblack-950/5">
<div class="flex items-start gap-3">
<span aria-hidden="true" class="flex size-10 shrink-0 items-center justify-center rounded-xl bg-seablue-100 text-seablue-700">
<svg class="size-5" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M208,32H184V24a8,8,0,0,0-16,0v8H88V24a8,8,0,0,0-16,0v8H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM72,48v8a8,8,0,0,0,16,0V48h80v8a8,8,0,0,0,16,0V48h24V80H48V48ZM208,208H48V96H208V208Z"/></svg>
</span>
<div class="min-w-0 grow">
<h3 class="text-base font-semibold text-aeblack-800">Appointment tomorrow</h3>
<p class="mt-1 text-sm text-aeblack-600">Tuesday at 10:30 am, Customer Happiness Centre. Your documents are ready.</p>
</div>
</div>
<div class="mt-4 flex items-center justify-between gap-3">
<aegov-badge variant="seablue" size="sm">Tomorrow</aegov-badge>
<span class="text-xs text-aeblack-500">Yesterday, 6:15 pm</span>
</div>
</article>
</li>
<li data-deck-card data-pos="3" aria-hidden="true" class="absolute inset-x-0 top-0 origin-top transition duration-500 ease-out motion-reduce:transition-none data-[pos=0]:z-30 data-[pos=1]:z-20 data-[pos=1]:translate-y-5 data-[pos=1]:scale-95 data-[pos=1]:opacity-80 data-[pos=2]:z-10 data-[pos=2]:translate-y-10 data-[pos=2]:scale-90 data-[pos=2]:opacity-50 data-[pos=3]:translate-y-10 data-[pos=3]:scale-90 data-[pos=3]:opacity-0">
<article class="rounded-2xl bg-white p-5 shadow-xl ring-1 ring-aeblack-950/5">
<div class="flex items-start gap-3">
<span aria-hidden="true" class="flex size-10 shrink-0 items-center justify-center rounded-xl bg-primary-100 text-primary-700">
<svg class="size-5" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM200,216H56V40h88V88a8,8,0,0,0,8,8h48V216Zm-32-80a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,136Zm0,32a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,168Z"/></svg>
</span>
<div class="min-w-0 grow">
<h3 class="text-base font-semibold text-aeblack-800">Trade licence renewed</h3>
<p class="mt-1 text-sm text-aeblack-600">Your new licence is ready to download and share.</p>
</div>
</div>
<div class="mt-4 flex items-center justify-between gap-3">
<aegov-badge variant="aegreen" size="sm">Approved</aegov-badge>
<span class="text-xs text-aeblack-500">Monday, 2:20 pm</span>
</div>
</article>
</li>
</ul>
<div class="mt-6 flex items-center justify-center gap-4">
<aegov-button data-deck-prev is-icon="true" appearance="outline" variant="neutral-max" size="base" aria-label="Previous reminder">
<svg class="rtl:-scale-x-100" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor" aria-hidden="true"><path d="M224,128a8,8,0,0,1-8,8H59.31l58.35,58.34a8,8,0,0,1-11.32,11.32l-72-72a8,8,0,0,1,0-11.32l72-72a8,8,0,0,1,11.32,11.32L59.31,120H216A8,8,0,0,1,224,128Z"/></svg>
</aegov-button>
<p data-deck-count aria-hidden="true" class="min-w-12 text-center text-sm font-semibold tabular-nums text-aeblack-700">1 / 4</p>
<aegov-button data-deck-next is-icon="true" appearance="outline" variant="neutral-max" size="base" aria-label="Next reminder">
<svg class="rtl:-scale-x-100" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor" aria-hidden="true"><path d="M221.66,133.66l-72,72a8,8,0,0,1-11.32-11.32L196.69,136H40a8,8,0,0,1,0-16H196.69L138.34,61.66a8,8,0,0,1,11.32-11.32l72,72A8,8,0,0,1,221.66,133.66Z"/></svg>
</aegov-button>
</div>
<p data-deck-live class="sr-only" aria-live="polite"></p>
</div>
</div>
</section>
<script>
// Stacked reminder deck: Previous / Next rotate the cards. Only the top card is
// exposed to assistive technology; each change is announced politely.
document.querySelectorAll('[data-deck]').forEach((deck) => {
const cards = Array.from(deck.querySelectorAll('[data-deck-card]'));
const count = deck.querySelector('[data-deck-count]');
const live = deck.querySelector('[data-deck-live]');
let current = 0;
const render = () => {
cards.forEach((card, index) => {
const position = (index - current + cards.length) % cards.length;
card.dataset.pos = String(Math.min(position, 3));
card.inert = position !== 0;
card.setAttribute('aria-hidden', String(position !== 0));
});
count.textContent = `${current + 1} / ${cards.length}`;
};
const move = (step) => {
current = (current + step + cards.length) % cards.length;
render();
live.textContent = `Reminder ${current + 1} of ${cards.length}: ${cards[current].querySelector('h3').textContent}`;
};
deck.querySelector('[data-deck-prev]').addEventListener('click', () => move(-1));
deck.querySelector('[data-deck-next]').addEventListener('click', () => move(1));
render();
});
</script>
Uses the UAE Design System web components. Load the theme, base CSS and component loader first. See installation.
Feature Example 05
Reassurance about privacy and security: a short promise beside stacked cards, each with a large, faint watermark icon. Quiet visuals for a serious subject.
Feature Example 05
<section aria-labelledby="security-heading" class="w-full max-w-6xl px-4 md:px-0">
<div class="grid items-center gap-10 lg:grid-cols-12 lg:gap-16">
<div class="space-y-6 lg:col-span-5">
<div class="space-y-4">
<aegov-badge variant="aegreen" size="sm">Privacy and security</aegov-badge>
<h2 id="security-heading" class="text-h4 md:text-h3 lg:text-h2 text-aeblack-800">Your data stays yours</h2>
<p class="text-lg text-aeblack-600">We protect your information at every step, and you can see who has used it and why.</p>
</div>
<ul class="space-y-3 text-base text-aeblack-700">
<li class="flex items-start gap-3"><svg class="mt-0.5 size-5 shrink-0 text-aegreen-600" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor" aria-hidden="true"><path d="M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z"/></svg>We only ask for what a service needs</li>
<li class="flex items-start gap-3"><svg class="mt-0.5 size-5 shrink-0 text-aegreen-600" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor" aria-hidden="true"><path d="M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z"/></svg>We never sell or share it for advertising</li>
<li class="flex items-start gap-3"><svg class="mt-0.5 size-5 shrink-0 text-aegreen-600" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor" aria-hidden="true"><path d="M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z"/></svg>You can download or delete your data</li>
</ul>
<a href="#privacy" class="inline-flex items-center gap-2 font-semibold">
Read our privacy notice
<svg class="size-4 rtl:-scale-x-100" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor" aria-hidden="true"><path d="M221.66,133.66l-72,72a8,8,0,0,1-11.32-11.32L196.69,136H40a8,8,0,0,1,0-16H196.69L138.34,61.66a8,8,0,0,1,11.32-11.32l72,72A8,8,0,0,1,221.66,133.66Z"/></svg>
</a>
</div>
<ul class="space-y-4 lg:col-span-7">
<li class="group relative isolate overflow-hidden rounded-3xl border border-aeblack-100 bg-whitely-50 p-6 transition hover:border-aegreen-200 hover:bg-white motion-reduce:transition-none sm:p-7">
<svg aria-hidden="true" class="absolute -bottom-6 -end-4 -z-10 size-36 text-aeblack-50 transition group-hover:text-aegreen-50 motion-reduce:transition-none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M208,40H48A16,16,0,0,0,32,56v58.78c0,89.61,75.82,119.34,91,124.39a15.53,15.53,0,0,0,10,0c15.2-5.05,91-34.78,91-124.39V56A16,16,0,0,0,208,40Zm0,74.79c0,78.42-66.35,104.62-80,109.18-13.53-4.51-80-30.69-80-109.18V56H208ZM82.34,141.66a8,8,0,0,1,11.32-11.32L112,148.68l50.34-50.34a8,8,0,0,1,11.32,11.32l-56,56a8,8,0,0,1-11.32,0Z"/></svg>
<div class="max-w-md space-y-2 pe-16">
<span aria-hidden="true" class="flex size-10 items-center justify-center rounded-xl bg-aegreen-100 text-aegreen-700"><svg class="size-5" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M208,40H48A16,16,0,0,0,32,56v58.78c0,89.61,75.82,119.34,91,124.39a15.53,15.53,0,0,0,10,0c15.2-5.05,91-34.78,91-124.39V56A16,16,0,0,0,208,40Zm0,74.79c0,78.42-66.35,104.62-80,109.18-13.53-4.51-80-30.69-80-109.18V56H208ZM82.34,141.66a8,8,0,0,1,11.32-11.32L112,148.68l50.34-50.34a8,8,0,0,1,11.32,11.32l-56,56a8,8,0,0,1-11.32,0Z"/></svg></span>
<h3 class="pt-2 text-lg font-semibold text-aeblack-800">Verified with UAE PASS</h3>
<p class="text-base text-aeblack-600">Only you can sign in to your account, using your national digital identity.</p>
</div>
</li>
<li class="group relative isolate overflow-hidden rounded-3xl border border-aeblack-100 bg-whitely-50 p-6 transition hover:border-aegreen-200 hover:bg-white motion-reduce:transition-none sm:p-7">
<svg aria-hidden="true" class="absolute -bottom-6 -end-4 -z-10 size-36 text-aeblack-50 transition group-hover:text-aegreen-50 motion-reduce:transition-none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M208,80H176V56a48,48,0,0,0-96,0V80H48A16,16,0,0,0,32,96V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V96A16,16,0,0,0,208,80ZM96,56a32,32,0,0,1,64,0V80H96ZM208,208H48V96H208V208Z"/></svg>
<div class="max-w-md space-y-2 pe-16">
<span aria-hidden="true" class="flex size-10 items-center justify-center rounded-xl bg-aegreen-100 text-aegreen-700"><svg class="size-5" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M208,80H176V56a48,48,0,0,0-96,0V80H48A16,16,0,0,0,32,96V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V96A16,16,0,0,0,208,80ZM96,56a32,32,0,0,1,64,0V80H96ZM208,208H48V96H208V208Z"/></svg></span>
<h3 class="pt-2 text-lg font-semibold text-aeblack-800">Encrypted all the way</h3>
<p class="text-base text-aeblack-600">Your information is encrypted when it is sent and when it is stored.</p>
</div>
</li>
<li class="group relative isolate overflow-hidden rounded-3xl border border-aeblack-100 bg-whitely-50 p-6 transition hover:border-aegreen-200 hover:bg-white motion-reduce:transition-none sm:p-7">
<svg aria-hidden="true" class="absolute -bottom-6 -end-4 -z-10 size-36 text-aeblack-50 transition group-hover:text-aegreen-50 motion-reduce:transition-none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM200,216H56V40h88V88a8,8,0,0,0,8,8h48V216Zm-32-80a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,136Zm0,32a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,168Z"/></svg>
<div class="max-w-md space-y-2 pe-16">
<span aria-hidden="true" class="flex size-10 items-center justify-center rounded-xl bg-aegreen-100 text-aegreen-700"><svg class="size-5" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM200,216H56V40h88V88a8,8,0,0,0,8,8h48V216Zm-32-80a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,136Zm0,32a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,168Z"/></svg></span>
<h3 class="pt-2 text-lg font-semibold text-aeblack-800">Every access is logged</h3>
<p class="text-base text-aeblack-600">See which service used your information, when, and for what reason.</p>
</div>
</li>
</ul>
</div>
</section>
Uses the UAE Design System web components. Load the theme, base CSS and component loader first. See installation.
Feature Example 06
A guided tour of an app screen. Choosing a feature highlights the matching part of a phone mockup built in HTML, so it stays sharp at any size and needs no screenshots.
Feature Example 06
<section aria-labelledby="tour-heading" data-tour class="w-full max-w-6xl px-4 md:px-0">
<div class="grid items-center gap-10 lg:grid-cols-2 lg:gap-16">
<div class="space-y-6">
<div class="space-y-4">
<p class="text-sm font-semibold text-primary-700">Designed around you</p>
<h2 id="tour-heading" class="text-h4 md:text-h3 lg:text-h2 text-aeblack-800">Find any service in seconds</h2>
<p class="text-lg text-aeblack-600">The home screen puts what you need first. Choose a feature to see where it lives.</p>
</div>
<div role="group" aria-label="Explore the home screen" class="flex flex-wrap gap-2 lg:flex-col lg:gap-3">
<button type="button" data-tour-btn="search" aria-pressed="true" class="group inline-flex flex-col items-start justify-start rounded-full border border-aeblack-100 bg-white px-4 py-2 text-start lg:w-full transition hover:border-primary-200 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary-500 aria-pressed:border-primary-300 aria-pressed:bg-primary-50 motion-reduce:transition-none lg:rounded-2xl lg:p-4">
<span class="flex items-center gap-3">
<span aria-hidden="true" class="hidden size-9 shrink-0 items-center justify-center rounded-xl bg-aeblack-50 text-aeblack-600 group-aria-pressed:bg-primary-600 group-aria-pressed:text-white lg:flex"><svg class="size-5" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M229.66,218.34l-50.07-50.06a88.11,88.11,0,1,0-11.31,11.31l50.06,50.07a8,8,0,0,0,11.32-11.32ZM40,112a72,72,0,1,1,72,72A72.08,72.08,0,0,1,40,112Z"/></svg></span>
<span class="text-sm font-semibold text-aeblack-800 lg:text-base">Search any service</span>
</span>
<span data-tour-text class="mt-1 hidden ps-12 text-sm text-aeblack-600 lg:block">Type what you need in your own words, in Arabic or English.</span>
</button>
<button type="button" data-tour-btn="quick" aria-pressed="false" class="group inline-flex flex-col items-start justify-start rounded-full border border-aeblack-100 bg-white px-4 py-2 text-start lg:w-full transition hover:border-primary-200 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary-500 aria-pressed:border-primary-300 aria-pressed:bg-primary-50 motion-reduce:transition-none lg:rounded-2xl lg:p-4">
<span class="flex items-center gap-3">
<span aria-hidden="true" class="hidden size-9 shrink-0 items-center justify-center rounded-xl bg-aeblack-50 text-aeblack-600 group-aria-pressed:bg-primary-600 group-aria-pressed:text-white lg:flex"><svg class="size-5" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M104,40H56A16,16,0,0,0,40,56v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V56A16,16,0,0,0,104,40Zm0,64H56V56h48v48Zm96-64H152a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V56A16,16,0,0,0,200,40Zm0,64H152V56h48v48Zm-96,32H56a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V152A16,16,0,0,0,104,136Zm0,64H56V152h48v48Zm96-64H152a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V152A16,16,0,0,0,200,136Zm0,64H152V152h48v48Z"/></svg></span>
<span class="text-sm font-semibold text-aeblack-800 lg:text-base">Quick actions</span>
</span>
<span data-tour-text class="mt-1 hidden ps-12 text-sm text-aeblack-600 lg:block">Your most used services, one tap away and ordered by what you use most.</span>
</button>
<button type="button" data-tour-btn="track" aria-pressed="false" class="group inline-flex flex-col items-start justify-start rounded-full border border-aeblack-100 bg-white px-4 py-2 text-start lg:w-full transition hover:border-primary-200 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary-500 aria-pressed:border-primary-300 aria-pressed:bg-primary-50 motion-reduce:transition-none lg:rounded-2xl lg:p-4">
<span class="flex items-center gap-3">
<span aria-hidden="true" class="hidden size-9 shrink-0 items-center justify-center rounded-xl bg-aeblack-50 text-aeblack-600 group-aria-pressed:bg-primary-600 group-aria-pressed:text-white lg:flex"><svg class="size-5" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm64-88a8,8,0,0,1-8,8H128a8,8,0,0,1-8-8V72a8,8,0,0,1,16,0v48h48A8,8,0,0,1,192,128Z"/></svg></span>
<span class="text-sm font-semibold text-aeblack-800 lg:text-base">Your requests</span>
</span>
<span data-tour-text class="mt-1 hidden ps-12 text-sm text-aeblack-600 lg:block">Live progress for everything you have applied for, right on the home screen.</span>
</button>
<button type="button" data-tour-btn="language" aria-pressed="false" class="group inline-flex flex-col items-start justify-start rounded-full border border-aeblack-100 bg-white px-4 py-2 text-start lg:w-full transition hover:border-primary-200 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary-500 aria-pressed:border-primary-300 aria-pressed:bg-primary-50 motion-reduce:transition-none lg:rounded-2xl lg:p-4">
<span class="flex items-center gap-3">
<span aria-hidden="true" class="hidden size-9 shrink-0 items-center justify-center rounded-xl bg-aeblack-50 text-aeblack-600 group-aria-pressed:bg-primary-600 group-aria-pressed:text-white lg:flex"><svg class="size-5" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M247.15,212.42l-56-112a8,8,0,0,0-14.31,0l-21.71,43.43A88,88,0,0,1,108,126.93,103.65,103.65,0,0,0,135.69,64H160a8,8,0,0,0,0-16H104V32a8,8,0,0,0-16,0V48H32a8,8,0,0,0,0,16h87.63A87.76,87.76,0,0,1,96,116.35a87.74,87.74,0,0,1-19-31,8,8,0,1,0-15.08,5.34A103.63,103.63,0,0,0,84,127a87.55,87.55,0,0,1-52,17,8,8,0,0,0,0,16,103.46,103.46,0,0,0,64-22.08,104.18,104.18,0,0,0,51.44,21.31l-26.6,53.19a8,8,0,0,0,14.31,7.16L148.94,192h70.11l13.79,27.58A8,8,0,0,0,240,224a8,8,0,0,0,7.15-11.58ZM156.94,176,184,121.89,211.05,176Z"/></svg></span>
<span class="text-sm font-semibold text-aeblack-800 lg:text-base">Your language</span>
</span>
<span data-tour-text class="mt-1 hidden ps-12 text-sm text-aeblack-600 lg:block">Switch between Arabic and English at any time, without losing your place.</span>
</button>
</div>
<p data-tour-live aria-live="polite" class="text-sm text-aeblack-600 lg:hidden">Type what you need in your own words, in Arabic or English.</p>
</div>
<div aria-hidden="true" class="mx-auto">
<div class="w-[248px] rounded-[2.75rem] bg-aeblack-900 p-2.5 shadow-2xl sm:w-[280px]">
<div class="relative h-[500px] overflow-hidden rounded-[2.25rem] bg-whitely-50 sm:h-[560px]">
<div class="absolute inset-x-0 top-2.5 mx-auto h-6 w-24 rounded-full bg-aeblack-900"></div>
<div class="flex items-center justify-between px-6 pt-3 text-xs font-semibold text-aeblack-800"><span>9:41</span><span class="tracking-widest">●●●</span></div>
<div class="space-y-4 px-4 pt-8">
<div class="flex items-center justify-between">
<div>
<p class="text-xs text-aeblack-500">Good morning</p>
<p class="text-base font-semibold text-aeblack-800">Your services</p>
</div>
<span data-tour-spot="language" data-on="false" class="rounded-full bg-white px-2.5 py-1 text-xs font-semibold text-aeblack-700 ring-1 ring-aeblack-950/10 transition duration-300 motion-reduce:transition-none data-[on=true]:scale-110 data-[on=true]:ring-2 data-[on=true]:ring-primary-500">EN | ع</span>
</div>
<div data-tour-spot="search" data-on="true" class="flex items-center gap-2 rounded-2xl bg-white px-3 py-3 text-xs text-aeblack-500 ring-1 ring-aeblack-950/10 transition duration-300 motion-reduce:transition-none data-[on=true]:scale-105 data-[on=true]:ring-2 data-[on=true]:ring-primary-500 data-[on=true]:shadow-lg data-[on=true]:bg-primary-50">
<svg class="size-4" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M229.66,218.34l-50.07-50.06a88.11,88.11,0,1,0-11.31,11.31l50.06,50.07a8,8,0,0,0,11.32-11.32ZM40,112a72,72,0,1,1,72,72A72.08,72.08,0,0,1,40,112Z"/></svg>
Renew my licence…
</div>
<div data-tour-spot="quick" data-on="false" class="grid grid-cols-4 gap-2 rounded-2xl p-1 transition duration-300 motion-reduce:transition-none data-[on=true]:scale-105 data-[on=true]:bg-primary-50 data-[on=true]:ring-2 data-[on=true]:ring-primary-500 data-[on=true]:shadow-lg">
<span class="flex flex-col items-center gap-1"><span class="size-11 rounded-2xl bg-primary-100"></span><span class="text-xs text-aeblack-600">Pay</span></span>
<span class="flex flex-col items-center gap-1"><span class="size-11 rounded-2xl bg-aegreen-100"></span><span class="text-xs text-aeblack-600">Renew</span></span>
<span class="flex flex-col items-center gap-1"><span class="size-11 rounded-2xl bg-seablue-100"></span><span class="text-xs text-aeblack-600">Book</span></span>
<span class="flex flex-col items-center gap-1"><span class="size-11 rounded-2xl bg-camel-100"></span><span class="text-xs text-aeblack-600">Docs</span></span>
</div>
<div data-tour-spot="track" data-on="false" class="space-y-3 rounded-2xl bg-white p-4 ring-1 ring-aeblack-950/10 transition duration-300 motion-reduce:transition-none data-[on=true]:scale-105 data-[on=true]:ring-2 data-[on=true]:ring-primary-500 data-[on=true]:shadow-lg">
<div class="flex items-center justify-between">
<span class="text-xs font-semibold text-aeblack-800">Trade licence renewal</span>
<span class="rounded-full bg-camel-100 px-2 py-0.5 text-xs font-semibold text-camel-800">In review</span>
</div>
<div class="flex gap-1"><span class="h-1.5 flex-1 rounded-full bg-aegreen-500"></span><span class="h-1.5 flex-1 rounded-full bg-primary-500"></span><span class="h-1.5 flex-1 rounded-full bg-aeblack-100"></span></div>
<span class="block text-xs text-aeblack-500">Updated 2 hours ago</span>
</div>
<div class="space-y-2 opacity-40">
<div class="h-12 rounded-2xl bg-white ring-1 ring-aeblack-950/5"></div>
<div class="h-12 rounded-2xl bg-white ring-1 ring-aeblack-950/5"></div>
</div>
</div>
<div class="absolute inset-x-0 bottom-0 flex justify-around border-t border-aeblack-100 bg-white px-6 pb-5 pt-3">
<span class="size-5 rounded-md bg-primary-500"></span><span class="size-5 rounded-md bg-aeblack-200"></span><span class="size-5 rounded-md bg-aeblack-200"></span><span class="size-5 rounded-md bg-aeblack-200"></span>
</div>
</div>
</div>
</div>
</div>
</section>
<script>
// Phone tour: each button highlights the matching part of the mockup. The
// mockup is decorative; the buttons carry the meaning (aria-pressed), and on
// small screens the chosen feature's description is announced politely.
document.querySelectorAll('[data-tour]').forEach((tour) => {
const buttons = Array.from(tour.querySelectorAll('[data-tour-btn]'));
const spots = Array.from(tour.querySelectorAll('[data-tour-spot]'));
const live = tour.querySelector('[data-tour-live]');
buttons.forEach((button) => {
button.addEventListener('click', () => {
const target = button.dataset.tourBtn;
buttons.forEach((other) => other.setAttribute('aria-pressed', String(other === button)));
spots.forEach((spot) => { spot.dataset.on = String(spot.dataset.tourSpot === target); });
live.textContent = button.querySelector('[data-tour-text]').textContent;
});
});
});
</script>
Uses the UAE Design System web components. Load the theme, base CSS and component loader first. See installation.
Feature Example 07
A wide photograph with a dark overlay for the message and key facts on desktop. On mobile the photo sits on top and the text moves onto a solid panel below, so contrast never depends on the image.
Feature Example 07
<section aria-labelledby="everyone-heading" class="w-full max-w-6xl px-4 md:px-0">
<div class="relative isolate overflow-hidden rounded-3xl bg-aeblack-900">
<img src="/storage/blocks/features/family-at-home.webp" width="2200" height="943" alt="A family on a sofa at home, looking at a tablet together" loading="lazy" decoding="async" class="aspect-[16/9] w-full object-cover object-right lg:absolute lg:inset-0 lg:-z-10 lg:aspect-auto lg:h-full">
<div aria-hidden="true" class="absolute inset-0 -z-10 hidden bg-linear-to-r from-aeblack-950/95 via-aeblack-950/75 to-transparent lg:block rtl:bg-linear-to-l"></div>
<div class="space-y-6 p-6 sm:p-10 lg:max-w-xl lg:px-14 lg:py-20">
<div class="space-y-4">
<aegov-badge variant="primary" size="sm">Built for everyone</aegov-badge>
<h2 id="everyone-heading" class="text-h4 md:text-h3 lg:text-h2 text-white">Made for the whole family</h2>
<p class="text-lg text-whitely-200">Manage services for your children and the people you care for, with the same care you give them.</p>
</div>
<dl class="grid grid-cols-3 gap-4 border-y border-white/15 py-5">
<div>
<dt class="text-sm text-whitely-300">Languages</dt>
<dd class="text-h5 font-bold text-white">2</dd>
</div>
<div>
<dt class="text-sm text-whitely-300">WCAG 2.2</dt>
<dd class="text-h5 font-bold text-white">AA</dd>
</div>
<div>
<dt class="text-sm text-whitely-300">Available</dt>
<dd class="text-h5 font-bold text-white">24/7</dd>
</div>
</dl>
<div class="flex flex-col gap-4 sm:flex-row sm:items-center">
<aegov-link href="#family" variant="neutral-min" size="sm lg:base xl:lg">Add a family member</aegov-link>
<a href="#accessibility" class="inline-flex items-center gap-2 font-semibold text-white hover:text-whitely-200">
Accessibility in the app
<svg class="size-4 rtl:-scale-x-100" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor" aria-hidden="true"><path d="M221.66,133.66l-72,72a8,8,0,0,1-11.32-11.32L196.69,136H40a8,8,0,0,1,0-16H196.69L138.34,61.66a8,8,0,0,1,11.32-11.32l72,72A8,8,0,0,1,221.66,133.66Z"/></svg>
</a>
</div>
</div>
</div>
</section>
Uses the UAE Design System web components. Load the theme, base CSS and component loader first. See installation.
Feature Example 08
A swipeable row of service categories with photos. It scrolls natively by touch, trackpad or keyboard, and Previous and Next buttons move one card at a time and switch off at each end.
Feature Example 08
<section aria-labelledby="categories-heading" data-carousel class="w-full max-w-6xl px-4 md:px-0">
<div class="flex flex-col gap-6 sm:flex-row sm:items-end sm:justify-between">
<div class="max-w-2xl space-y-4">
<p class="text-sm font-semibold text-primary-700">Browse by life event</p>
<h2 id="categories-heading" class="text-h4 md:text-h3 lg:text-h2 text-aeblack-800">Over 100 services, organised around your life</h2>
</div>
<div class="flex shrink-0 gap-3">
<aegov-button data-carousel-prev is-icon="true" appearance="outline" variant="neutral-max" size="base" aria-label="Previous categories">
<svg class="rtl:-scale-x-100" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor" aria-hidden="true"><path d="M224,128a8,8,0,0,1-8,8H59.31l58.35,58.34a8,8,0,0,1-11.32,11.32l-72-72a8,8,0,0,1,0-11.32l72-72a8,8,0,0,1,11.32,11.32L59.31,120H216A8,8,0,0,1,224,128Z"/></svg>
</aegov-button>
<aegov-button data-carousel-next is-icon="true" appearance="outline" variant="neutral-max" size="base" aria-label="Next categories">
<svg class="rtl:-scale-x-100" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor" aria-hidden="true"><path d="M221.66,133.66l-72,72a8,8,0,0,1-11.32-11.32L196.69,136H40a8,8,0,0,1,0-16H196.69L138.34,61.66a8,8,0,0,1,11.32-11.32l72,72A8,8,0,0,1,221.66,133.66Z"/></svg>
</aegov-button>
</div>
</div>
<ul id="categories-track" data-carousel-track tabindex="0" aria-label="Service categories" class="-mx-4 mt-8 flex snap-x snap-mandatory scroll-px-4 gap-4 overflow-x-auto scroll-smooth px-4 pb-4 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary-500 motion-reduce:scroll-auto md:mx-0 md:scroll-px-0 md:px-0 [scrollbar-width:thin]">
<li class="w-[82%] shrink-0 snap-start sm:w-[calc(50%-0.5rem)] lg:w-[calc(33.333%-0.667rem)]">
<article class="group relative h-full overflow-hidden rounded-3xl border border-aeblack-100 bg-white">
<img src="/storage/blocks/features/category-vehicles.webp" width="960" height="717" alt="" loading="lazy" decoding="async" class="aspect-[4/3] w-full object-cover transition duration-500 group-hover:scale-105 motion-reduce:transition-none">
<div class="space-y-2 p-5">
<aegov-badge variant="default" size="sm">18 services</aegov-badge>
<h3 class="text-lg font-semibold text-aeblack-800"><a href="#vehicles" class="text-aeblack-800 no-underline after:absolute after:inset-0 hover:text-primary-700 focus-visible:outline-none focus-visible:after:rounded-3xl focus-visible:after:outline-2 focus-visible:after:outline-offset-2 focus-visible:after:outline-primary-500">Vehicles and driving</a></h3>
<p class="text-sm text-aeblack-600">Register a car, renew a licence and pay fines.</p>
</div>
</article>
</li>
<li class="w-[82%] shrink-0 snap-start sm:w-[calc(50%-0.5rem)] lg:w-[calc(33.333%-0.667rem)]">
<article class="group relative h-full overflow-hidden rounded-3xl border border-aeblack-100 bg-white">
<img src="/storage/blocks/features/category-housing.webp" width="960" height="717" alt="" loading="lazy" decoding="async" class="aspect-[4/3] w-full object-cover transition duration-500 group-hover:scale-105 motion-reduce:transition-none">
<div class="space-y-2 p-5">
<aegov-badge variant="default" size="sm">14 services</aegov-badge>
<h3 class="text-lg font-semibold text-aeblack-800"><a href="#housing" class="text-aeblack-800 no-underline after:absolute after:inset-0 hover:text-primary-700 focus-visible:outline-none focus-visible:after:rounded-3xl focus-visible:after:outline-2 focus-visible:after:outline-offset-2 focus-visible:after:outline-primary-500">Housing</a></h3>
<p class="text-sm text-aeblack-600">Apply for housing support and connect your utilities.</p>
</div>
</article>
</li>
<li class="w-[82%] shrink-0 snap-start sm:w-[calc(50%-0.5rem)] lg:w-[calc(33.333%-0.667rem)]">
<article class="group relative h-full overflow-hidden rounded-3xl border border-aeblack-100 bg-white">
<img src="/storage/blocks/features/category-health.webp" width="960" height="717" alt="" loading="lazy" decoding="async" class="aspect-[4/3] w-full object-cover transition duration-500 group-hover:scale-105 motion-reduce:transition-none">
<div class="space-y-2 p-5">
<aegov-badge variant="default" size="sm">22 services</aegov-badge>
<h3 class="text-lg font-semibold text-aeblack-800"><a href="#health" class="text-aeblack-800 no-underline after:absolute after:inset-0 hover:text-primary-700 focus-visible:outline-none focus-visible:after:rounded-3xl focus-visible:after:outline-2 focus-visible:after:outline-offset-2 focus-visible:after:outline-primary-500">Health</a></h3>
<p class="text-sm text-aeblack-600">Book appointments, renew insurance and view records.</p>
</div>
</article>
</li>
<li class="w-[82%] shrink-0 snap-start sm:w-[calc(50%-0.5rem)] lg:w-[calc(33.333%-0.667rem)]">
<article class="group relative h-full overflow-hidden rounded-3xl border border-aeblack-100 bg-white">
<img src="/storage/blocks/features/category-business.webp" width="960" height="717" alt="" loading="lazy" decoding="async" class="aspect-[4/3] w-full object-cover transition duration-500 group-hover:scale-105 motion-reduce:transition-none">
<div class="space-y-2 p-5">
<aegov-badge variant="default" size="sm">26 services</aegov-badge>
<h3 class="text-lg font-semibold text-aeblack-800"><a href="#business" class="text-aeblack-800 no-underline after:absolute after:inset-0 hover:text-primary-700 focus-visible:outline-none focus-visible:after:rounded-3xl focus-visible:after:outline-2 focus-visible:after:outline-offset-2 focus-visible:after:outline-primary-500">Business</a></h3>
<p class="text-sm text-aeblack-600">Start a company, renew a trade licence and hire staff.</p>
</div>
</article>
</li>
<li class="w-[82%] shrink-0 snap-start sm:w-[calc(50%-0.5rem)] lg:w-[calc(33.333%-0.667rem)]">
<article class="group relative h-full overflow-hidden rounded-3xl border border-aeblack-100 bg-white">
<img src="/storage/blocks/features/category-education.webp" width="960" height="717" alt="" loading="lazy" decoding="async" class="aspect-[4/3] w-full object-cover transition duration-500 group-hover:scale-105 motion-reduce:transition-none">
<div class="space-y-2 p-5">
<aegov-badge variant="default" size="sm">12 services</aegov-badge>
<h3 class="text-lg font-semibold text-aeblack-800"><a href="#education" class="text-aeblack-800 no-underline after:absolute after:inset-0 hover:text-primary-700 focus-visible:outline-none focus-visible:after:rounded-3xl focus-visible:after:outline-2 focus-visible:after:outline-offset-2 focus-visible:after:outline-primary-500">Education</a></h3>
<p class="text-sm text-aeblack-600">Register for school, apply for grants and certify results.</p>
</div>
</article>
</li>
<li class="w-[82%] shrink-0 snap-start sm:w-[calc(50%-0.5rem)] lg:w-[calc(33.333%-0.667rem)]">
<article class="group relative h-full overflow-hidden rounded-3xl border border-aeblack-100 bg-white">
<img src="/storage/blocks/features/category-travel.webp" width="960" height="717" alt="" loading="lazy" decoding="async" class="aspect-[4/3] w-full object-cover transition duration-500 group-hover:scale-105 motion-reduce:transition-none">
<div class="space-y-2 p-5">
<aegov-badge variant="default" size="sm">10 services</aegov-badge>
<h3 class="text-lg font-semibold text-aeblack-800"><a href="#travel" class="text-aeblack-800 no-underline after:absolute after:inset-0 hover:text-primary-700 focus-visible:outline-none focus-visible:after:rounded-3xl focus-visible:after:outline-2 focus-visible:after:outline-offset-2 focus-visible:after:outline-primary-500">Travel and residency</a></h3>
<p class="text-sm text-aeblack-600">Sponsor family, renew residency and check travel rules.</p>
</div>
</article>
</li>
</ul>
</section>
<script>
// Category carousel: native scroll-snap does the work. Previous / Next scroll by
// one card and are switched off at each end; works in left-to-right and right-to-left.
document.querySelectorAll('[data-carousel]').forEach((carousel) => {
const track = carousel.querySelector('[data-carousel-track]');
const prev = carousel.querySelector('[data-carousel-prev]');
const next = carousel.querySelector('[data-carousel-next]');
const rtl = getComputedStyle(track).direction === 'rtl';
const step = () => {
const card = track.querySelector('li');
const gap = parseFloat(getComputedStyle(track).columnGap) || 0;
return card ? card.getBoundingClientRect().width + gap : track.clientWidth;
};
const update = () => {
const max = track.scrollWidth - track.clientWidth - 1;
const offset = Math.abs(track.scrollLeft);
prev.isDisabled = offset <= 1;
next.isDisabled = offset >= max;
// Never strand keyboard focus on a button that has just switched off.
if (document.activeElement === prev && prev.isDisabled) next.focus();
if (document.activeElement === next && next.isDisabled) prev.focus();
};
const scroll = (direction) => {
track.scrollBy({ left: direction * step() * (rtl ? -1 : 1), behavior: 'smooth' });
};
prev.addEventListener('click', () => scroll(-1));
next.addEventListener('click', () => scroll(1));
track.addEventListener('scroll', () => requestAnimationFrame(update), { passive: true });
window.addEventListener('resize', update);
update();
});
</script>
Uses the UAE Design System web components. Load the theme, base CSS and component loader first. See installation.