One suggestion would be adding a focus trap, such as when a Dialog opens. It's nice to use the tab key to move around the Dialog (inputs and buttons). Currently focus leaves to the page behind. It might be as simple as adding https://alpinejs.dev/plugins/focus#x-trap
Show HN: Basecoat – shadcn/UI components, no React required
11–20 of 79 posts
Looks great!
Re: Show HN: Basecoat – shadcn/UI components, no React required
#12Re: Show HN: Basecoat – shadcn/UI components, no React required
#13So if I understand correctly all JS is custom-written Alpine JS components.
And all CSS is custom classes that use Tailwind @apply, I'm not sure why, can someone elaborate.
Re: Show HN: Basecoat – shadcn/UI components, no React required
#14Can someone eli5 how this is different from something like bootstrap?
Re: Show HN: Basecoat – shadcn/UI components, no React required
#15Can someone eli5 how this is different from something like bootstrap?
Bootstrap is a completely different framework with a different design language (one that many may precieve as out of fashion). This library/framework allows folks to use ShadCN (a component library) similar to Bootstrap which is only available through React/Vue/Svelte, etc.. with vanilla HTML.
Re: Show HN: Basecoat – shadcn/UI components, no React required
#16FYI I don't think all of your styles are loading on the page. Tried safari and firefox and it doesn't look right.
Re: Show HN: Basecoat – shadcn/UI components, no React required
#17Can someone eli5 how this is different from something like bootstrap?
Bootstrap is a completely different framework with a different design language (one that many may precieve as out of fashion). This library/framework allows folks to use ShadCN (a component library) similar to Bootstrap which is only available through React/Vue/Svelte, etc.. with vanilla HTML.
So it's different in visual design, but the goal here is actually to make shadcn more like bootstrap? Hmm.. I think I like that.
Re: Show HN: Basecoat – shadcn/UI components, no React required
#18Can someone eli5 how this is different from something like bootstrap?
crayons vs colored pencils
Re: Show HN: Basecoat – shadcn/UI components, no React required
#19Very cool! Are you manually porting all components or are you using some sort of automated process?