---
source: https://www.jointjs.com/demos/content-driven-shapes
github: https://raw.githubusercontent.com/clientIO/joint-demos/main/content-driven-shapes/README.md
generated: 2026-04-10
format: markdown
---

# JointJS: Content Driven Shapes

Wondering how to dynamically resize elements based on their content? Take a look at this demo that shows exactly that.

This demo is also available online at [jointjs.com](https://jointjs.com/demos/content-driven-shapes).

## Available Versions

- [JavaScript](./js/)

## Screenshot

![screenshot](./screenshot.png)
