@xaheen-ai/flowbite-registry
v0.1.13
Published
JSON registry + TypeScript types + helpers for Flowbite components.
Downloads
8
Readme
@xaheen-ai/flowbite-registry
JSON registry + TypeScript types + helpers for Flowbite components.
Installation
pnpm add @xaheen-ai/flowbite-registryUsage
import { FlowbiteItem } from '@xaheen-ai/flowbite-registry';
import { loadRegistry } from '@xaheen-ai/flowbite-registry';
// Load the registry
const items: FlowbiteItem[] = await loadRegistry();
// Use the TypeScript types
const button: FlowbiteItem = {
name: "Button",
kind: "component",
frameworks: ["react", "vue"],
// ...
};Structure
components/oss/- Open source component definitionsblocks/oss/- Open source block definitionslayouts/oss/- Open source layout definitionsexamples/- Example implementationsdocs/oss/- Documentation chunkssrc/schema.d.ts- TypeScript definitionssrc/loader.ts- Helper to load registry data
Pro Policy
This package ships only OSS assets. Pro components are not included and must be added separately by licensed users.
