# Davidnet Design System > Build consistent, high-quality Davidnet interfaces faster. The official source for our design patterns, components, and documentation. `@davidnet-net/svelte-ui` is the design system of Davidnet: Svelte 5 components, engines (state and behavior), design tokens, and content guidelines for building Davidnet interfaces. Import components and engines from `@davidnet-net/svelte-ui` and tokens from `@davidnet-net/svelte-ui/tokens`. The human documentation is at https://design.davidnet.net. ## How to use these files - Start with this index and fetch only the documents you need. Each component has a document of its own with its props, values and examples. - https://design.davidnet.net/llms-full.txt holds everything in one file. - These files are generated from the source code, the docs pages and the translations on every build, so they match the version of the design system that serves them. - Where a part is missing from a document, the source has nothing to say about it. ## Reference - [Components](https://design.davidnet.net/llms-components.txt): props, values and examples of every component - [Engines](https://design.davidnet.net/llms-engines.txt): exported functions, state and types for theme, language, toasts, banners, shortcuts and more - [Design tokens](https://design.davidnet.net/llms-tokens.txt): every token with its light and dark value - [Content guidelines](https://design.davidnet.net/llms-content.txt): writing style, voice and tone, inclusive language - [Everything](https://design.davidnet.net/llms-full.txt): all of the above in one file ## Components: input - [Button](https://design.davidnet.net/llms/components/button.md): The most used component for interacting with a page. - [Checkbox](https://design.davidnet.net/llms/components/checkbox.md): A checkbox allows selecting one or more items. - [Dropdown](https://design.davidnet.net/llms/components/dropdown.md): A dropdown displays a list of options for selection. - [Field](https://design.davidnet.net/llms/components/field.md): A field adds a label, a required mark and an error message to an input. - [Form](https://design.davidnet.net/llms/components/form.md): A form lays out its fields in a column. - [IconButton](https://design.davidnet.net/llms/components/iconbutton.md): An icon button is a button containing only an icon. - [IconLinkButton](https://design.davidnet.net/llms/components/iconlinkbutton.md): An icon link button is a link styled as a button with an icon. - [ImageUpload](https://design.davidnet.net/llms/components/imageupload.md): An image upload lets the user choose or drop an image and shows the result. - [LinkButton](https://design.davidnet.net/llms/components/linkbutton.md): A link button is a link styled as a button. - [TextArea](https://design.davidnet.net/llms/components/textarea.md): A textarea allows entering multi-line text. - [TextField](https://design.davidnet.net/llms/components/textfield.md): A textfield allows entering single-line text. ## Components: loading - [Skeleton](https://design.davidnet.net/llms/components/skeleton.md): A skeleton displays a placeholder preview during loading. - [Spinner](https://design.davidnet.net/llms/components/spinner.md): A spinner indicates an ongoing loading state. ## Components: messaging - [Banner](https://design.davidnet.net/llms/components/banner.md): A banner displays prominent system messages at the top. - [KeyboardTip](https://design.davidnet.net/llms/components/keyboardtip.md): A keyboard tip displays shortcut keys. - [Lozenge](https://design.davidnet.net/llms/components/lozenge.md): A lozenge is a small label that shows a status or a category. - [Modal](https://design.davidnet.net/llms/components/modal.md): A modal dialog overlays the primary window. - [SectionMessage](https://design.davidnet.net/llms/components/sectionmessage.md): A message inside the content that stays there: a note, a tip, a warning, or an error. - [VisuallyHidden](https://design.davidnet.net/llms/components/visuallyhidden.md): Hides elements visually while keeping them accessible to screen readers. - [Toast](https://design.davidnet.net/llms/components/toast.md): A toast displays short, temporary feedback messages. - [Toaster](https://design.davidnet.net/llms/components/toaster.md): A toaster displays the toasts that are active. ## Components: navigation - [Link](https://design.davidnet.net/llms/components/link.md): A link takes the user to another page, in the colors of a link. - [Tab](https://design.davidnet.net/llms/components/tab.md): The button that selects one view in a `Tabs` group. The active tab looks selected and is underlined. It has to be rendered inside `Tabs`, and its `value` has to match the `value` of a `TabPanel`. - [TabPanel](https://design.davidnet.net/llms/components/tabpanel.md): The content that belongs to one `Tab`. Only the panel whose `value` is the selected tab of the surrounding `Tabs` exists in the page (it fades in and out); the others are not rendered at all, so their state is lost when the user switches tabs. Keep state you want to keep outside of the panel. Because the other panels are not in the page, they are also hidden from assistive technology. - [Tabs](https://design.davidnet.net/llms/components/tabs.md): Tabs switch between panels of content. ## Components: overlays - [Blanket](https://design.davidnet.net/llms/components/blanket.md): A blanket dims the background behind overlay components. - [Popover](https://design.davidnet.net/llms/components/popover.md): A popover floats next to its trigger and is never clipped by the content around it. - [ToolTip](https://design.davidnet.net/llms/components/tooltip.md): A tooltip displays helpful information on hover. ## Components: primitives - [Anchor](https://design.davidnet.net/llms/components/anchor.md): An anchor is a primitive component for building custom links. - [AppShell](https://design.davidnet.net/llms/components/appshell.md): The wrapper of an app, with its navigation bar, sidebar, toasts and settings. - [Avatar](https://design.davidnet.net/llms/components/avatar.md): An avatar is a visual representation of a user or entity. - [AvatarGroup](https://design.davidnet.net/llms/components/avatargroup.md): A group of avatars that overlap each other, with a counter for the rest. - [CodeSnippet](https://design.davidnet.net/llms/components/codesnippet.md): A code viewer that follows the theme, with syntax highlighting and a copy button. - [ConsentSettings](https://design.davidnet.net/llms/components/consentsettings.md): The privacy settings panel: one checkbox for every provider that needs the visitor's consent (currently YouTube), with its current state, where the choice is saved (the account when logged in, a cookie otherwise) and links to the privacy policy, cookie policy and sub-processors. Changing a checkbox saves the choice at once through the consent engine. - [Divider](https://design.davidnet.net/llms/components/divider.md): A divider is a line that separates content. - [Flex](https://design.davidnet.net/llms/components/flex.md): Flex is a primitive layout component that implements the CSS Flexbox API. - [Icon](https://design.davidnet.net/llms/components/icon.md): An icon is a symbol representing a command, device, directory, or common action. - [ReportModal](https://design.davidnet.net/llms/components/reportmodal.md): A report modal lets a signed-in user report a profile, short or game. - [YoutubeEmbed](https://design.davidnet.net/llms/components/youtubeembed.md): An embedded YouTube video that respects privacy: it uses `youtube-nocookie.com` and, by default, only loads after the visitor agrees (a notice replaces it until then). The choice can be remembered in the account or a cookie, and changed in `ConsentSettings`. ## Engines - [appStateEngine](https://design.davidnet.net/llms/engines/appStateEngine.md): appState, initAppState, navigateBack - [bannerEngine](https://design.davidnet.net/llms/engines/bannerEngine.md): BannerInput, BannerHandle, addBanner, removeBanner, clearBanners, getBanners - [consentEngine](https://design.davidnet.net/llms/engines/consentEngine.md): CONSENT_PROVIDERS, ConsentProvider, CONSENT_CACHE_KEY, serializeConsents, parseConsents, getConsents, hasConsent, giveConsent, revokeConsent, applyAccountConsents - [focusEngine](https://design.davidnet.net/llms/engines/focusEngine.md): focusTrap - [identityEngine](https://design.davidnet.net/llms/engines/identityEngine.md): accessToken, user, workspace, preferences, privacyPreferences, WorkspaceAccess, authState, identityState, rbacState, clearIdentityData, logout, syncWorkspaceAccess, hasPermission, syncProfileData, authBeat, initIdentityEngine, whenAuthReady, getCurrentWorkspace, switchWorkspace - [shortcutEngine](https://design.davidnet.net/llms/engines/shortcutEngine.md): Handler, ShortcutDefinition, ShortcutOptions, assembleShortcut, getEventId, useShortcut, shortcutTrap, getShortcuts - [themeEngine](https://design.davidnet.net/llms/engines/themeEngine.md): themeNames, currentTheme, setTheme, isValidTheme, fontState - [toastEngine](https://design.davidnet.net/llms/engines/toastEngine.md): Toast, ToastItem, toast, toast, getToasts - [translationEngine](https://design.davidnet.net/llms/engines/translationEngine.md): ParaglideRuntimeType, LANGUAGE_CACHE_KEY, TIMEZONE_CACHE_KEY, FIRSTDAYOFWEEK_CACHE_KEY, DATEFORMAT_CACHE_KEY, currentLocale, setLanguage, createTranslationEngine, validDaysOfWeek, validDateFormats, validTimezones, setTimezone, getTimezone, setFirstDayOfWeek, getFirstDayOfWeek, setDateFormat, getDateFormat, hasDateFormatPreference, formatDate, formatCalendarDate, formatDateRange, formatMonthYear, formatRelativeTime, getMonthName, getMonthNames, getWeekdayName, getFirstDayOfWeekIndex, getWeekdayNames, getWeekdayOffset, getStartOfWeek, formatNumber, formatPercent, formatCurrency, formatCompactNumber, formatBytes, formatList, getPluralCategory, getTimezones, getBrowserTimezone, formatUnixMsToPreferred, formatUnixSecToPreferred, formatIsoToPreferred, formatUnixMsToShort, formatUnixSecToShort, formatIsoToShort, formatDateOnlyToShort ## Content guidelines - [Writing style](https://design.davidnet.net/llms/content/style.md): Write clear, consistent, and accessible copy across Davidnet. - [Voice and tone](https://design.davidnet.net/llms/content/voice-and-tone.md): Speak with one consistent personality across Davidnet, and adapt your tone to match how people feel. - [Inclusive language](https://design.davidnet.net/llms/content/inclusive-language.md): Create experiences that fit everyone and avoid unnecessary barriers.