BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/adrianub/separator

separator

adrianub/separator
FreeComponent

adrianub publishes no description for this item.

Live preview

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

Install it

npx shadcn@latest add https://ui.adrianub.dev/r/styles/new-york/separator.json

Source

ui/separator.tsui.adrianub.dev/r/styles/new-york/separator.json
1import { computed, Directive, input } from '@angular/core'
2import { cn } from '~/lib/utils'
3
4@Directive({
5 standalone: true,
6 selector: '[ubSeperator]',
7 host: {
8 '[class]': 'computedClass()',
9 },
10})
11export class UbSeparatorDirective {
12 readonly class = input<string>()
13 readonly orientation = input<'horizontal' | 'vertical'>('horizontal')
14
15 protected computedClass = computed(() =>
16 cn(
17 'shrink-0 bg-border',
18 this.orientation() === 'horizontal' ? 'h-[1px] w-full' : 'h-full w-[1px]',
19 this.class(),
20 ),
21 )
22}

Files it writes

  • ui/separator.ts

Facts

Registry
adrianub
Type
registry:ui
Access
Free
Files written
1
Licence
MIT
First indexed
2026-08-03
Last confirmed
yesterday

Go to the source

Docs on adrianub ui.adrianub.dev adrian-ub/shadcn-ng on GitHub Raw registry item This item as JSON

More from adrianub

All 23 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
accordionaccordionadrianubComponentsFree1 dep
alertalertadrianubComponentsFreeno deps
aspect-ratioaspect-ratioadrianubComponentsFree1 dep
avataravataradrianubComponentsFree1 dep
badgebadgeadrianubComponentsFreeno deps
breadcrumbbreadcrumbadrianubComponentsFreeno deps
buttonbuttonadrianubComponentsFreeno deps
cardcardadrianubComponentsFreeno 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