Search

Productivity Flyouts

Productivity Grid Flyout Menu

A feature-rich flyout menu with productivity-focused items, status badges, and enhanced interactivity. Perfect for applications that need to showcase features with status indicators and detailed descriptions.

Features

  • Status badges - Visual indicators for new or featured items
  • Productivity-focused content - Organized around workflow enhancement
  • Enhanced hover states - Interactive feedback with smooth transitions
  • Two-column layout - Efficient use of space with clear content grouping
  • Mixed content types - Icons, badges, text, and descriptions
  • Professional styling - Clean, modern appearance suitable for business applications

Usage

---
import ProductivityFlyout from '/src/components/flyouts/ProductivityFlyout.astro'
---

<!-- Basic usage -->
<ProductivityFlyout />

<!-- With initial state -->
<ProductivityFlyout open={true} />

Customization

Status Badges

Add or modify badges to indicate status:

<h3 class="text-base flex items-center w-full font-medium text-zinc-900 dark:text-white group-hover:text-zinc-500 dark:group-hover:text-zinc-400 gap-2">
  Your feature name
  <span class="inline-flex items-center font-medium relative text-white bg-green-600 dark:text-green-900 dark:bg-green-100 px-2.5 py-1 text-xs rounded-md">
    Updated
  </span>
  <span class="inline-flex items-center font-medium relative text-white bg-blue-600 dark:text-blue-900 dark:bg-blue-100 px-2.5 py-1 text-xs rounded-md">
    Popular
  </span>
</h3>

Badge Variants

Different badge styles for various statuses:

<!-- New feature -->
<span class="inline-flex items-center font-medium relative text-white bg-zinc-900 dark:text-zinc-900 dark:bg-zinc-100 px-2.5 py-1 text-xs rounded-md">
  New
</span>

<!-- Updated feature -->
<span class="inline-flex items-center font-medium relative text-white bg-green-600 dark:text-green-900 dark:bg-green-100 px-2.5 py-1 text-xs rounded-md">
  Updated
</span>

<!-- Beta feature -->
<span class="inline-flex items-center font-medium relative text-white bg-yellow-600 dark:text-yellow-900 dark:bg-yellow-100 px-2.5 py-1 text-xs rounded-md">
  Beta
</span>

<!-- Limited time -->
<span class="inline-flex items-center font-medium relative text-white bg-red-600 dark:text-red-900 dark:bg-red-100 px-2.5 py-1 text-xs rounded-md">
  Limited
</span>

Content Organization

Structure content by productivity categories:

<div>
  <h3 class="text-base font-medium text-zinc-900 dark:text-white">
    Your Category Name
  </h3>
  <div class="flex flex-col mt-2 gap-4">
    <!-- Your productivity items -->
  </div>
</div>

Icon Selection

Choose productivity-focused icons:

<!-- Common productivity icons -->
<svg class="icon icon-tabler-rocket size-5">
<svg class="icon icon-tabler-zap size-5">
<svg class="icon icon-tabler-chart-line size-5">
<svg class="icon icon-tabler-trending-up size-5">
<svg class="icon icon-tabler-clock size-5">
<svg class="icon icon-tabler-calendar size-5">
<svg class="icon icon-tabler-checklist size-5">
<svg class="icon icon-tabler-target size-5">

Best Practices

  • Badge consistency - Use consistent badge colors and meanings
  • Content relevance - Focus on productivity-enhancing features
  • Visual hierarchy - Ensure badges don’t overwhelm the main content
  • Status accuracy - Keep badge information up-to-date
  • Mobile optimization - Ensure badges remain readable on small screens
  • Accessibility - Include screen reader-friendly status indicators

Back to Flyout Menus