Installation
Add f-ui registry components to your app with the shadcn CLI—same workflow as ui.shadcn.com.
This registry follows the shadcn/ui registry schema and is meant to be consumed with the shadcn CLI (shadcn@latest). Use a direct URL to a published registry-item JSON, or register a namespace in components.json and add by name.
Prerequisites
Your project should already use shadcn/ui (Tailwind, components.json, @/components/ui aliases). If you are starting fresh:
pnpm dlx shadcn@latest initnpx shadcn@latest inityarn dlx shadcn@latest initbun x shadcn@latest initAdd a Component from This Registry
Point add at the item JSON served under /r (built from src/registry.json).
Example — Date picker (date-picker item → date-picker.json; range picker is date-range-picker.json):
pnpm dlx shadcn@latest add https://ui.isaacfei.com/r/date-picker.jsonnpx shadcn@latest add https://ui.isaacfei.com/r/date-picker.jsonyarn dlx shadcn@latest add https://ui.isaacfei.com/r/date-picker.jsonbun x shadcn@latest add https://ui.isaacfei.com/r/date-picker.jsonThe CLI resolves dependencies and registryDependencies (e.g. button, popover from the default registry) and writes files under the paths declared in the item.
Namespace (Optional)
To install with a short name instead of a long URL, add a registries entry in your components.json:
{
"registries": {
"@f-ui": "https://ui.isaacfei.com/r/{name}.json"
}
}Then:
pnpm dlx shadcn@latest add @f-ui/datenpx shadcn@latest add @f-ui/dateyarn dlx shadcn@latest add @f-ui/datebun x shadcn@latest add @f-ui/dateHere {name} is the registry item name (e.g. date-picker → date-picker.json).
Registry Index
The full published manifest is available at /r/registry.json. It lists all items for tooling or manual inspection.
Local or Forked Registries
Replace https://ui.isaacfei.com with your own origin when you self-host or run behind a dev tunnel. Item URLs always follow /r/{name}.json (for example date-picker.json).
Next
- Date Picker and Date Range Picker — usage, props, and examples for the
date-pickeranddate-range-pickerregistry items (shareddate-internalslib). - Text Inputs —
email-input,url-input, andphone-inputregistry items. - Empty Value Placeholder —
empty-value-placeholderregistry item. - Currency Input —
currency-inputandcurrency-formatregistry items. - Language Selector —
language-selectorregistry item. - Theme Controls —
theme-mode-selectorandtheme-mode-toggleregistry items. - Code Block —
@f-ui-private/code-block(Bearer token; Shiki, line numbers, copy). - Mermaid Renderer —
@f-ui-private/mermaid-renderer. - Markdown Renderer —
@f-ui-private/markdown-renderer. - Data Table —
@f-ui-private/data-table.