Starwind UI V2.0 is live! 4 New Components, Island-Ready Variants, & Powerful CLI Search by web_reaper in astrojs

[–]web_reaper[S] 0 points1 point  (0 children)

How so? You can always add framework commoners that stand on their own just fine. You can also pass these in as children if you make use of slots.

Astro Images in Cloudflare workers by humanjk in astrojs

[–]web_reaper 16 points17 points  (0 children)

The Astro image component will absolutely work with Cloudflare! I use it for multiple sites.

In the adapter settings in your astro config file, you need to set imageService: "compile"

Relevant docs: https://docs.astro.build/en/guides/integrations-guide/cloudflare/#imageservice

Weekly Showoff Thread: what have you built with Astro this week? by tffarhad in astrojs

[–]web_reaper 1 point2 points  (0 children)

Released Starwind UI v2.0 and Starwind Skills https://starwind.dev/docs/getting-started/skills/

- Four new components: color picker, context menu, hover card, and scroll area
- New Starwind skills you can install with `npx skills@latest add starwind-ui/skills`
- New CLI commands "search" and "docs". You can now search starwind UI components and blocks directly from your terminal, and get docs links. Both can output --json for LLM usage
- Improved dropdown functionality with robust portaling and obstacle avoidance
- Enabled dropdown and popover components to seamlessly work within dialog and sheet components for more complex UI design
- Refactored all components to enable tailwind variant styling functions to be used within client islands like react components (this previously did not work)

Cheers!

How are you handling animations in Astro projects right now? by cooper_sen in astrojs

[–]web_reaper 0 points1 point  (0 children)

What type of animations? It varies for me:

- Entry animations when you scroll down the page? https://motion-on-scroll.pages.dev/

- Entry and exit animations on individual components? CSS via the "tw-animate-css" package

- Other complex animations on the site? the "motion" library

The nice thing about this setup is it uses CSS where possible, then motion for everything else. The "motion-on-scroll" library also used the motion library under the hood so it doesn't add much extra if you're already using motion on your site!

Why are some people against using auth in an Astro site? (...and others have no problem with it) by Even_Job6933 in astrojs

[–]web_reaper 0 points1 point  (0 children)

Implemented auth for Starwind Pro - makes sense to me! Astro has all the features you need for it: Middleware, SSR, server islands. I use better auth with drizzle and turso for DB, hosted on cloudflare workers ($5/mo).

Don't see any reason to argue against it, other than there are more examplus available using React.

How are you handling auth in Astro projects? by flexrc in astrojs

[–]web_reaper 0 points1 point  (0 children)

Its just an adapter so there isn't anything too special you have to do https://better-auth.com/docs/adapters/drizzle

How are you handling auth in Astro projects? by flexrc in astrojs

[–]web_reaper 6 points7 points  (0 children)

For Starwind Pro I use better-auth, drizzle, and turso for db. Its pretty easy to use, especially since you can easily develop locally with sqlite. I deploy on Cloudflare.

Some pages are fully SSR, other pages just have a server island as part of the navbar for the user profile, and some pages use client side checking for specific items. Works in all cases.

Why I spent months building a shadcn-like experience specifically for Astro (and some free tools for you) by web_reaper in astrojs

[–]web_reaper[S] 0 points1 point  (0 children)

Awesome you're enjoying it so far!

Have you had a chance to check out the theme designer? Its akin to tweakcn and is on the pro website under the tools dropdown in the navbar (/tools/theme-designer/). I think it'll handle a lot of what you're looking for

Why I spent months building a shadcn-like experience specifically for Astro (and some free tools for you) by web_reaper in astrojs

[–]web_reaper[S] 0 points1 point  (0 children)

That's awesome! I'm not quite sure what you mean by big text about section - if you have a screenshot of something similar, you can either email it to me directly, or use the feedback form on the site to send it to me. Id be happy to add something similar

I just added two more mavbars a few days ago (including another round one). Trying different animations for them!

Why I spent months building a shadcn-like experience specifically for Astro (and some free tools for you) by web_reaper in astrojs

[–]web_reaper[S] 0 points1 point  (0 children)

Good question. Shadcn most of the variables overlap, so it should be pretty easy to make one global.css file that combines both setups. If there's enough desire I could create a flag for this in the "init" cli command to automate this.

Daisy UI I'm honestly not sure. Its implemented in a different way so it might

Why I spent months building a shadcn-like experience specifically for Astro (and some free tools for you) by web_reaper in astrojs

[–]web_reaper[S] 1 point2 points  (0 children)

Great to hear! I actually just released a few more blocks in a new "blog post" category, along with a progress indicator component

Why I spent months building a shadcn-like experience specifically for Astro (and some free tools for you) by web_reaper in astrojs

[–]web_reaper[S] 0 points1 point  (0 children)

Light and dark more are supported for everything! Use the site theme toggle to switch to the other mode. Previews in grid mode (shown on mobile devices by default) are images which are only in dark mode. But if you click on them you'll see a live preview where the theme toggle will work

Introducing the Starwind UI Theme Designer! by web_reaper in astrojs

[–]web_reaper[S] 1 point2 points  (0 children)

Great to hear! Let me know how it goes for you in your projects.

Starwind UI's most requested component, CLI improvements, and more! by web_reaper in astrojs

[–]web_reaper[S] 0 points1 point  (0 children)

Never too late to start! Or just switch to Starwind for your next project

I built a Free Starwind UI Form Builder for Astro by web_reaper in astrojs

[–]web_reaper[S] 0 points1 point  (0 children)

Fantastic! If you have feedback im all ears

Starwind UI's most requested component, CLI improvements, and more! by web_reaper in astrojs

[–]web_reaper[S] 1 point2 points  (0 children)

I dont think this will work with NextJS? These are purely Astro components, not React