Skip to main content

CommandMenuFooter

Footer section for the CommandMenu, typically displaying keyboard shortcuts or helpful hints.

Import​

import { CommandMenuFooter } from '@scaffald/ui';

Basic Usage​

Live Preview
<ThemeProvider initialTheme="light">
<Stack style={{padding: 12, borderTopWidth: 1, borderTopColor: '#e0e0e0', backgroundColor: '#fafafa', borderRadius: 8}}>
  <CommandMenuFooter />
</Stack>
</ThemeProvider>

Props​

See the TypeScript definitions for the complete props API.

Common Props​

All CommandMenuFooter components accept standard React Native View props.

Examples​

// Inside a CommandMenu
<CommandMenu open={isOpen} onClose={handleClose}>
<CommandMenuItem label="Dashboard" />
<CommandMenuItem label="Settings" />
<CommandMenuFooter />
</CommandMenu>

Accessibility​

  • Keyboard navigation support
  • Screen reader compatible
  • ARIA attributes included
  • Focus management

Design Tokens​

This component uses the following design tokens:

  • Colors: colors.{semantic}.{theme}.{variant}
  • Spacing: spacing.*
  • Typography: typography.*

See Design Tokens for more information.

Changelog​

See GitHub Releases for version history.