Skip to content

Commit 41567a1

Browse files
docs(Popover): add basic documentation (#8773)
* docs(Popover): add basic documentation * docs(Popover): rename file Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
1 parent 2c739cb commit 41567a1

File tree

1 file changed

+18
-0
lines changed
  • packages/react/src/components/Popover

1 file changed

+18
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Popover
2+
3+
A popover is a piece of UI that _pops over_ or renders on top of other UI on the
4+
page. It's a component "primitive" meaning it can be used to help make more
5+
complex components that utilize this behavior.
6+
7+
## Popover Behaviors
8+
9+
- popovers are invoked/shown by interacting with some other UI element either
10+
through click, hover, key press, or focus
11+
- popovers can be dismissed either through blur, <kbd>esc</kbd> keypress, or by
12+
having a different popover be triggered and shown
13+
- popovers are displayed on top of other UI and out of the normal page flow
14+
typically anchored to a triggering element
15+
16+
## Further Reading
17+
18+
- [Open UI Popup documentation](https://open-ui.org/components/popup.research)

0 commit comments

Comments
 (0)