UNPKG

starwind

Version:

Add beautifully designed components to your Astro applications

42 lines (25 loc) 1.11 kB
# Starwind [![NPM version](https://img.shields.io/npm/v/starwind.svg?style=flat)](https://npmjs.org/package/starwind) [![NPM downloads](https://img.shields.io/npm/dm/starwind.svg?style=flat)](https://npmjs.org/package/starwind) [![License](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE) [![Twitter Follow](https://img.shields.io/twitter/follow/webreaper.svg?style=social)](https://twitter.com/webreaper) A CLI for adding Astro components to your project. ## Initialization Use the `init` command to initialize your project: ```bash npx starwind@latest init ``` ## Adding Components Use the `add` command to add components to your project: ```bash npx starwind@latest add [components...] ``` ### Example ```bash npx starwind@latest add button ``` You can also run the command without any argument to view a list of available components: ```bash npx starwind@latest add ``` ## Documentation Visit [https://starwind.dev/](https://starwind.dev/) to view the documentation. ## License Licensed under the [MIT license](https://github.com/starwind-ui/starwind-ui/blob/main/LICENSE).