Skip to content
OTF Kit logoOTF Kit

Bulk Actions

Input

Floating action bar that appears when rows are selected, with configurable actions.

View in Storybook
Bulk Actions
Loading Storybook preview…

Installation

bun add @otfdashkit/ui

Usage

Import Bulk Actions from @otfdashkit/ui.

Code
// Bulk Actions — Floating action bar that appears when rows are selected, with configurable actions.
//
// Install:
//   bun add @otfdashkit/ui

import { BulkActions } from '@otfdashkit/ui'

export function Example() {
  return (
    <BulkActions>
      {/* your content */}
    </BulkActions>
  )
}

Props

Props declared in the BulkActions source. Inherited HTML attributes are not listed.

PropTypeDefaultDescription
actionsrequiredActionDef[]
countrequirednumber
onClearrequired() => void
classNamestring

Related