Admin launcher
The admin home grid: search filters and highlights sections, arrow keys slide a focus ring between tiles, and a cursor spotlight follows the pointer across each tile.
Interactive preview · desktop · dark
Installation
Installation is available on the Startup and Business plans. Your personal install command appears here once you have access.
Usage
Import it, pass your props, and make it part of your product.
example.tsx
import { AdminLauncher } from '@/components/component-kit/items/block-admin-launcher';
export function Example() { return <AdminLauncher onNavigate={(destination) => console.log(destination.id)} />;}Props
| Prop | Type | Default | Description |
|---|---|---|---|
destinations | AdminDestination[] | 8 admin sections | Tiles with id, title, description, a lucide icon, an optional badge count and search keywords. |
onNavigate | (destination: AdminDestination) => void | undefined | Called when a tile is clicked or Enter is pressed in search. |
compact | boolean | false | Four tiles without search, for small previews. |
autoPlay | boolean | false | Walk the focus ring across tiles on a loop. |