React
@element-editor/react
Drop in one component. Element owns the MapLibre map, the basemaps, the toolbar, and all editor state.
For: Apps that want a full map editor without assembling the pieces.
npm install @element-editor/react maplibre-glimport { ElementEditor } from '@element-editor/react'
import '@element-editor/react/style.css'
export default function App() {
return (
<div style={{ width: '100%', height: '600px' }}>
<ElementEditor onChange={(data) => console.log(data)} />
</div>
)
}

