Designsystem · interne Plattformen
Das Figma-Layout „tomcom CI Layout“ als Web Components (tc-*) für Django: vorab gerendert, HTMX-fähig, hell und dunkel, barrierearm und responsiv.
Designsystem · interne Plattformen
Das Figma-Layout „tomcom CI Layout“ als Web Components (tc-*) für Django: vorab gerendert, HTMX-fähig, hell und dunkel, barrierearm und responsiv.
Primary actions and commands. One primary button per area; use outlined or link for secondary actions. Suppor…
Related actions or toggles as one connected control: 2-6 items of one size and hierarchy. actions = secondary…
Compact action with an icon only. Always provide a label: it becomes the accessible name and tooltip.
Navigation, not an action (use a button for actions). Inline links sit in running text and are always underli…
Checkbox with label, optional help or error text and help icon (Figma: Checkbox), form-associated <tc-checkbo…
Fieldset with a legend and several <tc-checkbox> children for multiple choice (Figma: Checkbox Group). The gr…
Quick filter above lists and tables: a form-associated checkbox (or radio) styled as a square toggle, so it s…
Wrapping row of chips with a group label (6 px gap). Pass items or tc_chip children; with type radio the grou…
Selection from long lists with a filter field in the popup (Figma: Combobox, Mode Single|Multi), form-associa…
Date field (Figma: Date Picker / Field + Date Picker), form-associated <tc-date-picker> with a custom calenda…
One Django BoundField rendered as the matching tc control: text/email/url/number inputs, password, date/datet…
Label row used by every form control: label, red asterisk for required fields, help icon with tooltip and the…
All fields of a Django form as tc controls in declaration order, hidden fields first, with the non-field erro…
Drop zone with file list (Figma: File Upload, File Item), form-associated <tc-file-upload>: submits the selec…
Form frame (Figma: Pattern / Form): optional title, error summary for non-field errors, fields in one column …
Group of fields inside tc_form with a section heading and rule (Figma: Divider Type=Section) and its own one-…
Single-line text field (Figma: Input), form-associated <tc-input>. Label above, hint or error below; states D…
Input with fixed add-ons before or after the value, e.g. a protocol, a domain, a currency or a unit (Figma: T…
Verification code with one cell per character (Figma: OTP Input), form-associated <tc-otp-input>. Typing adva…
Password field (Figma: Password) with a show/hide toggle (aria-pressed). strength=True adds the four-segment …
Single radio button (Figma: Radio). Prefer tc_radio_group; standalone radios with the same name are kept excl…
Fieldset with a legend and mutually exclusive <tc-radio> children (Figma: Radio Group). Arrow keys move the s…
Choose a lower and upper bound (Figma: Range Slider), form-associated <tc-range-slider>. Two native range inp…
Search field (Figma: Search) with leading icon, keyboard hint and clear button. With get/post the request fir…
Switch between two to four mutually exclusive views or modes, e.g. list/board or light/dark/auto (Figma: Segm…
Custom select (Figma: Select) that looks the same in every browser: form-associated <tc-select> with a button…
Choose a value within a range (Figma: Slider), form-associated <tc-slider>: label and current value above, op…
Toggle for settings that take effect immediately (Figma: Switch). A form-associated <tc-switch> with a native…
Multi-line text field (Figma: Textarea) with the same states as Input. counter=True shows the character count…
Time field (Figma: Time Field + Time Picker), form-associated <tc-time-picker>: 24 h, monospaced value, typed…
Person or object as image, mono initials or icon. Sizes xs 20, sm 24, md 32, lg 40, xl 56 px; circle, rounded…
Overlapping avatars (-8 px) with a 2 px surface ring and a "+N" overflow. Pass items (names or dicts with nam…
Compact marker for status, category or a count. Subtle emphasis is the default, solid draws attention. Status…
Charts only when a number alone is not enough: flat marks, one y-axis, values in Mono. Bar (vertical, horizon…
Configs, API examples and logs in mono, without syntax colours except comments (text/tertiary). Header with f…
Technical value with copy to clipboard (navigator.clipboard). Inline = mono value + icon, field = value in a …
Interactive server-side table for large lists: debounced search, multi-column sorting (Shift+click), page siz…
Compact figure in running text: "Label: value". The tone colours the value (positive/negative); for summaries…
Detail view (DNS record, VPN peer, order): 176 px key column, divider below each row; rows stack below 480 px…
Bordered list, e.g. the selection in a master-detail view. Pass items (dicts title, description, meta, href, …
List of few, rich objects (accesses, servers, devices, time entries, changes) instead of a table. Contains tc…
Meta information with a 16 px icon and text that share one colour, e.g. "1 Stempelung" or "0 Nachweise · 0:00…
Generated QR code with quiet zone: always dark modules on white, also in dark mode, and the value repeated as…
One KPI of a status strip: dot + label, value (H2) + unit, optional delta (arrow + mono, coloured by meaning)…
Status bar above dashboards: 4-6 tc_stat tiles side by side, separated by lines instead of cards; wraps into …
Semantic table for lists of records: sortable headers, Mono for technical values, status and tag cells, selec…
Bordered mono marker for technical values (record types A/AAAA/CNAME, protocols) and active filters. Removabl…
Notice inside the content (inline, bordered) or as a full-width banner at the top of a page. The default slot…
Nothing to show yet: a character from the logo set (or a Carbon icon) instead of an illustration, left aligne…
Static help with 2–4 numbered steps (tc_guide_step) on a tinted surface: steps side by side with thin divider…
For pages that refresh automatically (live views, dashboards): state dot, label and the last update time in m…
Shows the Django messages of the request as toasts. Place it once in the base template (also inside HTMX resp…
Progress as 4 px bar (label left, percentage right in mono) or ring (sm 20 / md 48 px). Status running, done,…
Softly pulsing placeholder bars (neutral/bg; static with reduced motion) while content loads. Shown only afte…
Short confirmation in the shared toast region (bottom right; bottom, full width on phones). Each tone has its…
Modal dialog for confirmations, short decisions and compact forms (longer forms belong in a drawer). Header w…
Panel for creating and editing without leaving the page. End (right, default; md 480, lg 640 px), start (left…
Trigger button with a popover menu (default slot: tc_menu_item, tc_menu_label, tc_menu_divider). Opens on cli…
List of actions (role="menu") with arrow-key navigation, Home/End and typeahead. Usually rendered by tc_dropd…
One menu entry: button (or link with href) with icon, label, shortcut, danger tone, checkbox or radio check, …
Explanation or small interaction opened by clicking a (?) icon or a button. Placement bottom (default), top, …
One-line hint on the inverse surface with an arrow, above the trigger by default. Wraps one trigger (default …
Real hierarchy above the page title, root on the left. The last level is the current page. From five levels t…
Jump navigation for long pages (settings, documentation), placed beside the content. Stays in view while scro…
Page through days, weeks or months (time tracking, reports). Calendar week in Mono, "Today" jumps back, the l…
Below tables and lists. Full: range in Mono, rows per page and pages; Simple: without page size; Compact: pre…
Left navigation with items or grouped items and a collapse toggle (shortcut "["). The footer slot pins items …
Multi-step flows (wizards). Horizontal above wide forms (max. 5 steps), vertical in narrow columns, drawers o…
Switch between views of the same context. Arrow keys move between tabs (automatic activation), Home/End jump,…
Switch between light, dark and automatic (system) appearance. Stored per browser; add {% tomcom_theme_init %}…
Navy application bar: menu button, tomcom logo, product name, environment badge, horizontal navigation, searc…
Group of collapsible sections (tc_accordion_item). Flush uses divider lines, outlined separate bordered boxes…
One collapsible section: title (wraps up to two lines), optional icon, badge slot and meta text; with an acti…
Page frame with topbar, optional sidebar and main region. The sidebar collapses to icons on tablets and becom…
Container for related content: 16 px padding, radius/md, 1 px border/subtle. Types: default (title, menu, bod…
1 px rule between sections, in toolbars and menus; never decoration. Spacing comes from the layout, not from …
Application footer with company, product version, service status and links; extended type adds link columns (…
Page title with optional eyebrow, meta text, description, breadcrumb and actions. The title is a light DOM <h…
Heading for a page section, panel, subsection or overlay with meta text and actions. The heading is a light D…
Two panes (slots start and end; the default slot fills end) separated by a divider that can be dragged or mov…
Tagesansicht mit Stempelungen und Nachweisen je Kunde, serverseitige Tabelle mit Suche und Filtern, Karten- und Dokumentlisten.
Tätigkeit buchen: Abschnitte, Combobox mit Suche, Dauer mit Schnellwahl, Weitere Angaben eingeklappt, Validierung mit Django.
Kopf mit Breadcrumb und Aktionen, Status, Kennzahlen, Tabs mit Tabelle, Listen und Verlauf, Kontakt als Schlüssel-Wert-Liste.
Design, Buchungsvorschläge und Verbindungen wie in POMS; Schalter und Verbindungen speichern sofort per HTMX.
Urlaub beantragen in vier Schritten: Stepper, serverseitige Validierung je Schritt, Zusammenfassung, Bestätigung.
Erster Besuch: Anleitung, Checkliste mit Fortschritt und Empty States mit der nächsten Aktion.