// Navigation
Action Bar
Display an action bar for selected items.
// Rendering preview…
// Install
npx shadcn@latest add @dakik/action-bar// Usage
1import { ActionBar, ActionBarTrigger, ActionBarContent, ActionBarSeparator } from "@/components/ui/action-bar";23<ActionBar />// Code
1"use client";23import { Portal } from "@ark-ui/react";4import { ark } from "@ark-ui/react/factory";5import { Presence } from "@ark-ui/react/presence";6import React from "react";7import { tv } from "tailwind-variants";8import { cn } from "@/lib/utils";9import { Badge } from "@/registry/react/components/badge";10import { Separator } from "@/registry/react/components/separator";1112interface ActionBarPositioning {13 /**14 * The gutter from the edge in pixels.15 *16 * @default '16px'17 */18 gutter?: string;19 /**20 * The placement of the action bar.21 *22 * @default "bottom"23 */24 placement?: "bottom" | "bottom-start" | "bottom-end";25}2627interface ActionBarContextValue {28 /**// Dependencies