# Smart Group Model

Smart Group Model (SGM) is a smart group programming model based on object-oriented programming (OOP). This model provides a programming paradigm that focuses on smart groups during your group panel development.

In addition, the Smart Group Model is implemented based on the Smart Device Model, so its capabilities are compatible with the Smart Device Model. However, since the Smart Group Model is designed for group scenarios, there are some differences in some functions compared to the device model. If you need to understand these differences, you can refer to the [API documentation](/en/miniapp/solution-panel/ability/common/sgm/api/init). As for other functions, you can refer to the following documents of the Smart Device Model:

- [Usage](/en/miniapp/solution-panel/ability/common/sdm/usage)
- [Hooks](/en/miniapp/solution-panel/ability/common/sdm/hooks/useProps)
- [Interceptors](/en/miniapp/solution-panel/ability/common/sdm/interceptors)

## How to get started

```shell
$ yarn add @ray-js/panel-sdk

# or

$ npm install @ray-js/panel-sdk
```

<Image src='/images/panel/sdm.gif'/>

> Ray/React project

<Image src='/images/panel/sdm-react.gif'/>
