# Brand (brand)

> Centered tacosdedatos wordmark in Geist Mono with an optional tagline.

- Entry: component
- Category: UI
- Preview capabilities: none (still preview)
- Runtime: React
- Needs Remotion: no
- QA page: https://jbm-ui.bns.studio/c/brand
- JSON: https://jbm-ui.bns.studio/catalog/brand.json
- Registry item: https://jbm-ui.bns.studio/r/brand.json (source code in files[].content)

## Install

```sh
npx shadcn@latest add @jbm/brand
```

Also installs @jbm/tokens (registry dependencies install automatically).

## Required setup

1. Add the `@jbm` registry to components.json (keep any entries already there):

   ```json
   {
     "registries": {
       "@jbm": "https://jbm-ui.bns.studio/r/{name}.json"
     }
   }
   ```

2. Map `@/*` to `./src/*` in tsconfig.json `compilerOptions.paths`, so `@/jbm/…` imports resolve to src/jbm/.

## Files

Each file's source code is in the registry item JSON (https://jbm-ui.bns.studio/r/brand.json, files[].content).

| Source path | Installs to | Import |
| --- | --- | --- |
| `registry/jbm/ui/brand.tsx` | `src/jbm/ui/brand.tsx` | `@/jbm/ui/brand` |

## API

### `Brand` (component)

Centered lockup: "tacos" and "datos" in bold ink Geist Mono with "de" in the vermilion accent, and an optional dim sans tagline 10px below.

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `tagline` | `string` | none | Optional line under the wordmark at round(size × 0.46) px. |
| `size` | `number` | `56` | Wordmark font size in stage pixels; the tagline scales with it. |
| `style` | `React.CSSProperties` | none | Inline styles on the centered wrapper, merged last. |

## Stage

fluid: A centered block that fills its container's width. Height is one 56px mono line at the font's normal line height (not set explicitly), plus 10px and one round(size × 0.46) tagline line when a tagline is given.

## Examples

### Lockup with tagline

```tsx
import { Brand } from "@/jbm/ui/brand"

<Brand tagline="Ideas, datos y código." size={64} />
```

## QA

- Check "de" is the only accent in the lockup and the wordmark has no spaces.
- Confirm the tagline stays centered under the wordmark and scales with size.
- In an end card, keep the lockup the only accent element on the frame.

## Related

Installs:

- [Tokens (tokens)](https://jbm-ui.bns.studio/catalog/tokens.md)

Installed by:

- [SceneFromSpec (scene-spec)](https://jbm-ui.bns.studio/catalog/scene-spec.md)

## More

- [llms.txt](https://jbm-ui.bns.studio/llms.txt): index of every item
- [catalog.json](https://jbm-ui.bns.studio/catalog.json): every item as JSON
- [Agent contract](https://jbm-ui.bns.studio/docs/agent-contract.md): what each field means
