@dubai-design-system/components-react
v3.12.16
Published
React package for Digital Dubai Design System, providing reusable UI components compatible with React applications.
Readme
React bindings for the Dubai Design System web components.
Setup
1. Install the package
npm i @dubai-design-system/components-react2. Add the icon fonts
DDA components use Material Icons and Material Symbols. Add both inside the <head> tag of your index.html:
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,[email protected],100..700,0..1,-50..200" rel="stylesheet">3. Use the components
No extra registration step is needed — importing a component automatically registers its custom element:
import React from 'react';
import { DdaButton } from '@dubai-design-system/components-react';
const App = () => (
<div>
<DdaButton
button_color="default-primary"
start_icon="sentiment_satisfied"
end_icon="arrow_forward"
button_id="button"
aria_label="button"
onClick={() => console.log('clicked')}
>
Button
</DdaButton>
</div>
);
export default App;License
Copyright (c) 2018-2026 Digital Dubai. All rights reserved. An open-source license is under review and will be announced in a future release.
