Skip to content
Playground

Recipes

Optional, consumer-owned components powered by specialized engines.

Recipes bring specialized product capabilities into your application without adding their engines to every Zenos project. The CLI installs the required dependency and copies editable source into your component directory.

Core components└── installed from @zentara-co/zenos-ui Recipes├── installed with the zenos CLI├── copied into your application├── powered by an optional specialist library└── owned and editable by your team

Import core controls and layout primitives directly from @zentara-co/zenos-ui. Install a recipe when the application needs a calendar, carousel, chart, data table, or file upload. Recipe dependencies never become baseline dependencies of the core package.

pnpm dlx @zentara-co/zenos-cli add calendar

Run the command from the consumer project. Zenos detects the package manager and component destination, installs only the missing engine, and adds every source file that belongs to the recipe.

RecipeWhat it addsOptional engine
Animated NumberAnimated numeric text with Text typography and number formatting@number-flow/react
Time PickerSingle-time and range selection with Input variants and Zenos theme tokenstimepicker-ui-react, timepicker-ui
Animated LabelRolling text labels with width transitions and Text typographyNone
CalendarCalendar, DatePicker, and DateRangePicker@daypicker/react
CarouselA compound carousel with navigation and paginationembla-carousel-react
ChartChartContainer, config, tooltip, legend, and semantic chart tokensrecharts
Data TableSorting, filtering, pagination, selection, visibility, loading, and empty states@tanstack/react-table
File UploadDrag-and-drop selection, browse controls, validation, file lists, and source actionsreact-dropzone

Each engine keeps ownership of its specialist behavior. Zenos supplies the public composition, styling, semantic tokens, controls, and accessibility integration around it.

Recipe files live in your application and use public Zenos imports. You can change their markup and behavior after installation without patching @zentara-co/zenos-ui or importing from the Zenos registry.

TSX
import { DatePicker } from "@/components/ui/date-picker";

The exact import path follows the component directory and aliases already configured by the project.

Inspect a recipe before writing files:

Bash
npx @zentara-co/zenos-cli add chart --dry-run

The dry run lists dependencies, files, and token changes without modifying the project. Existing recipe files are never silently replaced. Use --overwrite only when you intentionally want the current registry version to replace local edits.

For package-manager detection, destination rules, conflict behavior, and every supported command, see the CLI guide.