> ## Documentation Index
> Fetch the complete documentation index at: https://docs.enconvo.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# PopBar

> Instant AI assistance on selected text with the floating PopBar

export const YouTubePlayer = ({videoId, title = "Video"}) => <Frame>
    <div id={`youtube-player-${videoId}`} style={{
  position: "relative",
  width: "100%",
  paddingBottom: "56.25%",
  borderRadius: "12px",
  overflow: "hidden",
  cursor: "pointer"
}} onClick={() => {
  const container = document.getElementById(`youtube-player-${videoId}`);
  container.innerHTML = `<iframe style="position:absolute;top:0;left:0;width:100%;height:100%;border:none;border-radius:12px" src="https://www.youtube.com/embed/${videoId}?autoplay=1" title="${title}" allow="accelerometer;autoplay;clipboard-write;encrypted-media;gyroscope;picture-in-picture" allowfullscreen></iframe>`;
}}>
      <img src={`https://img.youtube.com/vi/${videoId}/maxresdefault.jpg`} alt={title} style={{
  position: "absolute",
  top: 0,
  left: 0,
  width: "100%",
  height: "100%",
  objectFit: "cover"
}} />
      <div style={{
  position: "absolute",
  top: "50%",
  left: "50%",
  transform: "translate(-50%, -50%)",
  width: "68px",
  height: "48px",
  backgroundColor: "rgba(255, 0, 0, 0.9)",
  borderRadius: "14px",
  display: "flex",
  alignItems: "center",
  justifyContent: "center"
}}>
        <svg width="24" height="24" viewBox="0 0 24 24" fill="white">
          <path d="M8 5v14l11-7z" />
        </svg>
      </div>
    </div>
  </Frame>;

## Overview

PopBar is a floating AI toolbar that appears when you select text anywhere on your Mac. It provides instant access to common AI actions without opening SmartBar or switching applications.

<YouTubePlayer videoId="Vky72-N0qQM" title="Instant PopBar" />

## Activating PopBar

There are two ways to activate PopBar:

1. **Automatic**: Select any text and PopBar appears automatically
2. **Manual**: Use shortcut to activate PopBar

<Tip>
  You can customize this shortcut in Settings → PopBar.
</Tip>

## Available Actions

PopBar provides quick actions tailored to your selected text:

### Text Enhancement

| Action                | Description                              |
| --------------------- | ---------------------------------------- |
| **Improve Writing**   | Enhance grammar, clarity, and style      |
| **Make Professional** | Convert to formal business language      |
| **Make Casual**       | Convert to friendly, conversational tone |
| **Fix Spelling**      | Correct spelling and grammar errors      |

### Text Transformation

| Action                | Description                       |
| --------------------- | --------------------------------- |
| **Summarize**         | Create a concise summary          |
| **Table of Contents** | Create a table of contents        |
| **Bullet Points**     | Convert to bulleted list          |
| **Translate**         | Translate to another language     |
| **Explain**           | Get an explanation of the content |

## Using PopBar

<Steps>
  <Step title="Select text">
    Highlight any text in any application on your Mac
  </Step>

  <Step title="PopBar appears">
    The floating toolbar appears near your selection
  </Step>

  <Step title="Choose an action">
    Click on an action button or use keyboard shortcuts
  </Step>

  <Step title="View and apply result">
    The AI result appears in a popup. Click "Replace" to replace the selected text, or "Copy" to copy to clipboard.
  </Step>
</Steps>

## Keyboard Shortcuts

| Shortcut | Action         |
| -------- | -------------- |
| `Esc`    | Dismiss PopBar |

## Custom Actions

Create your own PopBar actions:

<Steps>
  <Step title="Open Settings">
    Go to Settings → PopBar → PopBar Instances
  </Step>

  <Step title="Add new action">
    Click "Add Commands" and configure
  </Step>
</Steps>

## Configuration

Customize PopBar in Settings → PopBar:

## Use Cases

<AccordionGroup>
  <Accordion title="Email Writing">
    Select your draft email text, use "Make Professional" to polish it, then "Fix Spelling" to catch any errors.
  </Accordion>

  <Accordion title="Language Learning">
    Select text in a foreign language, use "Translate" for meaning and "Explain" for grammar breakdown.
  </Accordion>

  <Accordion title="Code Review">
    Select code snippets, use "Explain Code" to understand logic or "Find Bugs" to catch potential issues.
  </Accordion>

  <Accordion title="Content Creation">
    Select rough notes, use "Expand" to develop ideas or "Bullet Points" to organize thoughts.
  </Accordion>
</AccordionGroup>

## Tips

<Tip>
  Double-click a word to quickly select it, then use PopBar for instant definitions or translations.
</Tip>

<Warning>
  PopBar requires Accessibility permissions to detect text selection. Grant this permission in System Settings → Privacy & Security → Accessibility.
</Warning>

## Related Features

<CardGroup cols={2}>
  <Card title="SmartBar" icon="magnifying-glass" href="/features/smartbar">
    Full AI assistant interface
  </Card>

  <Card title="Dictation" icon="microphone" href="/features/dictation">
    Dictate text instead of typing
  </Card>
</CardGroup>
