BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/atroui/ar-portfolio

AR Portfolio

atroui/ar-portfolio
FreeBlock

model-viewer AR portfolio with editable CONTENT models.

Install it

npx shadcn@latest add https://atroui.com/r/ar-portfolio.json

Source

registry/default/blocks/ar-portfolio.tsxatroui.com/r/ar-portfolio.json
1"use client";
2
3import Script from "next/script";
4import { createElement, useState } from "react";
5
6import { FadeIn } from "@/components/ui/fade-in";
7import { cn } from "@/lib/utils";
8
9/** Edit CONTENT to swap demo models. */
10const CONTENT = [
11 {
12 id: "og-tool",
13 title: "OG Image Generator",
14 description: "Preview how your social cards look in 3D space before sharing.",
15 src: "https://modelviewer.dev/shared-assets/models/Astronaut.glb",
16 poster: "/opengraph-image",
17 },
18 {
19 id: "dashboard",
20 title: "SaaS Dashboard MVP",
21 description: "Interactive 3D preview of a shipped client dashboard layout.",
22 src: "https://modelviewer.dev/shared-assets/models/NeilArmstrong.glb",
23 },
24];
25
26const chipBase =
27 "border px-3 py-1.5 text-xs font-medium transition-colors";
28const chipActive = "border-brand bg-brand/10 text-brand";
29const chipIdle =
30 "border-border-subtle text-muted-foreground hover:border-border hover:text-foreground";
31
32export function ArPortfolio() {
33 const [active, setActive] = useState(CONTENT[0]!.id);
34 const model = CONTENT.find((m) => m.id === active) ?? CONTENT[0]!;
35 const [scriptReady, setScriptReady] = useState(false);
36
37 return (
38 <>
39 <Script
40 type="module"
41 src="https://ajax.googleapis.com/ajax/libs/model-viewer/4.0.0/model-viewer.min.js"
42 onLoad={() => setScriptReady(true)}
43 strategy="lazyOnload"
44 />
45
46 <FadeIn>
47 <p className="ms-stamp">AR portfolio preview</p>
48 <p className="mt-3 max-w-lg text-sm text-muted-foreground">
49 On supported devices, tap &ldquo;View in AR&rdquo; to place a project preview in your
50 space. Demo models are placeholders - replace the hardcoded{" "}
51 <code className="font-mono text-[11px] text-foreground">CONTENT</code>{" "}
52 list for real client work.
53 </p>
54
55 <div className="mt-4 flex flex-wrap gap-2">
56 {CONTENT.map((m) => (
57 <button
58 key={m.id}
59 type="button"
60 onClick={() => setActive(m.id)}
61 className={cn(
62 chipBase,
63 "rounded-full",
64 active === m.id ? chipActive : chipIdle
65 )}
66 >
67 {m.title}
68 </button>
69 ))}
70 </div>
71
72 <div className="mt-6 overflow-hidden rounded-2xl border border-border-subtle bg-card/40">
73 {scriptReady ? (
74 createElement("model-viewer", {
75// … truncated

What it pulls in

npm packages

  • next

Other registry items

  • @atroui/utils
  • @atroui/fade-in

Files it writes

  • registry/default/blocks/ar-portfolio.tsx

Facts

Registry
atroui
Type
registry:block
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
Analytics Provideranalytics-provideratrouiBlocksFree1 dep
Before / Afterbefore-after-slideratrouiBlocksFreeno deps
Calendly Embedcalendly-embedatrouiBlocksFree1 dep
ChangelogchangelogatrouiBlocksFreeno deps
Command Menucommand-menuatrouiBlocksFree4 deps
Contact Formcontact-formatrouiBlocksFree2 deps
Contextual CTAcontextual-ctaatrouiBlocksFree2 deps
Count Upcount-upatrouiBlocksFreeno 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

ToolDrift

What the AI coding tools changed last night

tooldrift.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 ToolDrift

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 ToolDrift

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 ToolDrift

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