View Source API Reference LivePalette v0.1.1

Modules

LivePalette is a component for Phoenix.LiveView that allows the user to implement a command palette, reminiscent of the VSCode and Sublime Command Palettes, the macOS Spotlight and Alfred, and Linear's Command-K Command Bar.

LivePalette.Action defines the action struct that is used internally in LivePalette. It contains details that allow us to render the action in the results list.

LivePalette.Icon is the default icon component used to render icons in the LivePalette results. It is a copy of the generated CoreComponent for icon that is added in Phoenix's project generation.