shredbx logo
shredbx shredbx shredbx shredbx Personal
  • Home
  • Lab
  • Portfolio
  • Experience
  • Services
  • Profile
  • Contact
AClaude
  • Home
  • Lab
  • Portfolio
  • Experience
  • Services
  • Profile
  • Contact
Andrei Solovev
Packages
Search packages... ⌘K
  • Data & Persistence
    • Databases 3
    • Object Storage 1
    • File Formats 2
    • Enumerations 2
    • Content 1
    • Codegen 2
  • System Integration
    • Secrets 1
    • CLI Tools 5
    • Media Processing 2
    • Adapters 2
  • UI & Components
    • Primitives 1
    • Blocks 1
    • Sections & Layouts 1
    • Entities 1
    • Media 1
    • Utilities 1
    • State & Presenter 1
    • Branding & Style 1
  • Game Engine
    • Framework 1
    • Engine 2
    • Presets 1
    • Vendor 1
Packages/ UI & Components/ Primitives/ Core Ui Primitives
SvelteKit Package

core-ui-primitives

Base UI primitives — Button, Input, Modal, Badge, Avatar, Tooltip, Select

SvelteKit Ready UI
Primitive Components svelte
1
2
3
4
5
6
7
8
9
10
11
12
13
<script>
  import { Button, Input, Badge, Modal } from '@sbx/core-ui/components/primitives';
  let open = $state(false);
</script>

<Button variant="primary" onclick={() => open = true}>Open Modal</Button>
<Badge color="green">Active</Badge>
<Input placeholder="Search..." oninput={handleSearch} />

<Modal {open} title="Confirm" onclose={() => open = false}>
  <p>Are you sure?</p>
  <Button variant="danger" onclick={confirm}>Delete</Button>
</Modal>

About

Foundation-level Svelte 5 components used across all SBX applications. Includes form inputs, interactive elements, and display primitives. All components use $props() rune pattern, CSS custom property theming, and presenter-driven fixtures.

Public API

NameKindSignature
ButtontypeButton.svelte — variant, size, disabled, onclick
InputtypeInput.svelte — value, placeholder, type, oninput
ModaltypeModal.svelte — open, title, onclose
BadgetypeBadge.svelte — color, size, label
AvatartypeAvatar.svelte — src, alt, size
IcontypeIcon.svelte — name, size, color
IconButtontypeIconButton.svelte — icon, label, onclick
SelecttypeSelect.svelte — options, value, onchange
TooltiptypeTooltip.svelte — content, position
MoneyInputtypeMoneyInput.svelte — value, currency, locale
MoneyDisplaytypeMoneyDisplay.svelte — amount, currency
SocialIcontypeSocialIcon.svelte — platform, url
InitialsAvatartypeInitialsAvatar.svelte — name, size

Dependencies

Imported By (2)

core-ui-blocks SvelteKit Ready

Composite UI blocks — NavRail, CommandPalette, ChatWidget, FileTree, Editors

svelte-5componentsnavigationeditorsdata-displaypresenter-driven
15 exports 2 deps
core-ui-sections SvelteKit Ready

Page sections & layouts — AdminTemplate, ContentSidebar, EntityDetail, Canvas

svelte-5layoutsidebarentity-vieweradmin-templatecanvas
16 exports 2 deps

Related Packages

core-ui-blocks SvelteKit Ready

Composite UI blocks — NavRail, CommandPalette, ChatWidget, FileTree, Editors

svelte-5componentsnavigationeditorsdata-displaypresenter-driven
15 exports 2 deps
core-ui-sections SvelteKit Ready

Page sections & layouts — AdminTemplate, ContentSidebar, EntityDetail, Canvas

svelte-5layoutsidebarentity-vieweradmin-templatecanvas
16 exports 2 deps
core-ui-branding SvelteKit Ready

Branding & style system — brand config, CSS custom properties, contrast validation

design-systembrandingcss-custom-propertiesthemingwcagcontraststyle-presets
6 exports 3 deps

Source

@sbx/core-ui/components/primitives
svelte-5componentsprimitivesform-inputsdesign-system
shredbx logo shredbx shredbx shredbx shredbx Andrei Solovev

Solution Architect & Lead Software Engineer

ExperiencePortfolioResearch & ExperimentsEducationCertificationSkills
GitHub ↗LinkedIn ↗Email ↗
AVAILABLE FOR NEW PROJECTS
// MY LATEST BEATS
Hobby & Interests

Lab

  • The Lab
  • Framework
  • Components
  • Packages
  • Games
  • Process (SDLC)
  • Knowledge
  • Blog

Andrei

  • Portfolio
  • Experience
  • Services
  • Profile
  • Contact
  • Lifestyle

Team

  • Team
  • Andrei
  • Claude

Legal

  • Privacy
  • Terms
  • Cookies
© 2026 shredbx.com. All rights reserved. — Andrei Solovev |