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

# Spark

> View, edit, and Create with a specific Spark

export const ProTips = ({page, item, icon, children}) => {
  const label = page || item;
  if (!label || !children) {
    return null;
  }
  return <>
      <Heading level="3">
        {icon ? <span style={{
    marginRight: "10px",
    display: "inline-block"
  }}>
            {icon}
          </span> : null}
        Pro Tips for: {label}
      </Heading>
      {children}
    </>;
};

export const MndIcon = ({icon, size = 20, color, circle = false}) => {
  const iconUrl = `https://app.mindli.com/api/icon/${icon}`;
  const [isDarkMode, setIsDarkMode] = React.useState(false);
  React.useEffect(() => {
    const checkTheme = () => {
      const darkClass = document.documentElement.classList.contains('dark');
      const darkAttr = document.documentElement.getAttribute('data-theme') === 'dark';
      setIsDarkMode(darkClass || darkAttr);
    };
    checkTheme();
    const observer = new MutationObserver(checkTheme);
    observer.observe(document.documentElement, {
      attributes: true,
      attributeFilter: ['class', 'data-theme']
    });
    return () => observer.disconnect();
  }, []);
  let finalColor = color;
  if (!color) {
    finalColor = isDarkMode ? '#FFFFFF' : '#333333';
  }
  const iconElement = <span style={{
    width: `${size}px`,
    height: `${size}px`,
    backgroundColor: finalColor,
    maskImage: `url(${iconUrl})`,
    maskSize: 'contain',
    maskRepeat: 'no-repeat',
    WebkitMaskImage: `url(${iconUrl})`,
    WebkitMaskSize: 'contain',
    display: 'inline-block',
    verticalAlign: 'middle'
  }} />;
  if (!circle) {
    return <span style={{
      display: 'inline-flex',
      alignItems: 'center',
      justifyContent: 'center',
      verticalAlign: 'middle',
      transform: 'translateY(-0.08em)'
    }}>
        {iconElement}
      </span>;
  }
  const circleSize = Math.max(size + 6, 20);
  return <span style={{
    display: 'inline-flex',
    width: `${circleSize}px`,
    height: `${circleSize}px`,
    border: `2px solid ${finalColor}`,
    borderRadius: '9999px',
    alignItems: 'center',
    justifyContent: 'center',
    verticalAlign: 'middle',
    transform: 'translateY(-0.08em)'
  }}>
      {iconElement}
    </span>;
};

## Overview

The Spark is the core unit of thought in MindLi. It can be a note, an image, a file, a voice message, a link, or any other piece of information you want to capture and work with.

A Spark has an image, title, content, and can be connected to one or more Boxes.

The image (see Spark > Spark view > details) is designed to give you a quick visual cue about the Spark content.

<Note>
  **Tip:**

  1. Use the Spark's image to quickly identify the type or topic of the Spark.
  2. Update the cover image by uploading a new one, pasting from clipboard, or letting Create suggest one for you.
</Note>

For shared actions across MindLi, including the MindLi button, Help button, Avatar button, and Search field, see [Using MindLi](/get-started/using-mindli).

## Spark Screen Controls

1. **<MndIcon icon="MNDIconOneSpark" /> Spark:** View Spark details, edit in quick-edit mode, duplicate, pin, star, archive, and manage Spark actions

2. **<MndIcon icon="MNDIconBoxes" /> Boxes:** Edit which Boxes this Spark connects to and get AI-suggested Boxes

3. **<MndIcon icon="MNDIconLightbulb" /> Create:** Generate new content based on this Spark

## Spark View Controls

1. **<MndIcon icon="MNDIconListFilter" /> Spark Filter:** Choose which Spark sections are shown, such as Basics, Basics + Details, or Info

2. **<MndIcon icon="MNDIconUnfoldVertical" /> Split View:** Show the Spark only, the Spark with its attachment, or the attachment only

<Note>
  For a full guide with modes, use cases, and Chrome extension requirements, see [Split View](/get-started/patterns/split-view).
</Note>

<ProTips item="Spark" icon={<MndIcon icon="MNDIconBrain" color="#FF9900" size={18} />}>
  <ol>
    <li>Use <MndIcon icon="MNDIconUnfoldVertical" size={14} /> Split View to read the source and edit side-by-side — see the full [Split View guide](/get-started/patterns/split-view)</li>
    <li>Use <MndIcon icon="MNDIconLightbulb" size={14} /> Create to generate summaries, next steps, or rewrites from the current Spark when you need a quick digest</li>
  </ol>
</ProTips>
