uibrik

Company Card

Preview

Customize

Obsidian
Grain0.70
Gradient
From
To
Angle125°
Glow0.75
Opacity0.85
Noise0.95
Thickness3.0px
Foil
Logo shine1.00
Relief1.30
Holo glitter
Overlay strength1.65
Holo size1.00
Colour1.00
Glitter amount1.25
Flake size3.5px
Contours
Pattern strength0.85
Line density1.05
Orbit
Accent
Light colour
Tilt8°
Radius18px
Width420px

Usage

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

<CompanyCard />

Installation

npx shadcn@latest add https://uibrik.com/r/company-card.json
Adds the files to components/uibrik/company-card and installs three. With the @uibrik namespace set up: npx shadcn@latest add @uibrik/company-card.

Props

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