Skip to main content
SuperCmd provides full compatibility with Raycast’s core UI components. All components are fully implemented and support the complete Raycast API specification.

List

List Component

Display a filterable list of items with optional details panel
The List component displays a list of items with built-in search, filtering, keyboard navigation, and action support.

Props

React.ReactNode
List.Item and List.Section components
string
Placeholder text for the search bar
(text: string) => void
Callback when search text changes. Enables controlled search.
string
Controlled search text value
boolean
default:"true"
Enable/disable built-in client-side filtering
boolean
Show loading state
boolean
Show detail panel for selected item
string
Title shown in the footer
boolean
Throttle search text changes (300ms debounce)
(id: string) => void
Callback when selection changes

Example

List.Item

string
Unique identifier for the item
string | { value: string; tooltip?: string }
required
Item title
string | { value: string; tooltip?: string }
Item subtitle
Image.ImageLike
Item icon (emoji, icon name, file path, or URL)
List.Item.Accessory[]
Array of accessories shown on the right side
string[]
Keywords for search filtering
React.ReactElement<List.Item.Detail.Props>
Detail panel content
React.ReactElement<ActionPanel.Props>
Action panel for this item

List.Item.Detail

Detail panel shown when isShowingDetail is true.
string
Markdown content to display
React.ReactElement<List.Item.Detail.Metadata.Props>
Metadata sidebar

List.Section

string
Section title
string
Section subtitle
React.ReactNode
List.Item components

Detail

Detail Component

Display rich markdown content with optional metadata sidebar
The Detail component displays markdown content with an optional metadata sidebar.

Props

string
Markdown content to render
boolean
Show loading state
string
Title shown in the footer
React.ReactElement<ActionPanel.Props>
Action panel
React.ReactElement<Detail.Metadata.Props>
Metadata sidebar

Example

Detail.Metadata

Metadata sidebar components:
  • Detail.Metadata.Label - Display a label with text
  • Detail.Metadata.Link - Display a clickable link
  • Detail.Metadata.TagList - Display a list of tags
  • Detail.Metadata.Separator - Horizontal separator line

Form

Form Component

Collect user input with various field types
The Form component provides a way to collect user input with validation support.

Props

React.ReactNode
Form field components
React.ReactElement<ActionPanel.Props>
Action panel
string
Title shown in the footer
boolean
Show loading state

Example

Form Fields

Available form field components:
  • Form.TextField - Single-line text input
  • Form.TextArea - Multi-line text input
  • Form.Dropdown - Dropdown selection
  • Form.Checkbox - Checkbox input
  • Form.DatePicker - Date/time picker
  • Form.FilePicker - File selection
  • Form.PasswordField - Password input
  • Form.Separator - Visual separator
  • Form.Description - Descriptive text
All fields support:
  • id (string, required) - Field identifier
  • title (string) - Field label
  • value (any) - Controlled value
  • onChange (function) - Change callback
  • error (string) - Validation error message

Grid

Grid Component

Display items in a responsive grid layout
The Grid component displays items in a grid layout with search and filtering.

Props

React.ReactNode
Grid.Item and Grid.Section components
number
default:"5"
Number of columns
string
Placeholder text for search bar
boolean
Show loading state
boolean
default:"true"
Enable built-in filtering

Example

Grid.Item

Image.ImageLike
required
Primary content (image, emoji, or icon)
string
Item title
string
Item subtitle
React.ReactElement<ActionPanel.Props>
Action panel

ActionPanel

ActionPanel & Actions

Interactive actions triggered by keyboard shortcuts
The ActionPanel contains actions that users can trigger with keyboard shortcuts.

Props

React.ReactNode
Action components
string
Panel title

Common Actions

  • Action.Open - Open URL or file
  • Action.OpenInBrowser - Open URL in browser
  • Action.Push - Navigate to new view
  • Action.Pop - Go back
  • Action.CopyToClipboard - Copy to clipboard
  • Action.Paste - Paste content
  • Action.SubmitForm - Submit form values
  • Action.ShowInFinder - Reveal file in Finder
  • Action.Trash - Move to trash

Example


MenuBarExtra

Create menu bar extras (background extensions)
The MenuBarExtra component creates menu bar extras that run in the background.

Props

string
Menu bar title text
Image.ImageLike
Menu bar icon
string
Tooltip on hover
boolean
Show loading indicator

Example

string
required
Item title
Image.ImageLike
Item icon
() => void
Click handler
Keyboard.Shortcut
Keyboard shortcut