once-ui-cli

3.1.2 • Public • Published

Once UI CLI

A powerful command-line interface for installing Once UI components in your Next.js projects. Seamlessly integrate beautiful, reusable UI components with automatic dependency resolution and SCSS support.

Once UI CLI

Features

  • Interactive component selection
  • Automatic dependency resolution
  • Smart project structure detection
  • Fast and easy installation
  • SCSS module support

Quick Start

# Install globally (optional)
npm install -g once-ui-cli

# Or use directly with npx
npx once-ui-cli <command>

Usage

Initialize and Select Components

npx once-ui-cli init

Components will be installed in the appropriate directory based on your project structure with the necessary dependencies and SCSS modules.

Add a Specific Component

npx once-ui-cli add <component-name>

Example:

npx once-ui-cli add Accordion

List Available Components

npx once-ui-cli list

Available Components

Click to expand component list
  • Accordion
  • Arrow
  • Avatar
  • AvatarGroup
  • Badge
  • Background
  • Button
  • Carousel
  • Card
  • Column
  • Checkbox
  • Chip
  • ColorInput
  • DateInput
  • DatePicker
  • DateRangePicker
  • Dialog
  • Dropdown
  • DropdownWrapper
  • Fade
  • Feedback
  • Flex
  • GlitchFx
  • Grid
  • Heading
  • HoloFx
  • Icon
  • IconButton
  • InlineCode
  • Input
  • InteractiveDetails
  • Kbd
  • LetterFx
  • Line
  • Logo
  • LogoCloud
  • NavIcon
  • NumberInput
  • Option
  • PasswordInput
  • RadioButton
  • RevealFx
  • Row
  • Scroller
  • SegmentedControl
  • Select
  • Skeleton
  • SmartImage
  • SmartLink
  • Spinner
  • StatusIndicator
  • StylePanel
  • StyleOverlay
  • Switch
  • Tag
  • TagInput
  • Text
  • Textarea
  • TiltFx
  • Toast
  • Toaster
  • ToastProvider
  • ToggleButton
  • Tooltip
  • User
  • UserMenu

Documentation

Learn more about Once UI in the Once UI docs.

Contributors

CLI built by Suhaib King (https://github.com/suhaib3100) Once UI is built by Lorant (https://github.com/lorant-one) and Zsofia (https://github.com/zsofiakm)

📄 License

MIT


Built with ❤️ by the Once UI Team

Package Sidebar

Install

npm i once-ui-cli

Weekly Downloads

35

Version

3.1.2

License

MIT

Unpacked Size

19.1 kB

Total Files

14

Last publish

Collaborators

  • suhaibking
  • once-ui-system