shadcn.io is not affiliated with official shadcn/ui
Help Sheet Onboarding Block for React
A support inbox's help sheet from the end edge: a search that filters eight articles as you type with the matches marked, the four ways to reach support as real links, and an empty state that offers Clear search.
Installation
Overview
Put help one press away without leaving the screen, with this sheet for React with Base UI. It opens from the Support inbox of Beaconfell, a support inbox: the page header holds an outline Button, Help, and the inbox is drawn under a soft scrim (a list of conversations and an open thread) inside a hairline frame. The Sheet comes from the end edge: a search field that filters eight articles as you type, with every match marked by Search Highlight Text and a count (“3 of 8 articles”); an empty result that says no article matches and offers Clear search; then the four ways to reach us as real links, Docs, Video tutorials, Community and Contact support with “Replies within 4 hours”, and a line for anyone still stuck. For preview the sheet is drawn open in place when the page loads; Help opens the real Sheet with the same content. On a phone the sheet is full width.
FAQ
Why is the sheet already open, and what do I keep?
So you can see it without a click. On load the sheet is a copy drawn in place at the end edge of the inbox: a native dialog element that isn't modal, so nothing is trapped, hidden or focused. Help opens the real Sheet, modal, with its focus trap, Escape and focus return, and the copy stays closed until a reload. Both show the same HelpBody component and the same state. In your app keep the Sheet and drop the copy: the "in-place" state, the scrim and the dialog inside the frame.
How does the search work, and what does it announce?
It filters ARTICLES by a case-insensitive match on the title and the one-line summary, keeps their order, and marks the matches in the titles. The count line updates at once; the polite status line speaks it only after typing rests for a moment, so a screen reader isn't read every letter. An empty result keeps the list's box and shows an empty state with Clear search, which clears the field and puts focus back in it.
What stays local in the demo, and how do I wire it?
The articles and the four resources are typed in the file, and the links go nowhere: each one says it would open in your app and that nothing opens in this demo. In your app set each href to your docs, video library, community and support form, and replace ARTICLES with a search against your help centre.
Which edge does it open from, in right-to-left languages?
The end edge in either direction. The sheet's sides are physical, so the block reads the direction of the page when it opens and picks right for left-to-right text and left for right-to-left. The in-place copy uses logical positions and follows the direction by itself.
How does it work from the keyboard?
Help opens the sheet with Enter or Space and focus moves to the search field. Tab then runs through the articles, the four links and the close button; Escape closes the sheet and returns focus to Help. The articles sit in a scrolling list with a fixed height, so the sheet never changes size as you search.
Related
- Pro
Help Center Command Menu
Pages and docsA messaging app's help centre as a command menu shown open beside an article pane: articles and video tutorials filter as you type, the pane shows the highlighted one's first paragraph, three headings and related reading, and a contact support row is never filtered out.
- Pro
Product Tour Onboarding
Welcome and toursA four-stop product tour over a drawn analytics dashboard: a coachmark points at the metrics, the segments, the report and the settings one at a time, with the part lit and the rest dimmed, and a Replay tour button that starts the real Tour.
- Pro
AI Assistant Introduction Onboarding
Welcome and toursA research notebook's assistant introducing itself: a popover over a drawn notebook with a greeting, three capability buttons that fill the box with a sample prompt, a field with Send, and replies typed in advance.
- Pro
Guided Walkthrough Onboarding
Welcome and toursA learn-by-doing walkthrough in a framed window: a drawn design-review app beside a docked guide of four tasks, where the control for the current task is ringed and doing it, by click or by key, opens the next.
- Pro
Welcome Dialog Onboarding
Welcome and toursA planning board's first-run welcome: a dialog shown open over a drawn three-lane board, with a greeting, three things to try first, Start the tour and Explore on my own, and a Replay welcome button that opens the real dialog.
- Pro
Practice Keyboard Shortcuts Onboarding
Welcome and toursA code review tool's shortcut sheet you can practise on: a table of six shortcuts that tick off as you press them while focus is inside the panel, a chord with a waiting state, and a Command or Ctrl switch.