Skip to documentation

Design system / Molecules

CreativeXHub design system

Molecules

Curated component families, with current examples, API notes, dependencies and integration limits.

Focused assemblies, not every exported part

A molecule combines components to complete one focused interaction or presentation concern. This catalog contains 44 curated families, counted once per family rather than once per export. It includes generic and feature-owned contracts. Page compositions documents editorial components separately; Molecules & instances documents the navigation link and submenu contracts. The catalog is not a complete repository inventory.

Where focused pieces become coordinated sections

A summary card, field or navigation link assembly remains a focused concern. Organisms explains the managers, uploaders, forms and workspaces that coordinate them. Page compositions explains how templates and routes arrange those sections, and documents the added editorial contracts and specimens separately.

Submission presentation

SubmissionFacts presents permitted facts inline for owner/manager readers or in a compact two-column Card with optional status for reviewing and Catalogue.

Feature-owned

Content browsing

ContentCarousel adds a title, optional header action and empty state to shadcn's Carousel. Plain/card keep media-edge paddles. Expanded fills its owner's height without a Card and anchors one paddle pair to that complete owner's midpoint, independently of the active footer's height.

Feature-owned

Submission showcase

ShowcaseImageItem displays an uncropped image in a shared Card. Info/Download sit at the media frame's bottom-right, independently of the centered, 300px-capped description.

Feature-owned

Submission showcase

ShowcaseVideoItem retains native controls and metadata-only preload, with the same compact description and Info/Download actions as images. No automatic playback is added.

Feature-owned

Submission showcase

ShowcaseOtherItem places file information behind a small info icon and retains an icon-only original-access link and compact description, without an embedded viewer.

Feature-owned

Navigation

CatalogueHomeCard combines one decorative banner, Catalogue heading, supporting copy and a visual action cue inside one accessible link.

Catalogue feature

Field help

LabelWithInfo combines a persistent field label with a separate tooltip trigger. The caller supplies the control ID and optional explanatory content; value and validation remain outside the component.

Generic local UI

Editing

InlineEditableField switches between a supplied display value and editor slot. The caller controls editing, saving, errors and commands. The component supplies label association, activation and save/cancel controls.

Generic local UI

Editing

MarkdownTextarea edits a controlled source string with Bold and Italic commands. Formatting wraps the current selection in Markdown markers. Rendering a preview, validation and persistence are separate responsibilities.

Generic local UI

Feedback

EmptyStateCard renders an icon, an h2 title and explanatory content. The caller determines the empty-state condition and recovery guidance. It does not distinguish loading, absent, filtered or unavailable data.

Generic local UI

Feedback

GuidanceCard presents persistent, in-flow advice inside a quiet surface. It uses a non-live note role, a visible title and an optional decorative icon.

Generic local UI

Feedback

Alert presents feedback through a container, title and description. The caller supplies the message, rendering condition and recovery action. The default alert role can be overridden for static explanatory content.

Generic local UI

Navigation

Tabs links a trigger list to related content panels through matching values. Radix manages selection unless the caller controls it. Panel lifecycle and product workflows require explicit consumer decisions.

Generic local UI

Disclosure

Accordion associates triggers with collapsible content regions. Single and multiple modes use different value shapes. The caller supplies content and, when controlled, the open-state contract.

Generic local UI

Navigation

BreadcrumbTrail renders supplied hierarchy items as ancestor links or current-page text on one horizontally scrollable line. Complete labels remain available; keyboard focus brings ancestor links into view. It does not parse the URL or infer the current item from its position. The caller supplies a coherent hierarchy.

Shared navigation

Selection

Select combines a trigger, displayed value and option list for one selection. Radix manages selection and disclosure unless controlled. The caller supplies options, field labeling, validation and persistence.

Generic local UI

Navigation

Pagination arranges native page links with selected, previous, next and ellipsis treatments. The caller calculates destinations, page bounds and current selection. The component does not load results.

Generic local UI

Disclosure

Dialog provides Radix-backed modal disclosure, focus handling and portaled content. The caller supplies a title, description and exit paths. Drafts, commands and operation outcomes belong to the content owner.

Generic local UI

Disclosure

AlertDialog presents a decision with a title, consequence description and separate cancel/action controls. The caller selects the target and owns permission checks, pending behavior and operation results.

Generic local UI

Navigation

AuthButton selects a sign-in link or account menu from supplied identity props. It does not look up a session or perform authentication. Shell instances supply its destinations.

Navigation feature

Presentation

SubmissionTile is a legacy media adapter over the shared SubmissionCard, not a second card implementation. New collection consumers use SubmissionCard and SubmissionGrid directly.

