Skip to content

Add a shadcn starter for Astro projects - #102

Closed
ridala wants to merge 2 commits into
flowtricks:mainfrom
ridala:shadcn-starter
Closed

ridala wants to merge 2 commits into
flowtricks:mainfrom
ridala:shadcn-starter

Conversation

@ridala

@ridala ridala commented Nov 25, 2026

Copy link
Copy Markdown

What changed

Stacki can create a shadcn/ui project from the welcome screen. The setup wizard creates an Astro site with Base UI, Radix UI, or React Aria. It accepts a preset code from shadcn Create or lets you choose a style and icon library.

The starter opens with an editable Style Gallery and Component Gallery. You can change theme colors in Variables, insert shadcn components from the Components panel, and change button cursors or enable right-to-left previews in Project Settings.

How to try it

  1. Choose Start from shadcn on the welcome screen and create a site.
  2. Open both galleries. Edit a card on the canvas, change a theme color in Variables, and insert a component.
  3. Open Project Settings → shadcn and try the button cursor and right-to-left options.

Testing

All 1,456 suites passed in the local pre-push check. Generated Astro sites built and passed astro check with all three bases.

This branch also includes a separate EmDash fix. Uncolored shell arguments now stay on one line in the install dialog, which fixes the existing layout test failure.

Demo

Stacki-shadcn-demo.mp4

Let Stacki users create a shadcn Astro project with editable galleries, reusable components, and project settings. Use the upstream registry so generated components follow the selected base and preset.
The wrap rule only covered colored tokens. Render bare shell arguments in spans when EmDash requests word wrapping so names such as react-dom stay intact.
@flowtricks flowtricks closed this Nov 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants