BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/shadcncraft/banner-10

Banner 10 – Inline announcement link

shadcncraft/banner-10
FreeBlock

A minimal announcement banner for low-friction updates. Renders as simple inline text with an optional icon and link, plus a close action. Best for subtle product news or secondary announcements that shouldn't compete with primary page content.

Install it

npx shadcn@latest add https://shadcncraft.com/r/banner-10.json

Source

blocks/pro-marketing/banners/banner-10/index.tsxshadcncraft.com/r/banner-10.json
1"use client";
2
3import { useState } from "react";
4
5import { IconPlaceholder } from "@/registry/icons/icon-placeholder";
6import { Button } from "@/components/ui/button";
7
8export function Banner10() {
9 const [isVisible, setIsVisible] = useState(true);
10
11 if (!isVisible) return null;
12
13 return (
14 // To make the banner fixed, add classes like `fixed top-0 inset-x-0 z-50` to the container element
15 <aside
16 role="banner"
17 aria-label="Promotional banner"
18 className="w-full bg-muted py-4 text-muted-foreground"
19 >
20 {/* Banner Container */}
21 <div className="mx-auto max-w-7xl px-8">
22 <div className="flex flex-row items-start justify-between gap-9 lg:items-center">
23 {/* Banner Content */}
24 <div className="flex flex-1 items-start gap-1">
25 <IconPlaceholder
26 lucide="AlertCircle"
27 tabler="IconAlertCircle"
28 hugeicons="Alert02Icon"
29 phosphor="WarningCircleIcon"
30 remixicon="RiErrorWarningLine"
31 className="mt-1 size-4 shrink-0"
32 />
33
34 <p className="text-base text-pretty">
35 <span className="font-semibold">New from Acme Inc: </span>
36 AI Productivity Suite.{" "}
37 <a href="#" className="underline">
38 Check it out
39 </a>
40 </p>
41 </div>
42
43 {/* Close Button */}
44 <Button
45 size="icon-sm"
46 className="size-6 shrink-0 max-lg:-mt-1 max-lg:-mr-1"
47 variant="ghost"
48 onClick={() => setIsVisible(false)}
49 aria-label="Close banner"
50 >
51 <IconPlaceholder
52 lucide="X"
53 tabler="IconX"
54 hugeicons="Cancel01Icon"
55 phosphor="XIcon"
56 remixicon="RiCloseLine"
57 />
58 </Button>
59 </div>
60 </div>
61 </aside>
62 );
63}

What it pulls in

Other registry items

  • button

Files it writes

  • blocks/pro-marketing/banners/banner-10/index.tsx

Facts

Registry
shadcncraft
Type
registry:block
Access
Free
Files written
1
Licence
the repository states none
In the index
at or before 2026-08-05
Last confirmed
today

Go to the source

shadcncraft.com Raw registry item This item as JSON

More from shadcncraft

All 26 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
Benefits 13 – Card grid with section headerbenefits-13shadcncraftBlocksFreeno deps
Contact 11 – Centered form with supporting sidebarcontact-11shadcncraftBlocksFreeno deps
FAQ 4 – Centered accordion with supporting panelfaqs-4shadcncraftBlocksFreeno deps
Footer 4 – Brand-led sitemap footerfooter-4shadcncraftBlocksFree1 dep
Newsletter Signup 5 – Inline callout with contained formnewsletter-signup-5shadcncraftBlocksFreeno deps
Testimonial 11 – Editorial quote gridtestimonials-11shadcncraftBlocksFreeno deps
Top Navigation 5 – Minimal center-aligned links with inline authtop-navigation-5shadcncraftBlocksFreeno 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