x-profile
ui · paida profile on X as X draws it: banner, face, names, bio, website, counts
npx shadcn add @ag/x-profileA paid item: its source installs with a licence key, kept in .env.local as AG_LICENCE_KEY and sent from components.json. The source stays in your project and out of any public repository. The licence
{
"registries": {
"@ag": {
"url": "https://ui.adriangalilea.com/r/{name}.json",
"headers": { "Authorization": "Bearer ${AG_LICENCE_KEY}" }
}
}
}Already installed? Preview an update
npx shadcn add @ag/x-profile --dry-runYour installed source stays unchanged until you update it. How updates work
Latest changes · 2026-10-16
- New: a profile on X as X draws it, from its facts (
XProfileinx-profile-data): the banner at 3:1, the face standing half over it, Follow or Edit profile (own), the name with its badge, the handle, the bio with its links, the place, the website as X shows it, when they joined, following and followers (counts, left out by a drawing that does not know them).XProfileFieldis one field of X's Edit profile, for a guide that says "type this there". Facts written by hand: X has no profile read without an account.
seen by its owner: Edit profile; the website an emoji domain, shown in its own letters

what a guide shows to say: type this there
Websitehttps://xn--mq8h.to/adriangalilea
no banner (X's grey), a badge, a bio with its link, a place
Mark Twain@marktwain
The report of my death was an exaggeration. Letters at twain.example
Hartford, ConnecticutJoined November 2009
12 Following1.8M Followers
the demo above, verbatim
import { Sample } from "@/app/samples"
import type { XProfile as XProfileFacts } from "@/registry/base-nova/lib/x-profile-data"
import { XProfile, XProfileField } from "@/registry/base-nova/ui/x-profile"
// #region profiles
/** Adrian's profile as X showed it on 2026-10-16, its pictures stand-ins. Its
* website was typed spelled out (X's website field refuses the emoji) and X
* shows it in its own letters. */
const ADRIAN: XProfileFacts = {
url: "https://x.com/adrigalilea",
author: {
name: "Adrian Galilea",
handle: "@adrigalilea",
avatar: "/adriangalilea.jpg",
},
banner: "/glass-river.jpg",
bio: [],
website: {
text: "👤.to/adriangalilea",
href: "https://xn--mq8h.to/adriangalilea",
},
joined: "2010-04-01T00:00:00Z",
counts: { following: 62, followers: 54 },
}
/** A made-up profile: no banner, a badge, a bio with a link, a place. */
const TWAIN: XProfileFacts = {
url: "https://x.com",
author: {
name: "Mark Twain",
handle: "@marktwain",
avatar: "/mark-twain.png",
verified: "blue",
},
bio: [
{ text: "The report of my death was an exaggeration. Letters at " },
{ text: "twain.example", href: "https://example.com" },
],
location: "Hartford, Connecticut",
joined: "2009-11-30T00:00:00Z",
counts: { following: 12, followers: 1_840_000 },
}
// #endregion
export default function Demo() {
return (
<div className="space-y-16">
<Sample
name="own"
glance="large"
with="profiles"
title="01 · your profile"
description="seen by its owner: Edit profile; the website an emoji domain, shown in its own letters"
>
<XProfile profile={ADRIAN} own className="mx-auto max-w-md" />
</Sample>
<Sample
name="field"
title="02 · a field of Edit profile"
description="what a guide shows to say: type this there"
>
<div className="mx-auto flex max-w-md flex-col gap-3">
<XProfileField
label="Website"
value="https://xn--mq8h.to/adriangalilea"
/>
</div>
</Sample>
<Sample
name="profile"
with="profiles"
title="03 · anyone's profile"
description="no banner (X's grey), a badge, a bio with its link, a place"
>
<XProfile profile={TWAIN} className="mx-auto max-w-md" />
</Sample>
</div>
)
}
