@dgtdept/rachana
v1.0.3
Published
Design System unites Cambodia Government digital services around a common visual language and user experience
Downloads
81
Keywords
Readme
Cambodia Government Design System
The Cambodia Government Design System was developed to empower teams in creating fast, accessible and mobile-friendly digital services.
Installation
CSS
<head>
...
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/@dgtdept/rachana/css/cgds.css"
/>
...
</head>
Vanilla JavaScript
Rachana components makes use of bootstrap v5.1.3 js library as an external dependency.
@dgtdept/rachana
usesbootstrap-icons
for certain components like Form but it is not ship with it. Installbootstrap-icons
or use CDN if you need it. Please refer to bootstrap-icons for usage instructions.
<head>
...
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@dgtdept/rachana/css/cgds.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.css">
...
</head>
<body>
...
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
crossorigin="anonymous"></script>
</body>
For more information, please refer to the components documentation.
Via NPM
$ npm i @dgtdept/rachana bootstrap-icons
For Webpack
//importing css
import "@dgtdept/rachana/css/cgds.css";
import '@popperjs/core';
import * as bootstrap from 'bootstrap';
Patch Notes
See Changelog