BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/fulldev/ui/banner-1

banner-1

fulldev-ui/banner-1
FreeBlock

fulldev/ui publishes no description for this item.

Live preview

live · rendered by the registry
Rendered by fulldev/ui on their own page — this is the component running, not a screenshot of it.

Install it

npx shadcn@latest add https://ui.full.dev/r/banner-1.json

Source

src/components/blocks/banner-1.astroui.full.dev/r/banner-1.json
1---
2import { cn } from "@/lib/utils"
3import { Banner, BannerContainer } from "@/components/ui/banner"
4import { Icon } from "@/components/ui/icon"
5
6type Props = {
7 class?: string
8 title: string
9 description: string
10 link?: {
11 label: string
12 href: string
13 }
14}
15
16const { class: className, title, description, link } = Astro.props
17---
18
19<Banner
20 storageKey="banner-1"
21 class={cn("dark bg-background text-foreground", className)}
22>
23 <BannerContainer class="flex-row items-center gap-x-4 gap-y-1">
24 <p class="text-sm leading-relaxed">
25 <span class="font-semibold">{title}</span>
26 <span class="mx-1.5 hidden opacity-50 sm:inline">&mdash;</span>
27 <span class="opacity-80">{description}</span>
28 </p>
29 {
30 link && (
31 <a
32 href={link.href}
33 class="group/link inline-flex shrink-0 items-center gap-1 text-sm font-medium underline underline-offset-4 transition-opacity hover:opacity-80"
34 >
35 {link.label}
36 <Icon
37 name="arrow-right"
38 class="size-3.5 transition-transform group-hover/link:translate-x-0.5"
39 />
40 </a>
41 )
42 }
43 </BannerContainer>
44</Banner>

What it pulls in

Other registry items

  • @fulldev/banner
  • @fulldev/icon

Files it writes

  • src/components/blocks/banner-1.astro

Facts

Registry
fulldev/ui
Type
registry:block
Access
Free
Files written
1
Licence
MIT
First indexed
2026-08-02
Last confirmed
yesterday

Go to the source

Docs on fulldev/ui ui.full.dev fulldotdev/ui on GitHub Raw registry item This item as JSON

More from fulldev/ui

All 144 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
article-1article-1fulldev/uiBlocksFreeno deps
article-2article-2fulldev/uiBlocksFreeno deps
articles-1articles-1fulldev/uiBlocksFreeno deps
articles-2articles-2fulldev/uiBlocksFreeno deps
articles-3articles-3fulldev/uiBlocksFreeno deps
articles-4articles-4fulldev/uiBlocksFreeno deps
banner-2banner-2fulldev/uiBlocksFreeno deps
blocks-1blocks-1fulldev/uiBlocksFreeno deps
BlockDex

Built by

Kynth Studio

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

BlockDex

BlockDex

Built by

Kynth Studio

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

BlockDex

BlockDex

Built by

Kynth Studio

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

BlockDex