# Selection bar

Bulk actions for the current selection.

Import from `@a31labs/rax/selection-bar`.

## Usage

```tsx
<SelectionBar count={selected.size} onClear={clear}><Button size="sm">Delete</Button></SelectionBar>
```

## Rules

Props: `count`, `onClear`, children (action buttons), `label` (noun, default "selected"), `sticky`. Bulk-action bar for selected list items: "N selected" (aria-live polite), the actions, and a ghost "Clear selection" button pushed right. Surface-2 fill, `line` border, radius 10px, wraps. Renders nothing when `count` is 0. `sticky` pins it to the bottom of the scroll container.

Page: https://rax.a31.at/components/selection-bar
