Novelty Polygonal Mathematics

    @govtechsg/sgds

    2.0.0 • Public • Published

    title: Get Started permalink: /get-started layout: layout-single

    Singapore Government Design System

    npm

    The Singapore Government Design System was developed to empower teams in creating fast, accessible and mobile-friendly digital services.

    Visit our SGDS React storybook


    Installation

    Browsers

    CSS

    <head>
        ...
        <link
            rel="stylesheet"
            href="https://cdn.jsdelivr.net/npm/@govtechsg/sgds/css/sgds.css"
        />
        ...
    </head>

    JavaScript

    SGDS components makes use of bootstrap v5.1.3 js library as an external dependency. If you only need the visual parts of SGDS, or if you are using frontend frameworks like React, you do not need to import this.

    <body>
        ...
        <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous"></script>
        ...
    </body>

    For more information, please refer to the components documentation.

    NPM

    $ npm i @govtechsg/sgds

    Webpack

    //importing css
    import "@govtechsg/sgds/css/sgds.css";
    
    //importing sass
    import "@govtechsg/sgds/sass/sgds.scss";
    import '@popperjs/core';
    import * as bootstrap from 'bootstrap';

    Frontend frameworks

    Usage with frameworks such as React, Vue or Angular is discouraged since they manipulate the DOM in their own environments. Framework-specific implementations are in early development and can be found at sgds-react


    Patch Notes

    See Changelog

    Keywords

    none

    Install

    npm i @govtechsg/sgds

    DownloadsWeekly Downloads

    39

    Version

    2.0.0

    License

    MIT

    Unpacked Size

    857 kB

    Total Files

    134

    Last publish

    Collaborators

    • isomer.govtech
    • gyunikuchan
    • gds_ace_dlt
    • gdsbot
    • gylsky
    • ryanoolala
    • dyihoon90