r/shadcn

▲ 7 r/shadcn+4 crossposts

A simple CapacitorJS guide with React, Supabase and shadcn/ui

When I first started building mobile apps with CapacitorJS, I was completely lost. There are so many ways to structure an app, choose plugins, and decide what should stay web vs native.

After building more Capacitor apps, I created Capstart: a simple and opinionated guide to build CapacitorJS apps with React, Supabase, shadcn/ui, and useful native plugins.

It’s not “the only way” to use Capacitor, just a clear starting point I wish I had when I began!

https://capstart.dev

u/AdrienADV — 22 hours ago
▲ 29 r/shadcn+1 crossposts

A tree-view block for shadcn — Figma, VS Code, Notion-style trees in one install

shadcn has a block for almost everything except the one widget that shows up in every real app — a tree-view. I just shipped one: @grida/tree-view, installable as a shadcn block. One line in your project and you've got the same tree-view shape behind Figma's layers panel, VS Code's file explorer, Notion's sidebar, and Finder's columns — themed with your own Tailwind tokens, like every other shadcn component.

npx shadcn@latest add https://grida.co/r/tree-view-row.json

Five live themed demos on the landing page so you can see the same engine wearing five different skins: https://grida.co/packages/@grida/tree-view Drop it in, restyle it, ship it.

u/softmarshmallow — 2 days ago
▲ 17 r/shadcn

6 newly released shadcn registries you don't know

6 new shadcn registries dropped in the middle of may 2026

trophy-ui, wensity, corr, paddle, framecn, turbopills-ui

links to the registires can be found here

u/PerspectiveGrand716 — 2 days ago
▲ 1 r/shadcn

How to control radius of components individually?

In my shadcn project, I want to customize the border-radius for individual components without affecting others. For example, I'd like fully rounded buttons while keeping other components at their default radius. Creating separate CSS variables for each component feels messy, what's a better solution?

reddit.com
u/According-Parking-93 — 2 days ago
▲ 52 r/shadcn

shadcn-google-maps: Places autocomplete on the new Google API

I needed address autocomplete in a Next.js form and kept landing on examples that still use AutocompleteService or the old embedded Google widget based on u/vis.gl/react-google-maps . Google’s current docs push you toward AutocompleteSuggestion instead. Even codex struggled to nail it in one shot. Took me a bit to wire that up with shadcn/ui, so I packaged it as a registry component.

It’s a normal shadcn-styled input with a suggestion dropdown, debounced search, keyboard nav, and session tokens so the autocomplete + place-details calls bill as one session. onPlaceSelect gives you { address, lat, lng, placeId } without dragging google.maps types through your app. There’s an optional countryCode prop if you want to bias results.

"use client"

import { PlacesAutocomplete } from "@/components/ui/places-autocomplete"

export function AddressField() {
  return (
    <PlacesAutocomplete
      placeholder="Search for an address"
      onPlaceSelect={(place) => {
        console.log(place.address, place.lat, place.lng, place.placeId)
      }}
    />
  )
}

You will need Maps JavaScript API and Places API (New) enabled, plus NEXT_PUBLIC_GOOGLE_MAPS_API_KEY. Lock the key to your domains with HTTP referrer restrictions.

And I know, mapbox is a solid choice if you control the stack, but some products still need Google for user trust and the rich address coverage it provides.

Demo: https://shadcn-google-maps.vercel.app/

Happy to hear any feedback or ideas! A star on the repo is always appreciated.

u/gurbaaaz — 4 days ago
▲ 17 r/shadcn

Launching Matos UI My shadcn/ui Library

I'm a Brazilian frontend developer and for the past few months I've been spending a lot of time building UI components, animations and experimenting with frontend interactions.

A lot of these ideas came from things I was creating at work and in personal projects, so I decided to turn everything into a public open-source library called Matos UI.

Still a work in progress, but I finally felt like sharing it publicly.

Would love to hear what you guys think 🙌

u/Individual-Island908 — 4 days ago
▲ 28 r/shadcn

A small collection of frontend work I built recently

Over the last 6–8 months, I’ve been spending most of my time building interactive frontend experiments and polished UI systems.

This video is a small collection of some of the things I worked on:

  • animated components
  • dashboards
  • landing pages
  • portfolio experiments
  • WebGL shaders
  • UI / motion interactions

Mostly built using React, Next.js, Tailwind, Motion, and GSAP.

