An open API service indexing awesome lists of open source software.

https://github.com/govtechsg/sgds-theme-customiser


https://github.com/govtechsg/sgds-theme-customiser

Last synced: 4 days ago
JSON representation

Awesome Lists containing this project

README

          

# sgds-govtech-react

React components powered by [Singapore Government Design System](https://www.designsystem.gov.sg).

We are in early development! If you are trying out sgds-govtech-react, feel free to leave us feedback in the issues page, or even submit a [PR](https://github.com/govtechsg/sgds-govtech-react/pulls)!

## Installation
```
npm install sgds-govtech-react
```
## Usage

### You will need to first import the [sgds](https://www.designsystem.gov.sg) css styles, either in your website's `` element or through your frontend build.

#### HTML
```html

```

#### Webpack

```javascript
// In your entry point

import 'sgds-govtech/sass/sgds.css'
```

### Getting started

```jsx
import React from 'react';
import ReactDOM from 'react-dom';

import { Button } from "sgds-govtech-react";

const app = () => {
return (


Submit

)
}

ReactDOM.render(
app,
document.getElementById('root')
);
```