# Render the editable field {#react-components}

Source: [Render the editable field | Yurich React editor API reference · Yurich](https://leeyujoo.com/yurich/api/react-components/)

Package: [`yurich`](https://www.npmjs.com/package/yurich)

Package version: `0.1.2`

Place `EditorContent` inside `EditorProvider`. `useEditorContext()` gives descendants the instance. `className` styles the field, `ariaLabel` names it, and `ariaDescribedBy` points to help text by ID. Remounting the field with the same instance keeps its content and history. Drag and drop is disabled.

```tsx
import { Bold, EditorContent, EditorProvider, useEditor } from 'yurich';

export function ArticleEditor() {
  const editor = useEditor({ extensions: [Bold] });

  return (
    <EditorProvider editor={editor}>
      <EditorContent ariaLabel="Article" />
    </EditorProvider>
  );
}
```

[Quick start](https://leeyujoo.com/yurich/#quick-start)
