Skip to main content
239

Search Lumen

Find components, APIs, guides, and recipes.

GitHub
Themes
React Native docs
ActionsReact Native

Speed dial

Expand a floating action button into labeled actions.

Public APILumenSpeedDialReact Native

Native example

Use Speed dial

Keep it to a few related create actions.

Speed dial rendered in the Expo web renderer Lumen playground

Captured exampleExpo web renderer

Open interactive preview
Open the Speed dial demo
tsx
import { LumenSpeedDial } from '@santi020k/lumen-react-native'

export function CreateMenu({ onCreate }: { onCreate: (kind: string) => void }) {
  return (
    <LumenSpeedDial
      label="Create"
      actions={[
        { icon: 'file-text', label: 'New document', value: 'document' },
        { icon: 'folder', label: 'New folder', value: 'folder' },
        { icon: 'upload', label: 'Upload file', value: 'upload' }
      ]}
      onAction={onCreate}
    />
  )
}
React Native
A floating create button that expands three labeled actions upward and closes after a choice.

Reference

Public API

The primary shared and platform-specific options exposed by LumenSpeedDial.

APIValues or typeDefaultDescription
actions / onAction / directionitems / selection callback / expansion siderequired / required / upKeep it to a few related create actions.

Native behavior

Design and accessibility

When to use it

Keep it to a few related create actions.

Accessibility

The trigger exposes expanded state; actions are named and close the menu.

Shared component

Available on other platforms

Apple / SwiftUIAndroid / Compose Web
React Native docsNative primitives