# Select2 API reference

> API reference of the Select2 extension (Yii2\Extensions\Select2), generated from its PHPDoc.

[API reference](/docs/api/index.md) › Select2

Classes, interfaces, traits and enums of `Yii2\Extensions\Select2`, generated from the PHPDoc of [yii2-extensions/select2](https://github.com/yii2-extensions/select2) at `main`. Machine-readable catalog: [select2.json](https://yii2-framework.github.io/docs/reference/select2.json).

## Namespaces

| Namespace | Types |
| --- | --- |
| [`Yii2\Extensions\Select2\Themes`](/docs/extensions/select2/reference/themes/index.md) | 2 |

## Classes

| Class | Summary |
| --- | --- |
| [`Select2`](/docs/extensions/select2/reference/select2/index.md) | Renders a Select2 dropdown bound to a model attribute or a named input. |
| [`Select2Asset`](/docs/extensions/select2/reference/select2asset/index.md) final | Publishes Select2's full browser build and the translation matching the application language. |
| [`Select2WidgetAsset`](/docs/extensions/select2/reference/select2widgetasset/index.md) final | Publishes the `yiiSelect2` jQuery plugin that initializes widgets, scopes their events, and mirrors ARIA state. |