A lightweight CLI tool to initialize, add, and remove React UI components in your projects.
Initialize the configuration file pejay-ui.json in the root of your project.
npx pejay-ui initDownload and install a component, automatically setting up its utilities (like cn) and resolving component-to-component dependencies.
npx pejay-ui add <component-name>Example: npx pejay-ui add button or npx pejay-ui add form/date-picker
Safely delete a component's files, and clean up any unused utilities or package dependencies that were installed with it.
npx pejay-ui remove <component-name>Example: npx pejay-ui remove button
Below is the list of components you can add. Each has a copyable command block with a working native copy button on GitHub and NPM:
button: Premium interactive button supporting multiple variants (solid, soft, ghost), loaders, and custom hover tooltips.npx pejay-ui add button
form/input: Standard text input field with validation, labels, and error messaging.npx pejay-ui add form/input
form/amount-input: Numeric input configured for currency entry with symbol prefixes and formatting.npx pejay-ui add form/amount-input
form/checkbox: Styled single checkbox input.npx pejay-ui add form/checkbox
form/checkbox-group: Group of checkboxes managing single or multiple selection states with item indices.npx pejay-ui add form/checkbox-group
form/email-input: Dedicated input for email addresses with prefix icon.npx pejay-ui add form/email-input
form/file-input: Premium dropzone-style file upload component supporting drag-and-drop and progress/preview states.npx pejay-ui add form/file-input
form/number-input: Input field for numerical values with increment/decrement steppers.npx pejay-ui add form/number-input
form/password-input: Secure text input with eye icon toggle to show/hide the password.npx pejay-ui add form/password-input
form/phone-input: Formatted input field for telephone numbers.npx pejay-ui add form/phone-input
form/radio: Styled radio selection dot.npx pejay-ui add form/radio
form/radio-group: Group of mutually exclusive radio options.npx pejay-ui add form/radio-group
form/range-slider: Slider controls for choosing values from a numeric range.npx pejay-ui add form/range-slider
form/switch: Styled toggle switch representing boolean options.npx pejay-ui add form/switch
form/textarea: Multiline text area input with character counter/limit indicators.npx pejay-ui add form/textarea
form/url-input: Styled input field specifically formatted for web addresses/links.npx pejay-ui add form/url-input
form/date-picker: Calendar-based date selector popover with inline month/year dropdowns.npx pejay-ui add form/date-picker
form/date-range-picker: Date range selector to pick start and end dates with highlight ranges.npx pejay-ui add form/date-range-picker
form/time-picker: Dropdown component for picking specific hours, minutes, and AM/PM.npx pejay-ui add form/time-picker
form/time-range-picker: Popover time selector for configuring custom duration intervals.npx pejay-ui add form/time-range-picker
dropdown/select-input: Elegant single-select searchable dropdown input.npx pejay-ui add dropdown/select-input
dropdown/multiselect-input: Searchable multiselect dropdown which renders selected options as dismissible tag pills.npx pejay-ui add dropdown/multiselect-input
tanstack-query-client: Bare-bone TanStack Query client and context provider setup, copied directly into your project'ssrc/tanstack-query/.npx pejay-ui add tanstack-query-client
react-router-client: Bare-bone React Router client layout, routing structure, and route guard setup.npx pejay-ui add react-router-client