Jack UI logoJackUI
Blocks

Hero Pixel Workspace

A retro-futuristic sunlit pixel-art hero block featuring frosted glass navigation, dynamic vector button microinteractions, and orchestrated line-reveal motion.

Preview & Code

Live Preview
Open in
Sunlit Pixel Art Workspace

Build the next generationof autonomous AI software

Next-generation foundation models and collaborative reasoning agents engineered for full-stack automation, complex workflows, and enterprise scale.

import HeroPixelWorkspace from "@/components/jackui/blocks/hero-pixel-workspace/hero-pixel-workspace";

export default function HeroPage() {
  return (
    <HeroPixelWorkspace
      brandName="Novacraft"
      headline={"Build the next generation\nof autonomous AI software"}
      subtitle="Next-generation foundation models and collaborative reasoning agents engineered for full-stack automation, complex workflows, and enterprise scale."
      primaryCta={{
        label: "Deploy agents",
        onClick: () => console.log("Deploy agents clicked"),
      }}
      secondaryCta={{
        label: "Explore research",
        onClick: () => console.log("Explore research clicked"),
      }}
    />
  );
}

Installation

bunx shadcn@latest add https://jackui.com/r/hero-pixel-workspace.json
npx shadcn@latest add https://jackui.com/r/hero-pixel-workspace.json
pnpm dlx shadcn@latest add https://jackui.com/r/hero-pixel-workspace.json

Props

HeroPixelWorkspace

PropTypeDescription
brandNamestringOptional. Text label for the brand logo. Default: "Novacraft".
brandHrefstringOptional. Navigation link URL for the brand logo. Default: "#"
headlinestringOptional. Main headline text supporting \n line breaks for animated line reveals. Default: "Build the next generation\nof autonomous AI software".
subtitlestringOptional. Descriptive paragraph text rendered inside a frosted glass capsule.
primaryCtaHeroActionOptional. Primary call-to-action button configuration. Default: { label: "Deploy agents" }.
secondaryCtaHeroActionOptional. Secondary frosted glass button configuration. Default: { label: "Explore research" }.
backgroundImageUrlstringOptional. Background image URL. Default: Sunlit pixel-art workspace artwork with ImageKit auto-format transformations.
imageLoading"lazy" | "eager"Optional. Image loading priority behavior passed to next/image. Default: "lazy".
navGroupNavItem[]Optional. Array of navigation items for the centered frosted glass pill segment.
extraNavLinksNavItem[]Optional. Array of standalone secondary pill links on the navbar.
classNamestringOptional. Additional CSS classes applied to the outer wrapper container. Default: "".

HeroAction

PropTypeDescription
labelstringRequired. Button display text.
hrefstringOptional. Destination URL for link buttons.
onClick() => voidOptional. Click event callback handler.
PropTypeDescription
labelstringRequired. Navigation link display text.
hrefstringRequired. Target URL or section anchor (e.g. "#models").