# Examples gallery

> Sixteen complete starter apps, one per framework and product, that you can open in StackBlitz, clone, or copy out of the repository.

Every starter in the repository's `examples/` folder is a standalone npm project that installs the published `@birchui/*` packages. Open one in StackBlitz to try it in the browser, or copy the folder and run it locally. Each one is small enough to read in a few minutes and shows one product wired into one framework the way you would ship it.

```sh
cd examples/react-vite-grid-pro
npm install
npm run dev
```

## Data grid

| Starter | Stack | Licence | What it shows | Open |
| --- | --- | --- | --- | --- |
| `react-vite-grid-pro` | React, Vite | Grid Pro | 5,000 sales orders grouped by region and country with sum aggregates and a totals row, a drag-and-drop group panel, range selection, copy as TSV and a status bar | [StackBlitz](https://stackblitz.com/github/OWNER/REPO/tree/main/examples/react-vite-grid-pro) · [Source](https://github.com/OWNER/REPO/tree/main/examples/react-vite-grid-pro) |
| `nextjs-app-router-grid` | Next.js App Router | MIT | A server component loads 2,000 orders and hands them to a `"use client"` grid; quick search, floating filters, inline editing, pagination, selection and CSV export | [StackBlitz](https://stackblitz.com/github/OWNER/REPO/tree/main/examples/nextjs-app-router-grid) · [Source](https://github.com/OWNER/REPO/tree/main/examples/nextjs-app-router-grid) |
| `vue-vite-grid-pro` | Vue 3, Vite | Grid Pro | Grouping with subtotals and a group panel, plus a checkbox that switches the same grid into pivot mode; rows held in a `shallowRef` | [StackBlitz](https://stackblitz.com/github/OWNER/REPO/tree/main/examples/vue-vite-grid-pro) · [Source](https://github.com/OWNER/REPO/tree/main/examples/vue-vite-grid-pro) |
| `nuxt-grid` | Nuxt | MIT | A Nitro server route returns orders, `useFetch` loads them during server rendering, and the grid mounts inside `<ClientOnly>` | [StackBlitz](https://stackblitz.com/github/OWNER/REPO/tree/main/examples/nuxt-grid) · [Source](https://github.com/OWNER/REPO/tree/main/examples/nuxt-grid) |
| `angular-grid-pro` | Angular 21 | Grid Pro | A standalone, zoneless, `OnPush` component with signal inputs; grouping, range selection, clipboard, status bar and Excel export | [StackBlitz](https://stackblitz.com/github/OWNER/REPO/tree/main/examples/angular-grid-pro) · [Source](https://github.com/OWNER/REPO/tree/main/examples/angular-grid-pro) |
| `sveltekit-grid` | SvelteKit, Svelte 5 | MIT | A prerendered page whose `load` provides 2,000 orders, the `<BirchGrid>` component with runes and `bind:api`, and the `use:birchGrid` action | [StackBlitz](https://stackblitz.com/github/OWNER/REPO/tree/main/examples/sveltekit-grid) · [Source](https://github.com/OWNER/REPO/tree/main/examples/sveltekit-grid) |
| `solid-vite-grid` | Solid, Vite | MIT | A grid driven by signals and `createMemo` filters, inline editing, and CSV export through the API `ref` | [StackBlitz](https://stackblitz.com/github/OWNER/REPO/tree/main/examples/solid-vite-grid) · [Source](https://github.com/OWNER/REPO/tree/main/examples/solid-vite-grid) |
| `vanilla-web-component-grid` | Web Components | MIT | `<birchui-grid>` declared in HTML, configured through properties and attributes, with DOM `CustomEvent`s and a typed element | [StackBlitz](https://stackblitz.com/github/OWNER/REPO/tree/main/examples/vanilla-web-component-grid) · [Source](https://github.com/OWNER/REPO/tree/main/examples/vanilla-web-component-grid) |

## Scheduling and planning

| Starter | Stack | Licence | What it shows | Open |
| --- | --- | --- | --- | --- |
| `react-scheduler` | React, Vite | Scheduler | A dispatch board with six technicians in two depots and 75 jobs; drag, resize and drag-to-create, working-time shading, a Europe/London time zone, 15-minute snapping and drop validation | [StackBlitz](https://stackblitz.com/github/OWNER/REPO/tree/main/examples/react-scheduler) · [Source](https://github.com/OWNER/REPO/tree/main/examples/react-scheduler) |
| `vue-scheduler` | Vue 3, Vite | Scheduler | The same dispatch board with jobs in a `shallowRef`, `@event-drop` and `@event-create` handlers, and a computed hours-booked figure | [StackBlitz](https://stackblitz.com/github/OWNER/REPO/tree/main/examples/vue-scheduler) · [Source](https://github.com/OWNER/REPO/tree/main/examples/vue-scheduler) |
| `angular-scheduler` | Angular 21 | Scheduler | `<birchui-scheduler>` in a standalone, zoneless app, jobs in a signal updated from `(eventDrop)`, and `(eventCreate)` booking a callout | [StackBlitz](https://stackblitz.com/github/OWNER/REPO/tree/main/examples/angular-scheduler) · [Source](https://github.com/OWNER/REPO/tree/main/examples/angular-scheduler) |
| `vanilla-gantt` | TypeScript, Vite | Gantt | An office fit-out programme with three phases, FS and SS links with lag, milestones and bank holidays; critical path, undo and redo, zoom | [StackBlitz](https://stackblitz.com/github/OWNER/REPO/tree/main/examples/vanilla-gantt) · [Source](https://github.com/OWNER/REPO/tree/main/examples/vanilla-gantt) |

## Analytics, documents and forms

| Starter | Stack | Licence | What it shows | Open |
| --- | --- | --- | --- | --- |
| `react-pivot-studio` | React, Vite | Pivot Studio | A pivot report over 20,000 orders with data bars, a status filter, drill-through and the pivot chart; the report is saved to `localStorage` on every change | [StackBlitz](https://stackblitz.com/github/OWNER/REPO/tree/main/examples/react-pivot-studio) · [Source](https://github.com/OWNER/REPO/tree/main/examples/react-pivot-studio) |
| `vanilla-spreadsheet` | TypeScript, Vite | Spreadsheet | A delivery project budget with `SUM`, `SUMIF`, percentage shares and `XLOOKUP`, frozen panes, number formats and header styles | [StackBlitz](https://stackblitz.com/github/OWNER/REPO/tree/main/examples/vanilla-spreadsheet) · [Source](https://github.com/OWNER/REPO/tree/main/examples/vanilla-spreadsheet) |
| `vanilla-charts` | TypeScript, Vite | Charts | A revenue dashboard with grouped bars, an area chart against a target line and a donut; stacking toggled at runtime, `pointClick` events and PNG or SVG download | [StackBlitz](https://stackblitz.com/github/OWNER/REPO/tree/main/examples/vanilla-charts) · [Source](https://github.com/OWNER/REPO/tree/main/examples/vanilla-charts) |
| `react-form-builder` | React, Vite | Form Builder | The visual Form Builder editing a two-page booking form, with a live preview rendered by the MIT form renderer on every `schemaChange` | [StackBlitz](https://stackblitz.com/github/OWNER/REPO/tree/main/examples/react-form-builder) · [Source](https://github.com/OWNER/REPO/tree/main/examples/react-form-builder) |

## Licence keys in the starters

Commercial products work without a key. They show a small watermark on hosts other than `localhost` and log one console warning. Every starter reads its key from an environment variable listed in its `.env.example`:

| Stack | Variable |
| --- | --- |
| Vite (React, Vue, Solid, SvelteKit, plain TypeScript) | `VITE_BIRCHUI_LICENSE_KEY` |
| Next.js | `NEXT_PUBLIC_BIRCHUI_LICENSE_KEY` |
| Nuxt | `NUXT_PUBLIC_BIRCHUI_LICENSE_KEY` |
| Angular CLI | `BIRCHUI_LICENSE_KEY` |

Never commit a real key. See [Licensing](https://docs.birchui.com/getting-started/licensing.md) for how keys are verified offline.

> **Tip**
>
> In StackBlitz, add the variable under **Settings → Environment variables** or create a `.env.local` file in the project root, then restart the dev server.

## Opening a starter elsewhere

CodeSandbox imports the same folders: replace `stackblitz.com/github/` with `codesandbox.io/p/github/` and drop `/tree` from the path. To use a starter as the base of a new app, copy its folder out of the repository; it has no links back to the monorepo.

## Next steps

- [Quick start](https://docs.birchui.com/getting-started/quick-start.md) walks through the grid from an empty page.
- The framework guides cover [React](https://docs.birchui.com/frameworks/react.md), [Vue](https://docs.birchui.com/frameworks/vue.md), [Angular](https://docs.birchui.com/frameworks/angular.md), [Svelte](https://docs.birchui.com/frameworks/svelte.md), [Solid](https://docs.birchui.com/frameworks/solid.md) and [Web Components](https://docs.birchui.com/frameworks/web-component.md).
- The [Recipes](https://docs.birchui.com/recipes.md) section has task-focused guides for every product.
