BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/atroui/brand

Brand

atroui/brand
FreeUtility

getBrand() and DEFAULT_BRAND - edit or override with NEXT_PUBLIC_SITE_*.

Install it

npx shadcn@latest add https://atroui.com/r/brand.json

Source

registry/default/lib/brand.tsatroui.com/r/brand.json
1/**
2 * Brand chrome for copied AtroUI components.
3 * Defaults match the docs catalog. Edit DEFAULT_BRAND or set NEXT_PUBLIC_SITE_*.
4 */
5
6export type Brand = {
7 name: string
8 domain: string
9 email: string
10 siteUrl: string
11 tagline: string
12}
13
14export const DEFAULT_BRAND: Brand = {
15 name: "AtroUI",
16 domain: "atroui.com",
17 email: "hello@iamk.xyz",
18 siteUrl: "https://www.atroui.com",
19 tagline: "Dark-first React and Next.js component library for production UI",
20}
21
22function readEnv(key: string): string | undefined {
23 if (typeof process === "undefined" || !process.env) return undefined
24 const value = process.env[key]?.trim()
25 return value || undefined
26}
27
28export function getBrand(): Brand {
29 return {
30 name: readEnv("NEXT_PUBLIC_SITE_NAME") ?? DEFAULT_BRAND.name,
31 domain: readEnv("NEXT_PUBLIC_SITE_DOMAIN") ?? DEFAULT_BRAND.domain,
32 email: readEnv("NEXT_PUBLIC_SITE_EMAIL") ?? DEFAULT_BRAND.email,
33 siteUrl: (
34 readEnv("NEXT_PUBLIC_SITE_URL") ?? DEFAULT_BRAND.siteUrl
35 ).replace(/\/$/, ""),
36 tagline: readEnv("NEXT_PUBLIC_SITE_TAGLINE") ?? DEFAULT_BRAND.tagline,
37 }
38}
39
40export function getBrandMailto(subject?: string): string {
41 const { email } = getBrand()
42 if (!subject) return `mailto:${email}`
43 return `mailto:${email}?subject=${encodeURIComponent(subject)}`
44}

Files it writes

  • registry/default/lib/brand.ts

Facts

Registry
atroui
Type
registry:lib
Access
Free
Files written
1
Licence
MIT
In the index
at or before 2026-08-12
Last confirmed
today

Go to the source

atroui.com atroui/atroui on GitHub Raw registry item This item as JSON

More from atroui

All 82 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
AnalyticsanalyticsatrouiUtilitiesFreeno deps
Project Briefproject-briefatrouiUtilitiesFreeno deps
SEO helpersseoatrouiUtilitiesFreeno deps
Site URLsite-urlatrouiUtilitiesFreeno deps
UtilsutilsatrouiUtilitiesFree2 deps

Also from Kynth Studios

Built for the same person as BlockDex

SkillWorks

Claude Code skills and plugins, scored

skillworks.kynth.studio

RuleStack

AGENTS.md gallery and agent-config comparison

rulestack.kynth.studio

KitGrade

SaaS starter kits, scored from measured facts

kitgrade.kynth.studio

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and KitGrade

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and KitGrade

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and KitGrade

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex