Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
26ea23f
Merge pull request #1 from harshjdhv/experimental-changes
harshjdhv Dec 25, 2025
ce4c25e
feat: enhance TableOfContents component to conditionally render based…
harshjdhv Dec 25, 2025
7e4e71d
feat: update layout and command menu for improved spacing and alignme…
harshjdhv Dec 25, 2025
0c1c514
feat: refactor component documentation layout; introduce ComponentLay…
harshjdhv Dec 25, 2025
9bc1127
feat: add BorderBeam component with usage documentation and styling; …
harshjdhv Dec 25, 2025
22e4121
feat: add creative button variants with shimmer, interactive hover, a…
harshjdhv Dec 25, 2025
1f14366
style(docs): reduce sidebar line spacing and padding
harshjdhv Dec 25, 2025
8c1d15f
fix: update project name from component-playground to componentry; ad…
harshjdhv Dec 25, 2025
41cb1eb
feat(docs): redesign intro page with bento grid showcase
harshjdhv Dec 25, 2025
e112d47
feat(docs): blend manifesto style with bento grid layout and add fram…
harshjdhv Dec 25, 2025
211fd15
fix: update import path in next-env.d.ts and enhance layout responsiv…
harshjdhv Dec 25, 2025
21e69e7
feat: add NoiseOverlay component for enhanced visual effects on the page
harshjdhv Dec 26, 2025
7ba9b5e
feat(fix) : framer motion not showing for flight status card
harshjdhv Dec 27, 2025
f83232d
fix: update import path in next-env.d.ts and enhance layout responsiv…
harshjdhv Jan 2, 2026
5791092
fix: update GitHub links in layout and page components
harshjdhv Jan 2, 2026
6e4359f
feat: implement smooth scrolling using Lenis and update package depen…
harshjdhv Jan 2, 2026
1c0392e
fix: add missing content property to BorderBeam component for proper …
harshjdhv Jan 2, 2026
8cf3dbe
feat: integrate framer-motion for animated BorderBeam component
harshjdhv Jan 2, 2026
44ef4eb
feat: add Circuit Board component with interactive nodes and connections
harshjdhv Jan 2, 2026
e090328
refactor: update flight-status-card and spotlight-card documentation …
harshjdhv Jan 2, 2026
71a2424
feat: add CopyButton component for code copying functionality in Code…
harshjdhv Jan 2, 2026
91125d0
feat: replace Box component with Logomark in the header and footer fo…
harshjdhv Jan 3, 2026
ff2840b
feat: enhance CommandMenu with animated search functionality and impr…
harshjdhv Jan 3, 2026
701bb4a
fix: adjust z-index and hover styles in CommandMenu for improved UI r…
harshjdhv Jan 3, 2026
a2430a1
feat: update metadata and enhance preview page with new visual elemen…
harshjdhv Jan 3, 2026
c6024e4
feat: add SEO enhancements including metadata, sitemap, robots.txt, a…
harshjdhv Jan 3, 2026
6ee04d1
feat: update metadata to use absolute URL for preview image and add o…
harshjdhv Jan 3, 2026
b079e0d
feat: add Command Menu component and update documentation
harshjdhv Jan 3, 2026
3241255
feat: add Noise Texture, Dither Gradient, and Liquid Blob components …
harshjdhv Jan 3, 2026
d3fa95d
feat: refine NoiseTexture component by adjusting default opacity, ble…
harshjdhv Jan 3, 2026
bb445ed
feat: update metadata to use new preview image and change image type …
harshjdhv Jan 3, 2026
f3122b1
fix: update site URL to include 'www' for consistency
harshjdhv Jan 3, 2026
ae66f34
refactor: remove componentId from ComponentLayout and update related …
harshjdhv Jan 3, 2026
5dbeb9d
feat: update screenshot script to capture home page with new dimensio…
harshjdhv Jan 3, 2026
88b4da9
feat : fix spotlight card light mdoe issue
harshjdhv Jan 10, 2026
9317d1f
feat : fix light mode logic for circuit board
harshjdhv Jan 10, 2026
b1b0972
feat : fix dark mode 2
harshjdhv Jan 10, 2026
6d3d3fc
fix : update the central json file for circuit board
harshjdhv Jan 10, 2026
e7fa48a
feat : setup new component showcase card
harshjdhv Jan 12, 2026
855f7ef
feat : add docs for creating components, and setup magnetic dock comp…
harshjdhv Jan 12, 2026
364e086
feat: enhance metadata images structure with additional attributes
harshjdhv Jan 12, 2026
f59a0bc
feat: integrate Vercel Analytics for enhanced tracking
harshjdhv Jan 12, 2026
ae8c931
Add Vercel Web Analytics to Next.js
vercel[bot] Jan 12, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions apps/web/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,8 @@
# Use http://localhost:3000 for local development
# Use your production URL (e.g., https://your-site.vercel.app) for production
NEXT_PUBLIC_APP_URL=http://localhost:3000

