Installation
How to install and set up StarUI in your project.
Get started with StarUI in minutes. Build beautiful, accessible components with Python and StarHTML.
Quick Start
Import and use components in your app
Installation
Install the StarUI CLI
Install StarUI globally using pip to access the CLI commands.
Initialize your project
Set up StarUI in your project directory. This creates the configuration and installs dependencies.
Creates starui.json configuration file
Configures component paths and settings
Installs required dependencies
StarHTML, Tailwind CSS, and component utilities
Add components to your project
Install individual components with their dependencies automatically resolved.
Usage Examples
Basic Component Usage
Import and use components from your local project
Interactive Components
Add reactivity using Datastar for dynamic user interfaces
Clicked:
Onwards
The Constellation
34+ components. Every one interactive, every one yours to modify.
Browse Components →The Field Guide
Signals, reactivity, the server-first model — learn the framework beneath the components.
Visit StarHTML →The Source
Apache 2.0. Read the code, open an issue, send a patch.
View on GitHub →