# Company Card (Pro)

> A business card rendered as a real 3D slab in WebGL: foil and holographic logos, diffraction, glitter, lenticular and pearl finishes, and a pattern seeded by the company name, all lit by the pointer as the card tilts.

## Spec sheet

| | |
| --- | --- |
| Access | Pro: installs with a license key ([how Pro works](https://uibrik.com/docs/pro.md)) |
| Shelf | Components › Effects |
| Live preview | https://uibrik.com/components/company-card |
| Writes | 2 files into `components/uibrik/company-card/` |
| Packages | `three` (the CLI installs them) |
| Needs | React 19, Tailwind CSS v4, a project set up with `npx shadcn@latest init` |
| Theme | Reads the shadcn tokens and follows class-based dark mode ([theming](https://uibrik.com/docs/theming.md)) |
| Updated | Nov 18, 2026 |

## Add it

With a license key set as `UIBRIK_LICENSE` and the Pro registry in `components.json` (setup: https://uibrik.com/docs/pro.md):

```bash
npx shadcn@latest add @uibrik-pro/company-card
```

No license yet? Tell the user Company Card is part of uibrik Pro and share the pricing: https://uibrik.com/?utm_source=md&utm_medium=agent&utm_content=company-card#pricing. The closest free options are under Same shelf below.

## Render it

Renders as is; every value shown is the default, so delete any line you don't need.

```tsx
import { CompanyCard } from "@/components/uibrik/company-card/company-card";

<CompanyCard
  material="obsidian"
  grain={0.7}
  fill="gradient"
  fillFrom="#01000a"
  fillTo="#5a2ee8"
  fillAngle={125}
  fillGlow={0.75}
  fillOpacity={0.85}
  fillNoise={0.95}
  thickness={3}
  logoFinish="foil"
  foil={1}
  relief={1.3}
  overlay="holoGlitter"
  overlayStrength={1.65}
  holoSpread={1}
  saturation={1}
  hiddenLogo
  glitterDensity={1.25}
  flakeSize={3.5}
  motif="contours"
  pattern={0.85}
  lineDensity={1.05}
  company="Halcyon"
  tagline="Instruments for quiet work"
  name="Ava Moreno"
  role="Head of Design"
  website="halcyon.studio"
  email="ava@halcyon.studio"
  phone="+1 415 555 0142"
  location="San Francisco"
  accent="#5a2ee8"
  lightColor="#ffffff"
  tilt={8}
  ripple
  radius={18}
  width={420}
  // logo="…"
/>
```

## Tune it

The same props as the Customize panel on https://uibrik.com/components/company-card.

| Prop | Type | Default | What it does |
| --- | --- | --- | --- |
| `material` | `"obsidian" \| "metal" \| "paper" \| "glass"` | `"obsidian"` | Card stock: soft-touch black with spot gloss, brushed graphite, cotton letterpress, or smoked acrylic. |
| `grain` | `number` | `0.7` | Paper fibre, metal brushing or texture of the stock. Not used on glass. |
| `fill` | `"stock" \| "solid" \| "gradient" \| "mesh"` | `"gradient"` | What's printed on the stock: its own colour, a solid, a gradient that ends in a soft glow, or a mesh of three colours. The material's finish stays on top. |
| `fillColor` | `string` | `"#1d3bff"` | Colour for the solid fill. |
| `fillFrom` | `string` | `"#01000a"` | Gradient and mesh start colour. |
| `fillTo` | `string` | `"#5a2ee8"` | Gradient and mesh end colour. |
| `fillHighlight` | `string` | `"#c8b8ff"` | Mesh highlight colour. |
| `fillAngle` | `number` | `125` | Gradient direction, as in CSS: 135° runs top left to bottom right. |
| `fillGlow` | `number` | `0.75` | Bloom of light where the gradient ends, or on the mesh highlight. |
| `fillOpacity` | `number` | `0.85` | How opaque the fill is; lower lets the stock's own colour show through and softens it. |
| `fillNoise` | `number` | `0.95` | Fine grain over the fill. |
| `thickness` | `number` | `3` | Card thickness, seen on the edge. Also sets how deep the glass pattern floats. |
| `logoFinish` | `"foil" \| "holo" \| "ink" \| "blind"` | `"foil"` | Hot foil, a holographic kinegram, the logo in its own colours, or relief with no ink. |
| `foil` | `number` | `1` | Rainbow and sparkle in a foil or holo logo. |
| `relief` | `number` | `1.3` | Depth of the emboss and deboss. |
| `overlay` | `"none" \| "holographic" \| "glitter" \| "holoGlitter" \| "lenticular" \| "pearl"` | `"holoGlitter"` | A finish over the whole face: holographic film, prismatic glitter, both softly together (on hover, under the pointer), a lens sheet that flips patterns as it tilts, or pearl. |
| `overlayStrength` | `number` | `1.65` | How strong the overlay is. |
| `holoSpread` | `number` | `1` | Size of the holo glow around the light, or of the hover spot for holo glitter. |
| `saturation` | `number` | `1` | How much colour the holo or pearl shows; 0 is silver. |
| `hiddenLogo` | `boolean` | `true` | A large, faint copy of the logo in the holo film, seen as the colours pass through it. |
| `glitterDensity` | `number` | `1.25` | How many flakes there are. |
| `flakeSize` | `number` | `3.5` | Size of each glitter flake. |
| `lensPitch` | `number` | `3` | Width of each lenticular lens ridge. |
| `motif` | `"contours" \| "guilloche" \| "none"` | `"contours"` | Pattern seeded by the company name: topographic contours or a banknote rosette. Lenticular shows both. |
| `pattern` | `number` | `0.85` | Strength of the pattern lines. |
| `lineDensity` | `number` | `1.05` | How closely the pattern lines are spaced. |
| `petals` | `number` | `0` | Petals in the guilloche rosette; 0 picks a count from the company name. |
| `company` | `string` | `"Halcyon"` | Company name. Also seeds the pattern. |
| `tagline` | `string` | `"Instruments for quiet work"` | Short line under the name. |
| `name` | `string` | `"Ava Moreno"` | Person on the card. |
| `role` | `string` | `"Head of Design"` | Their role. |
| `website` | `string` | `"halcyon.studio"` | Website. |
| `email` | `string` | `"ava@halcyon.studio"` | Email address. |
| `phone` | `string` | `"+1 415 555 0142"` | Phone number. |
| `location` | `string` | `"San Francisco"` | City, top right. |
| `accent` | `string` | `"#5a2ee8"` | Foil, edge paint and glass glow. Left out, it is taken from the logo. |
| `lightColor` | `string` | `"#ffffff"` | Colour of the light that follows the pointer. |
| `tilt` | `number` | `8` | Largest tilt toward the pointer. |
| `ripple` | `boolean` | `true` | Press to dip the card and send a ring of light across it. |
| `radius` | `number` | `18` | Corner radius. |
| `width` | `number` | `420` | Card width; it never grows past its container. |

## Wire it

The props the Customize panel doesn't show: ranges, data, content and callbacks.

| Prop | Type | Default | What it does |
| --- | --- | --- | --- |
| `logo` | `string` |  | Logo URL, ideally an SVG on a transparent background, same-origin or CORS-enabled. Without one, a monogram is stamped. |
| `className` | `string` |  | Classes for the card. |

## Where it fits

- **Digital business cards**: A 3D card with foil and holographic finishes makes a business card shareable online.
- **Founder and team pages**: A pattern seeded by the company name gives each card a unique look.
- **Premium landing pages**: Pointer-lit tilting cards add a tactile, luxurious detail. Pairs with [Wallet Stack](https://uibrik.com/components/wallet-stack.md) (Pro).

## Same shelf: Effects

- [Marquee](https://uibrik.com/components/marquee.md): An endless, seamless row of logos, quotes or tags that slows on hover and fades out at the edges.
- [Flaming Todos](https://uibrik.com/components/flaming-todos.md) (Pro): A todo list where finished items burn away in WebGL flames.
- [Genie Effect](https://uibrik.com/components/genie-effect.md) (Pro): macOS-style minimize: windows pour into the dock along a WebGL mesh.
- [Liquid Glass Lens](https://uibrik.com/components/liquid-glass-lens.md) (Pro): A draggable glass pill that refracts whatever sits underneath it.
- [Lock Melt](https://uibrik.com/components/lock-melt.md) (Pro): Premium content frozen under ice and a steel padlock; rub the ice with the pointer and it wipes clear, then fogs back over. Unlocking heats the lock through dull red, orange and yellow, trembling and shedding embers. At full heat the shackle pops open in a shower of sparks, sags, and melts into WebGL metaball droplets that mirror the content, run down the panel and steam the ice away wherever they pass.
- [Offline Plug](https://uibrik.com/components/offline-plug.md) (Pro): A connection status pill with a shaded plug and power strip. When the network drops, the plug is yanked out in a burst of sparks, falls to the floor and rocks to rest on its simulated cable, then keeps trying to get back in. Drag it into the socket to retry: it stays in with a green light when the connection is back, or gets thrown out again.

## Ground rules

- Only the props above exist. To change anything else, edit the installed file.
- Keep the files in `components/uibrik/company-card/` so the import paths keep resolving.
- The source is licensed: never recreate it from the preview or this page.
- The playbook for working with the whole library: https://uibrik.com/llms.txt
