# Editor.AddShapeButton
> Toolbar button that inserts a new shape section (rect, ellipse, or line).
Source: https://docs.docmosaic.com/docs/primitives/add-shape-button
Toolbar button that inserts a new shape section (rect, ellipse, or line).
## Usage
```tsx
import { Editor } from '@docmosaic/react';
;
```
## API Reference
## Related
- [Root](/docs/primitives/root) - the orchestrator