> ## Documentation Index
> Fetch the complete documentation index at: https://dadd.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# FlexRenderer

> Render deformable flex bodies

Renders MuJoCo flex (deformable) bodies. Currently renders as a point cloud since triangle face data is not yet available in the JS bindings.

## Usage

```tsx theme={null}
<MujocoCanvas config={config}>
  <FlexRenderer />
</MujocoCanvas>
```

## Props

`FlexRenderer` takes no props.

## How It Works

1. Creates a `BufferGeometry` per flex body
2. Updates vertex positions from `data.flexvert_xpos` every frame
3. Renders as a `Points` material (point cloud)

## Limitations

<Warning>
  `flex_face` (triangle indices) may not be available in the active MuJoCo WASM binding. Flex bodies render as point clouds instead of solid meshes until face data is exposed.
</Warning>

## Notes

* If the model has no flex bodies, this component renders nothing
* Point size and color use sensible defaults
