DGA unified design system منصات الكود الموحد
The Saudi government design system, as copy-paste React components
DGA tokens, Base UI primitives and Arabic-first layouts, installed into your project with the shadcn CLI. You own the code, and every colour pair in it is checked for WCAG AA.
npx shadcn@latest init https://dga.omqkhafi.dev/r/dga.jsonRenew national address
Update the address linked to your National ID.
تم استلام طلبك
سنراسلك خلال يومي عمل.
Live components: switch language and theme above. The fields are plain markup until the form components ship.
Components
Small compositions, built from the parts you install
Install
Three commands, and the source is in your project
- 1
Create an app
Any React project with Tailwind CSS v4. These steps use Next.js.
npx create-next-app@latest my-app - 2
Add the DGA style
Sets the tokens, the font, RTL and the Base UI style in components.json.
npx shadcn@latest init https://dga.omqkhafi.dev/r/dga.json - 3
Add a component
Copies the source into components/ui. Edit it like your own code.
npx shadcn@latest add @dga/button
Open source
Built in the open
Source
Components, tokens and the audit scripts are in one repository. Issues and pull requests are open.
omqkhafi/dga (opens in a new tab)Version 0.2.0
Every release is written down in the changelog before it ships, with what changed and why.
Read the changelogMIT licence
Use it in commercial and government projects. Keep the notice. The DGA brand and logo belong to the Digital Government Authority.
Read the licence (opens in a new tab)