# Google Search Console verification code
# Get this from: https://search.google.com/search-console
# Format: just the code part, not the full meta tag
NEXT_PUBLIC_GOOGLE_SITE_VERIFICATION=
197 changes: 197 additions & 0 deletions apps/web/app/docs/components/border-beam/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,197 @@
import type React from "react"
import type { Metadata } from "next"
import { BorderBeam } from "@workspace/ui/components/border-beam"
import { InstallCommand } from "@/components/install-command"
import { CodeBlock } from "@/components/code-block"
import { ComponentLayout, Section } from "@/components/component-layout"

export const metadata: Metadata = {
title: "Border Beam Component",
description: "Animated border beam effect that follows the border path. Beautiful glowing animation for React with Tailwind CSS by Harsh Jadhav.",
alternates: {
canonical: "https://componentry.fun/docs/components/border-beam",
},
}

const defaultBeamCode = `import { BorderBeam } from "@/components/ui/border-beam"

<div className="relative flex h-[300px] w-full items-center justify-center overflow-hidden rounded-xl border bg-background">
<div className="z-10 text-center">
<h3 className="text-2xl font-bold tracking-tight">Border Beam</h3>
<p className="text-muted-foreground">The beam follows the border path</p>
</div>
<BorderBeam />
</div>`

const customColorsCode = `import { BorderBeam } from "@/components/ui/border-beam"

<div className="relative flex h-[300px] w-full items-center justify-center overflow-hidden rounded-xl border bg-background">
<div className="z-10 text-center">
<h3 className="text-2xl font-bold tracking-tight">Customized</h3>
<p className="text-muted-foreground">Slower, larger, custom colors</p>
</div>
<BorderBeam
size={500}
duration={20}
borderWidth={2}
colorFrom="#10b981"
colorTo="#3b82f6"
/>
</div>`

const fastBeamCode = `import { BorderBeam } from "@/components/ui/border-beam"

<div className="relative flex h-[300px] w-full items-center justify-center overflow-hidden rounded-xl border bg-background">
<div className="z-10 text-center">
<h3 className="text-2xl font-bold tracking-tight">Fast Beam</h3>
<p className="text-muted-foreground">Quick animation with warm colors</p>
</div>
<BorderBeam
size={150}
duration={5}
colorFrom="#f97316"
colorTo="#eab308"
/>
</div>`

const delayedBeamCode = `import { BorderBeam } from "@/components/ui/border-beam"

<div className="relative flex h-[300px] w-full items-center justify-center overflow-hidden rounded-xl border bg-background">
<div className="z-10 text-center">
<h3 className="text-2xl font-bold tracking-tight">Delayed Start</h3>
<p className="text-muted-foreground">Beam starts after a 3 second delay</p>
</div>
<BorderBeam
size={250}
duration={12}
delay={3}
colorFrom="#ec4899"
colorTo="#8b5cf6"
/>
</div>`

