
Getting Started Guide
How to Use StackBlitz
A practical guide to get you up and running with StackBlitz. Written by Delv Editorial, Delv Team.
Getting started with StackBlitz
After reading this guide, you'll be able to create and run your first web application using StackBlitz, with instant live previews of your code changes.Step 1: Sign up and set up
- Go to stackblitz.com.
- Click on the "Get Started" button on the homepage.
- If prompted, sign up for a free account using your email or GitHub account. If you already have an account, just log in.
- Once logged in, you’ll be taken to the StackBlitz dashboard where you can start a new project.
Step 2: Your first project
- Click on the "Create New Project" button.
- Choose a framework: Angular, React, or Vue.
- After selecting a framework, a new project will open in the editor.
- In the left sidebar, you’ll see your project files. Open
src/app/app.component.ts(for Angular) orsrc/App.js(for React) to edit the main component. - Change the default text inside the component to something like “Hello, StackBlitz!”.
- As you type, notice the live preview on the right side updating instantly. This is where you can see your changes in real-time.
Step 3: Get better results
- Use the "Preview" button at the top right to open your project in a new tab for a full view.
- Explore the "Dependencies" section in the left sidebar to add libraries or frameworks you might need. Click "Add Dependency" and type the package name.
- To save your project, click on the "Save" icon at the top left. You can also share your project by clicking the "Share" button.