Component
CommunityRow / ChannelRow
Two list-row variants. Schools and communities up top, channels (with lock state) below.
Your communities
Towson University
Olivia: lmk if anyone needs a ride to move-in π
Lenoir-Rhyne U.
Ask A LR Bear: We just dropped move-in dates β
RIT Undergrad Admissions
Counselor: financial aid forms close Friday.
Class of 2030 Social
maya: who else is matching with roommates this week?
Towson channels
Announcements
College reps post here weekly
Ask A Counselor
Get answers from admissions
Group Chat
Open chat, all welcome
Admitted Tigers
Unlocks when you mark βAdmittedβ
Communities + channel sidebar
The audit flagged the legacy Manage-Communities row. The destructive Leave action looked louder than the high-value status update. This version pushes Leaveinto a swipe action and leads with the school's color identity.
Props (CommunityRow)
| Prop | Type | Default | Description |
|---|---|---|---|
| name | string | β | School / community name. |
| preview | string | β | Latest message preview. |
| avatar | ReactNode | β | Identity badge (40-48px). |
| timestamp | string | β | Right-aligned relative time. |
| unread | boolean | β | Emphasizes the row. |
| unreadCount | number | β | Badge bubble; hidden when undefined. |
Props (ChannelRow)
| Prop | Type | Default | Description |
|---|---|---|---|
| name | string | β | Channel name. |
| description | string | β | What the channel is for. |
| locked | boolean | β | Show lock state instead of channel hash. |
| lockedReason | string | β | Replaces description when locked. |
| unread | boolean | β | Show unread badge. |
| unreadCount | number | β | Badge count. |