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.
- Interactive component selection
- Automatic dependency resolution
- Smart project structure detection
- Fast and easy installation
- SCSS module support
# Install globally (optional)
npm install -g once-ui-cli
# Or use directly with npx
npx once-ui-cli <command>
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.
npx once-ui-cli add <component-name>
Example:
npx once-ui-cli add Accordion
npx once-ui-cli list
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
Learn more about Once UI in the Once UI docs.
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)
MIT
Built with ❤️ by the Once UI Team