shadcn.io is not affiliated with official shadcn/ui
Community Join Onboarding Block for React
A setup panel of four ruled channel rows, each with a Join button and a fold-out of recent threads, a Join all button and a Save that says how many changes are waiting.
Installation
Overview
Help a new member find their place before they have said a word, with this channel step for React with Base UI. It is a setup panel of Campfell, a maker community, ruled by Guides: four rows, one for each channel, each with an initials tile, the channel's name, its member count in compact figures ("4.2K members") and one line on what it is about. Each row has its own Join button, which reads Joined when it is on, and an Accordion fold-out, "What's being said", with two recent thread titles and their reply counts. A band over the rows counts "Joined 1 of 4" and has a Join all button. Joins are drafts until Save channels, the one Shine Button; the foot says how many changes are not saved yet or what was saved, and Discard puts the joins back to what was saved.
FAQ
How do I change the channels?
Edit CHANNELS. Each has an id, two typed letters for its tile, a members count, a name, a topic line and a list of threads (a title and a reply count). START lists the channels that are joined when the page opens, and what Save compares against.
What do the Join buttons do?
Each is a real toggle button, named "Join Show and tell" and, once on, "Joined Show and tell", with a fixed width so the row never changes. Joining changes the draft only, the count and the foot's "1 change not saved yet." follow it, and nothing is posted until you wire Save.
Can I look at a channel without joining it?
Yes. "What's being said" folds out the channel's two latest threads, each in a row of one height. Any number can be open at once and the panel simply grows; folding them away shrinks it. Tab moves between the fold-out buttons; arrow keys do not.
What do Save, Discard and Join all say?
Save and Discard are always in the tab order and look quiet when nothing changed; pressing one then says "No changes to save." or "No changes to discard." Join all joins everything, and once everything is joined it says "You are in all 4 channels." The foot's line is the panel's one polite status.
Related
- Pro
Content Personalization Onboarding
Several choicesA setup panel split in two: twelve topic chips on one side and a five-story feed on the other that re-orders as topics are picked, with the matches first, marked and counted.
- Pro
No Channels Empty State
Inbox and chatA team chat before the team joins a channel: the browse dialog shown open in place over a drawn chat shell, with a hash sign, a search that filters five channels, a Join toggle on each and one Join button that counts them.
- Pro
Mission Tiles Onboarding
ChecklistsAn online-shop builder's launch checklist as four framed tiles in a two by two grid, each with a small drawing, a link to the job and a Mark done toggle, and a ring in the header that fills as you go.
- Pro
Setup Checklist Onboarding
ChecklistsA contract tool's get-started guide as a setup panel: six steps in a single-open accordion with one button in the open step, a count that follows what you finish, a menu that hides completed steps or the guide, and a pill that opens it again.
- Pro
Compliance Checklist Onboarding
ChecklistsA clinic compliance workspace's setup step as a whole screen: frameworks as tabs that show how many of four sample requirements are done, rows with a checkbox, a line of evidence and an owner, a progress line that follows the tab, and Mark all complete with Undo.
- Pro
Setup Progress Onboarding
ChecklistsA teachers' app's setup progress as a whole screen: a big rolling percent over a bar, a line of steps done and minutes to go, one button that finishes the next step, and three foldable bands that list every step as Done, Next up or To do.