Submissions feature

Presentation

SubmissionCard owns shared summary anatomy in Catalogue, Your entries, admin intake cards, admin round-result cards and category-grouped finalists. The non-admin edition listing uses EditionSubmissionList instead. Its article contains a linked or read-only summary and a separate action area. SubmissionGrid selects one through four equal columns from available content width, including beside a sidebar. Routes resolve permitted data and asset URLs.

Submissions feature

Navigation

RoundReviewLink binds a review destination to the shared edition-owned DestinationLink molecule. Its compact sharing surface retains a selectable URL and Copy/Open without a nested URL frame; controls wrap with available width. useDestinationLink owns clipboard success and visible failure feedback. Submissions uses the same presentation instead of another sharing implementation.

Review rounds route

Presentation

RoundStatsStrip derives submission, scored and shortlisted counts from supplied records. Loading replaces the strip with a Skeleton; unavailable replaces counts with an explicit unavailable message. The parent owns data loading and error feedback.

Review rounds route

Presentation

Card groups caller-supplied content through header, title, description, action, content and footer parts. Its elevation prop selects semantic shadow depth. Content semantics and workflow behavior remain with the caller.

Generic local UI

Field help

Tooltip associates supplementary text with a hoverable or focusable trigger. Radix owns timing, positioning and disclosure; the caller supplies the accessible trigger and explanatory content.

Generic local UI

Disclosure

Popover displays portaled content relative to a trigger or separate anchor. Radix owns positioning and disclosure. The caller owns content, drafts and commands, including any controlled close action.

Generic local UI

Navigation

DropdownMenu presents grouped actions and optional checkbox, radio or submenu choices. Radix coordinates focus and selection. The caller binds commands, destinations and selected settings.

Generic local UI

Disclosure

Sheet uses Radix Dialog primitives to display a modal panel from a selected edge. The caller supplies content and its workflow. Panel disclosure and focus remain separate from navigation or persistence.

Generic local UI

Selection

Command composes searchable input, grouped items and selection through cmdk. CommandDialog adds modal disclosure. The caller supplies actions, remote results and execution behavior; shortcuts require separate registration.

Generic local UI

Selection

ToggleGroup combines Toggle-styled items under a single- or multiple-selection contract. Bounded Context supplies variants and spacing. The caller supplies selection meaning and persistence.

Generic local UI

Presentation

ScrollArea provides a Radix viewport, scrollbar and corner for overflow content. The caller supplies region bounds and content. It does not virtualize items, load records or restore scroll position.

Generic local UI

Editing

FormField coordinates one control's label, description, invalid state and error message. It uses react-hook-form state and generated IDs. The caller supplies the provider, schema, native form and save lifecycle.

Generic local UI

Presentation

BasicMarkdown renders bold, italic and allowed links from a source string while preserving whitespace. It escapes input HTML before generating markup. It is neither a full Markdown parser nor an editor.

Generic local UI

Navigation

RoundListItem renders one round's destination, current-page state, status and reviewer count. Editing reveals a sortable handle. The surrounding collection owns sensors, reorder commands, persistence and errors.

Review rounds route

Member management

MemberInvitationField composes controlled email entry, associated help/error text and a bottom-aligned Invite {plural} command. Validation and saving remain in the product behavior hook.

Members

Member management

MemberCounts places each account-status label beside its number in compact controls. Whole label/value pairs wrap naturally. Counts cover the full saved list, not a filtered page.

Members

Member management

MemberFilters combines labeled email search and account-status selection. Its controlled values and callbacks come from the local directory reducer.

Members

Member management

MemberPagination combines a polite result range and bounded Previous/Next buttons for the invitee directory's eight-row local pages.

Members

Member management

MemberList repeats MemberCard with stable keys and original source indices. Header controls and body content use separate slots; the list adds shared removal when supplied.

Members

Member management

MemberFeedback presents supplied errors as alerts and optional notices as status text in standalone fields and the modal directory. MemberManager renders invitation outcomes separately in an Invitation result success box under the drawer counts.

Members

Member management

MemberCard places a supplied display name or email beside header actions. Account status and metadata follow, then optional full-width body content.

Members

Member management

ReviewerMemberActions owns exclusion control presentation in the shared identity header. Category transfer is a separate molecule in the card body.

Review rounds

Member management

ReviewerCategoryAssigner shows Assigned and Available categories with compact plus/minus buttons. Individual and bulk commands each emit one complete selection.

Review rounds

Current components and theme tokens. Fictional example data. Source views refresh on deployment; authors maintain contract notes.