export default function BorderBeamPage(): React.JSX.Element {
return (
<ComponentLayout
title="Border Beam"
description="A moving gradient beam that travels along the border of its container. Perfect for highlighting active states, new features, or premium content."

>
<Section title="Install">
<InstallCommand component="border-beam" />
</Section>

<Section title="Examples">
<div className="space-y-12">

<div className="space-y-0">
<h3 className="text-xl font-medium mb-4">Default</h3>
<div className="relative flex h-[300px] w-full items-center justify-center overflow-hidden rounded-t-xl rounded-b-none border border-border bg-background shadow-sm">
<div className="z-10 text-center">
<h3 className="text-2xl font-bold tracking-tight">Border Beam</h3>
<p className="text-muted-foreground">The beam follows the border path</p>
</div>
<BorderBeam />
</div>
<CodeBlock code={defaultBeamCode} lang="tsx" className="rounded-t-none" />
</div>

<div className="space-y-0">
<h3 className="text-xl font-medium mb-4">Custom Colors</h3>
<div className="relative flex h-[300px] w-full items-center justify-center overflow-hidden rounded-t-xl rounded-b-none border border-border bg-background shadow-sm">
<div className="z-10 text-center">
<h3 className="text-2xl font-bold tracking-tight">Customized</h3>
<p className="text-muted-foreground">Slower, larger, custom colors</p>
</div>
<BorderBeam
size={500}
duration={20}
borderWidth={2}
colorFrom="#10b981"
colorTo="#3b82f6"
/>
</div>
<CodeBlock code={customColorsCode} lang="tsx" className="rounded-t-none" />
</div>

<div className="space-y-0">
<h3 className="text-xl font-medium mb-4">Fast Animation</h3>
<div className="relative flex h-[300px] w-full items-center justify-center overflow-hidden rounded-t-xl rounded-b-none border border-border bg-background shadow-sm">
<div className="z-10 text-center">
<h3 className="text-2xl font-bold tracking-tight">Fast Beam</h3>
<p className="text-muted-foreground">Quick animation with warm colors</p>
</div>
<BorderBeam
size={150}
duration={5}
colorFrom="#f97316"
colorTo="#eab308"
/>
</div>
<CodeBlock code={fastBeamCode} lang="tsx" className="rounded-t-none" />
</div>

<div className="space-y-0">
<h3 className="text-xl font-medium mb-4">Delayed Start</h3>
<div className="relative flex h-[300px] w-full items-center justify-center overflow-hidden rounded-t-xl rounded-b-none border border-border bg-background shadow-sm">
<div className="z-10 text-center">
<h3 className="text-2xl font-bold tracking-tight">Delayed Start</h3>
<p className="text-muted-foreground">Beam starts after a 3 second delay</p>
</div>
<BorderBeam
size={250}
duration={12}
delay={3}
colorFrom="#ec4899"
colorTo="#8b5cf6"
/>
</div>
<CodeBlock code={delayedBeamCode} lang="tsx" className="rounded-t-none" />
</div>

</div>
</Section>

<Section title="Props">
<div className="grid grid-cols-1 divide-y border rounded-xl bg-muted/30">
<div className="grid grid-cols-1 md:grid-cols-[180px_1fr] gap-2 p-4">
<div className="font-mono text-sm">size</div>
<div className="text-sm text-muted-foreground">
Length of the beam in pixels (default: 200)
</div>
</div>
<div className="grid grid-cols-1 md:grid-cols-[180px_1fr] gap-2 p-4">
<div className="font-mono text-sm">duration</div>
<div className="text-sm text-muted-foreground">
Animation duration in seconds (default: 15)
</div>
</div>
<div className="grid grid-cols-1 md:grid-cols-[180px_1fr] gap-2 p-4">
<div className="font-mono text-sm">borderWidth</div>
<div className="text-sm text-muted-foreground">
Width of the border/beam in pixels (default: 1.5)
</div>
</div>
<div className="grid grid-cols-1 md:grid-cols-[180px_1fr] gap-2 p-4">
<div className="font-mono text-sm">colorFrom</div>
<div className="text-sm text-muted-foreground">
Start color of the gradient (default: #ffaa40)
</div>
</div>
<div className="grid grid-cols-1 md:grid-cols-[180px_1fr] gap-2 p-4">
<div className="font-mono text-sm">colorTo</div>
<div className="text-sm text-muted-foreground">
End color of the gradient (default: #9c40ff)
</div>
</div>
<div className="grid grid-cols-1 md:grid-cols-[180px_1fr] gap-2 p-4">
<div className="font-mono text-sm">delay</div>
<div className="text-sm text-muted-foreground">
Animation delay in seconds (default: 0)
</div>
</div>
</div>
</Section>
</ComponentLayout>
)
}
91 changes: 0 additions & 91 deletions apps/web/app/docs/components/button/page.tsx

This file was deleted.

Loading