BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/efferd/full-width-divider

full-width-divider

efferd-/full-width-divider
FreeComponent

Full-width divider component.

Live preview

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

Install it

npx shadcn@latest add http://efferd.com/r/full-width-divider.json

Source

registry/components/full-width-divider.tsxefferd.com/r/full-width-divider.json
1import { cn } from "@/lib/utils";
2
3type FullWidthDividerProps = React.ComponentProps<"div"> & {
4 contained?: boolean;
5 position?: "top" | "bottom";
6};
7
8export function FullWidthDivider({
9 className,
10 contained = false,
11 position,
12 ...props
13}: FullWidthDividerProps) {
14 return (
15 <div
16 aria-hidden="true"
17 className={cn(
18 "pointer-events-none absolute h-px bg-border",
19 // full-bleed (default)
20 "data-[contained=false]:left-1/2 data-[contained=false]:w-screen data-[contained=false]:-translate-x-1/2",
21 // contained
22 "data-[contained=true]:inset-x-0 data-[contained=true]:w-full",
23 // position
24 position &&
25 "data-[position=top]:-top-px data-[position=bottom]:-bottom-px",
26 className
27 )}
28 data-contained={contained}
29 data-position={position}
30 {...props}
31 />
32 );
33}

Files it writes

  • registry/components/full-width-divider.tsx

Facts

Registry
efferd
Type
registry:component
Access
Free
Files written
1
Licence
the repository states none
First indexed
2026-08-02
Last confirmed
today

Go to the source

Docs on efferd efferd.com Raw registry item This item as JSON

More from efferd

All 201 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
apple-iconapple-iconefferdComponentsFreeno deps
auth-dividerauth-dividerefferdComponentsFreeno deps
copy-buttoncopy-buttonefferdComponentsFreeno deps
decor-icondecor-iconefferdComponentsFreeno deps
discord-icondiscord-iconefferdComponentsFreeno deps
facebook-iconfacebook-iconefferdComponentsFreeno deps
figma-iconfigma-iconefferdComponentsFreeno deps
formaterformaterefferdComponentsFreeno 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