+ {!state.compact &&
{state.title}
}
diff --git a/website/widgets/content/frame.md b/website/widgets/content/frame.md
index 1426e3a872..d9a1011514 100644
--- a/website/widgets/content/frame.md
+++ b/website/widgets/content/frame.md
@@ -21,3 +21,20 @@ html = '''
q.page['example'] = ui.frame_card(box='1 1 2 2', title='Example', content=html)
```
+
+## Without padding
+
+You can set the `compact` attribute to `True` to remove the title and padding of a frame card.
+
+```py
+html = '''
+
+
+
+
Hello World!
+
+
+'''
+
+q.page['example'] = ui.frame_card(box='1 1 2 2', title='Example', content=html, compact=True)
+```