# Grafana SQL Datasource Frontend Library

`@grafana/sql` is a collection of shared UI components, base classes, and utilities used to build SQL-based datasource plugins (MySQL, PostgreSQL, MSSQL, etc.) in [Grafana](https://github.com/grafana/grafana). It provides a common query editor, visual query builder, configuration components, and datasource base class for SQL datasources.

See [package source](https://github.com/grafana/grafana/tree/main/packages/grafana-sql) for more details.

## Installation

```bash
yarn add @grafana/sql
```

```bash
npm install @grafana/sql
```
