Overview
BlockOptions is compound component for block context menus. It supports controlled/uncontrolled modes, Floating UI positioning, and integrates seamlessly with other UI components.

Features
- API — controlled/uncontrolled with
open/onOpenChange - Compound components — Root, Content, Trigger, Item, Group, Separator
- Floating positioning — automatic positioning via Floating UI
- Helper hook —
useBlockActionsfor common operations
Installation
Basic Usage
API Reference
BlockOptions (Root)
Root component that manages open state and context.
BlockOptions.Trigger
Optional trigger button (for uncontrolled usage).
BlockOptions.Content
Floating content panel.
BlockOptions.Item
Menu item button.
BlockOptions.Group
Groups items together.
BlockOptions.Separator
Visual separator between groups.
useBlockActions()
Helper hook with common block operations.
Examples
With ActionMenuList (Turn Into)
Uncontrolled with Trigger
Styling
CSS Variables
Best Practices
Related Components
FloatingBlockActions
Trigger BlockOptions from drag handle
ActionMenuList
Open from BlockOptions for “Turn into”