I’ve been trying to focus not just on visuals, but also on performance, responsiveness, and building production-ready frontend experiences.

Would love to hear what people think.

u/amanshakya0018 — 4 days ago
▲ 7 r/shadcn

Shadcn NextJs OpenSource XC

Been working on a productivity app for a while and needed a calendar. Tried a few existing ones, got frustrated, ended up building my own. It got big enough that I pulled it out into its own package.

It's called bahrawy-calendar. Month, week, and day views. Recurring events with actual RFC 5545 support (not some half-baked "repeat every week" thing). Drag and drop. Conflict detection. Google Calendar, Outlook, and Apple Calendar overlays where the OAuth flow is handled for you.

If you use shadcn, you can grab it in one command:

npx shadcn@latest add "https://raw.githubusercontent.com/bahrawyX/bahrawys-calender/main/registry/bahrawy-calendar.json"

That drops a styled component into your components/ui/ using your existing shadcn primitives. Or just npm install bahrawy-calendar if you want the headless version.

The thing I'm most happy with is the architecture. You can either use <BahrawyCalendar /> as a drop-in (renders everything, zero config) or use the provider + Zustand stores directly and build your own UI from scratch. Same stores, same logic, your layout.

Some stuff worth mentioning:

  • Keyboard first. N = new event, T = today, M/W/D = switch views, arrows = navigate, Ctrl+Z = undo
  • Persistence is an adapter pattern. Ships with localStorage, but you can swap in Supabase or whatever in like 10 lines
  • Recurrence uses rrule as an optional peer dep. If you don't need recurring events, you don't pay for it
  • TypeScript, tree-shakable, ESM + CJS

It's not perfect. The drag and drop could be smoother, and I want to add multi-day events that span across rows in month view. But it works, I use it daily in my own app, and I figured other people might find it useful too.

npm: https://www.npmjs.com/package/bahrawy-calendar

GitHub: https://github.com/bahrawyX/bahrawys-calender

https://preview.redd.it/6jjv1lhylo1h1.png?width=1919&format=png&auto=webp&s=6c3ffc269e1426dccdbbdce44fcecbb78e05688b

Would love feedback. If you try it and something breaks or feels off, open an issue. Still actively working on it.

reddit.com
u/BahrawyZ — 5 days ago
▲ 140 r/shadcn+4 crossposts

be honest developers, which icon library are you using in your projects?

u/TrT_nine — 9 days ago
▲ 22 r/shadcn

I tested thousands of shadcn presets for accessibility - only mauve fully passed

I ran a script across a huge number of shadcn preset combinations and turned a small subset of the results into a filterable page with 8,000+ high contrast presets.

You can:

  • filter presets that already fully pass AA contrast checks
  • preview real UI with presets applied
  • save presets for later simply by clicking the heart button

Fun fact: from everything tested so far, only the mauve presets consistently achieved 100% AA contrast for normal text across the entire system.

Check them out here: high contrast shadcn presets

Feedback welcome!

u/gamsto — 6 days ago
▲ 4 r/shadcn

What Figma library should I use?

Hello. I’m new to shadcn as a designer and was wondering if people in the community have any specific recommendations on what library to use.

There are a lot of options and all require a significant investment so I want to do some research 😅

Thanks!

reddit.com
u/Tibulba — 8 days ago
▲ 46 r/shadcn+2 crossposts

I built framecn to help ship videos faster

The AI video generation space is quite heating up with Remotion, Hyperframes, Editframe, etc. and it has never been more easier to create videos with code.

That's when I came across remocn which is shadcn/ui-style registry for video components built using Remotion but Remotion has its limitations that Editframe solves by making use of pure HTML, CSS.

So I built framecn, a shadcn/ui-style registry for video components.

Some of the features:

  • Built on Editframe
  • Zero config, one command setup.
  • shadcn/ui compatible (simply copy-paste)
  • 50+ components
  • Fully customizable

100% free and open-source.

GitHub: https://github.com/shadcn-labs/framecn
Docs: https://www.framecn.dev/

u/dank_clover — 13 days ago
▲ 33 r/shadcn

How do you generate this animation?

I was always amazed by this and I want to stars creating animations for my own project. Can anyone tell me how to do this? Is this a gif or another format type? What tool, what language? Can it be done faster with an ai tool? Do i need to code it or is there a visual tool for it?

u/mikeplus10 — 14 days ago