# Data analyst hero

A dark shadcn/ui hero for AI data tools: a one-line headline, data sources as logo chips and a product window that answers a question, from SQL to chart.

> For the complete documentation index, see [llms.txt](/llms.txt). Markdown variants are available for the docs, pricing and about pages: append `.md` to the URL or send an `Accept: text/markdown` header (the home page answers the header too). An agent skill is available at [/.well-known/agent-skills/site-skill.md](/.well-known/agent-skills/site-skill.md).

## At a glance

- **Good for:** AI analytics and BI products; SQL and data tools for business teams; Homepages that show the product working; AI agents that show their reasoning
- **Category:** Marketing · **Type:** Hero · **Style:** Motion, Dark mode
- **See it:** [Live preview](https://www.craftui.space/docs/templates/hero-section-07) · [Screenshot](https://www.craftui.space/llms.md/preview/hero-section-07.ca3eeabe.jpg)

![Data analyst hero](https://www.craftui.space/llms.md/preview/hero-section-07.ca3eeabe.jpg)

## Install

```bash
pnpm dlx shadcn@latest add https://www.craftui.space/r/hero-section-07.json
```

This is a paid item (SEC-71D0B3): the install needs a craftUI plan or a purchase of it. Signed in, the docs page gives your personal install command. Plans: https://www.craftui.space/pricing

## Usage

```tsx
import HeroSection07 from "@/components/sections/hero-section-07/hero-section-07";

export default function Page() {
  return <HeroSection07 />;
}
```

With no props it renders with demo content; pass your own through the props below.

## Props

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `brand` | `string` | `DEMO.brand` | Product name in the navbar and the window's sidebar. |
| `brandHref` | `string` | `"/"` | Where the logo links, e.g. "/". |
| `links` | `HeroLink[]` | `DEMO.links` | Navbar links, shown from md up. |
| `navAction` | `HeroLink` | `DEMO.primaryAction` | The navbar's button. |
| `title` | `string` | `DEMO.title` | The headline (the page's h1). Keep it to one line on desktop. |
| `description` | `string` | `DEMO.description` | The sentence under the headline, before the source chips. |
| `sourcesLead` | `string` | `"Works with"` | Words before the chips, e.g. "Works with". |
| `sources` | `SourceLogo[]` | `SOURCE_LOGOS` | The data sources shown as chips; an empty list hides them. |
| `primaryAction` | `HeroLink` | `DEMO.primaryAction` | The main action (light face). |
| `secondaryAction` | `HeroLink` | `DEMO.secondaryAction` | The second action (dark face, with an arrow). |
| `className` | `string` | — | Classes for the section root. |

### `HeroLink`

| Field | Type | Description |
| --- | --- | --- |
| `label` (required) | `string` | The text, e.g. "Pricing". |
| `href` (required) | `string` | Where it goes, e.g. "/pricing". |

### `SourceLogo`

| Field | Type | Description |
| --- | --- | --- |
| `color` (required) | `string` | The brand's colour, any CSS colour, e.g. "#29B5E8". |
| `label` (required) | `string` | The name shown beside the mark, e.g. "Snowflake". |
| `path` (required) | `string` | One SVG path drawn on a 24×24 viewBox. |

## Files

The install adds:

- `components/sections/hero-section-07/hero-section-07.tsx`
- `components/sections/hero-section-07/agent-window.tsx`
- `components/sections/hero-section-07/revenue-chart.tsx`
- `components/sections/hero-section-07/brand-mark.tsx`
- `components/sections/hero-section-07/source-logos.ts`
- `components/sections/hero-section-07/DESIGN.md`

npm dependencies (installed for you): `@hugeicons/core-free-icons`, `@hugeicons/react`, `motion`.