Skip to main content
zerotal

Documentation


Documentation / @zerotal/flow-ui / registry / ComponentEntry

Interface: ComponentEntry

Defined in: flow-ui/src/registry.ts:34

A component available to reno flow add.

Properties

name

name: string

Defined in: flow-ui/src/registry.ts:36

kebab-case id used on the CLI — e.g. dropdown-menu.


title

title: string

Defined in: flow-ui/src/registry.ts:38

Human title for listings.


description

description: string

Defined in: flow-ui/src/registry.ts:39


source

source: string

Defined in: flow-ui/src/registry.ts:41

Path relative to the package's src/.


target

target: string

Defined in: flow-ui/src/registry.ts:43

Destination filename relative to the app's UI dir.


utils

utils: ("cn" | "gva")[]

Defined in: flow-ui/src/registry.ts:45

Util ids this component needs (for listing; utils are always ensured on add).


requires?

optional requires?: string[]

Defined in: flow-ui/src/registry.ts:47

Sibling component ids this one imports, copied alongside it.