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

# Funil

> Etapas com volumes e conversão. O modelo visual não redefine o pipeline do Growtify.

export const Exemplo = ({src, demo, titulo}) => {
  const [height, setHeight] = useState(520);
  const [theme, setTheme] = useState("dark");
  const [revision, setRevision] = useState(0);
  useEffect(() => {
    const receive = event => {
      if (event.origin !== "https://skin.growtify.me" || event.data?.type !== "growtify:example-size" || event.data?.demo !== demo) return;
      const value = Number(event.data.height);
      if (Number.isFinite(value) && value > 0 && value < 100000) setHeight(value);
    };
    window.addEventListener("message", receive);
    return () => window.removeEventListener("message", receive);
  }, [demo]);
  return <div style={{
    margin: "16px 0 40px"
  }}>
    <div style={{
    display: "flex",
    gap: 16,
    justifyContent: "flex-end",
    marginBottom: 8
  }}>
      <button onClick={() => setTheme(theme === "dark" ? "light" : "dark")}>{theme === "dark" ? "Ver Light" : "Ver Dark"}</button>
      <button onClick={() => setRevision(revision + 1)}>Repetir animação</button>
    </div>
    <iframe key={theme + revision} title={titulo} src={src + "&single=1&theme=" + theme} width="100%" height={height} style={{
    border: 0,
    display: "block",
    borderRadius: 12
  }} scrolling="no" loading="lazy" />
  </div>;
};

Os 1 exemplos desta categoria aparecem abaixo, um após o outro. Use o índice da página para ir direto ao modelo desejado.

## Exemplo oficial

<Exemplo src="https://skin.growtify.me/catalog/bklit?family=funnel-chart&demo=funnel-chart" demo="funnel-chart" titulo="Exemplo oficial" />

<Note>
  Dados demonstrativos. Exemplos de estados vazios ou de carregamento têm controles próprios para alternar o estado. As páginas originais UBold preservam seus componentes; não representam telas já implementadas no GHL.
</Note>
