defuss-shadcn / Website / website-docs-help
Docs & Help
Blocks for documentation, help centers and release communication: resources and downloads, the docs navigation and page body, code examples with tabs and copy, release headers and items, roadmap cards, help categories and how-to articles. Every block is CSS-only and built from the library's components and tokens.
On this page (11)
§The template
A product's documentation, composed from the Docs & Help blocks - the source is the page. Every page in the docs navigation is a route of defuss-dom-router (#/docs/permissions): the current link, the bar's section, the breadcrumb, the title and the pager follow it. The release notes (#/changelog/4.0.0), the help centre (#/help, a topic #/help/topic/billing) and each help article (#/help/sync-stuck) are routes too, written from one data block in English and German; the language switch translates the rest with defuss-i18n. The search opens a Command palette over every page, article and release. The Look select changes the palette and the type.
§A docs page
Every docs page is a route (#/docs/roles) - the navigation, the bar's section, the breadcrumb, the title and the pager follow; the release notes (#/changelog/4.0.0), the help centre (#/help) and its articles (#/help/sync-stuck) are routes too, filled from one data block in English and German. The search opens a Command palette (also ⌘K), Edit this page a dialog. Docs Navigation beside the Docs Content with a Code Example, Release Header and Items, Help Categories, Help Articles, Resource Items, a Site Header and a Site Footer.
§More pages
The other pages of a product's documentation and help, each one example of its own: the release notes, the roadmap, the front page of a help centre, a help article and the downloads. They take the palette of the page they sit on.
§Release notes
A changelog page: the versions in a rail, the latest release opened - its Release Header (version, date, highlights, links) over its Release Items, one per change, typed New, Improved, Fixed or Breaking.
§Roadmap
A public roadmap: Roadmap Items in three columns - planned, in progress, shipped - each with its quarter, its tags and a vote that counts up when it is checked.
§Roadmap as a timeline
The same Roadmap Items on a vertical line, oldest at the top: the dot in the status colour (in progress with a halo, planned hollow), the month on the other side of the line; wide, the items alternate sides, narrow they all sit on one side with the month above.
§Roadmap on a line
The Roadmap Items side by side on a horizontal line, oldest first: the month and the dot on the line, the item under it; the shipped stretch of the line in green. More items than fit scroll sideways with scroll snap.
§Help centre
The front page of a help centre: one question and a search box on a tinted band, the topics as Help Categories with their top articles, then guides and templates as Resource Items.
§A help article
One answer, start to finish: breadcrumb, title, the steps numbered, a tip, the case it does not cover folded away, a Feedback Form asking whether it helped and the related articles.
§Downloads
A downloads page: the apps and documents as Download Items - format, size, date, the checksum folded away and one button each - with a note on which build to pick.
§The blocks
Resource Item
Previews one guide, document, template, or other resource - its type, title, a line on what is inside, the format and the action.
Download Item
Presents one downloadable file with its format and size - a file badge, what it is, version, size and date, its checksum, and the download.
Docs Navigation
Organizes documentation links into a navigable hierarchy - a version switch, sections, collapsible groups, nested pages and the current page marked.
Docs Content
Presents one documentation topic with explanations and examples - the trail, title, lead, prose with code, callouts and tables, and the next page.
Code Example
Displays code with optional language tabs and copying controls - tabs for each package manager, a file header, highlighted lines, or one command to copy.
Release Header
Introduces a release with its version, date, and summary - the version tag, kind of release, a headline, what it brings and where to get it.
Release Item
Describes one change, improvement, or fix within a release - its kind, what changed and why it matters, with the pull request and author.
Roadmap Item
Presents one planned initiative with its status and target timeframe - planned, in progress or shipped, how far along, and a vote.
Help Category
Links to a support topic with a description and article count - an icon, the topic, what it covers, how many articles and the most read ones.
Help Article
Presents instructions for resolving one problem or completing one task - the steps with pictures, a tip, whether it helped and related articles.
Comments, ideas or improvements? Edit this page's source on GitHub