# `CKEditor5.Components.UIPart`
[🔗](https://github.com/Mati365/ckeditor5-phoenix/blob/v1.28.2/lib/components/ui_part.ex#L1)

Live View component for rendering a UI part of CKEditor 5, like a toolbar or a menubar.
It may be used with decoupled editors.

# `render`

## Attributes

* `id` (`:string`) - The ID of the element.
* `name` (`:string`) (required) - The name of the UI part. This will be used to identify the UI part
  in the editor configuration. E.g. "toolbar", "menubar".

* `editor_id` (`:string`) - The ID of the editor instance this UI part belongs to. If not provided,
  the first editor in the page will be used.

  Defaults to `nil`.
* Global attributes are accepted.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
