crml-ui-svelte
v2.0.3
Published
Tactile Neubrutalism & Cyber Mecha Design System for Svelte 5
Readme
CRML-UI SVELTE (crml-ui-svelte)
Definitive Neubrutalism, Y2K Cyber Mecha & Streetwear Design System for Svelte 5 / 4 & SvelteKit
70 Production Primitives • Zero Ambient Blur Policy • Strict Mechanical Spring Rebound Physics • 100% Vue Master Parity
⚡ Overview & Design Philosophy
crml-ui-svelte is a production-ready, highly tactile Neubrutalism and Y2K Cyber Mecha design system library built natively for Svelte 5, Svelte 4, and SvelteKit.
Synthesizing playful Neubrutalism, retro 90s OS window chrome, cyber-mecha cockpit instruments, and streetwear graphic poster aesthetics, CRML-UI strictly enforces the Zero Ambient Blur doctrine: no fuzzy drop-shadows, no translucent ambient blurs—only crisp, high-contrast 2.5px - 3.0px solid ink borders and mechanical offset drop-shadows.
Core Tenets:
- Zero Ambient Blur Policy: All elevation is achieved via solid ink offsets (
box-shadow: 4px 4px 0px #0D0D0D). Never usefilter: blur()or soft rgba shadows. - Mechanical Spring Rebound: Interactive arcade-button physics simulated via realistic cubic bezier curves (
cubic-bezier(0.34, 1.56, 0.64, 1)) with tactile active depressions. - Hyper-Contrast Mecha Palette: Electric Lime (
#CCFF00), Hot Pink (#FF007F), Cyber Cyan (#00F0FF), Sunburst Yellow (#FFD600), and Obsidian Black (#0D0D0D). - 100% Ecosystem Parity: Full styling, prop naming, and behavioral parity with the master Vue library (
crml-ui), React (crml-ui-react), and HTML5 (crml-ui-html).
🎨 Design Token Specification Matrix
Consume identical CSS variables across your entire Svelte application:
:root {
/* Primitive Mecha Palette */
--crt-electric-lime: #CCFF00;
--crt-hot-pink: #FF007F;
--crt-cyber-cyan: #00F0FF;
--crt-sunburst-yellow: #FFD600;
--crt-obsidian: #0D0D0D;
--crt-pure-white: #FFFFFF;
--crt-smoke: #1A1A1A;
/* Semantic UI Tokens */
--crml-bg-base: #FAF9F6;
--crml-bg-surface: #FFFFFF;
--crml-text-main: #0D0D0D;
--crml-text-muted: #525252;
--crml-border-brutal: 3px solid #0D0D0D;
--crml-shadow-brutal: 4px 4px 0px #0D0D0D;
--crml-shadow-brutal-sm: 2px 2px 0px #0D0D0D;
--crml-shadow-brutal-lg: 6px 6px 0px #0D0D0D;
--crml-ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}📦 Installation & Setup
1. Install via npm, pnpm, or yarn:
npm install crml-ui-svelte
# or
pnpm add crml-ui-svelte
# or
yarn add crml-ui-svelte2. Import CSS Styles:
In your root layout (e.g. src/routes/+layout.svelte or App.svelte):
<script>
import 'crml-ui-svelte/style.css';
</script>
<slot />🚀 Svelte Quickstart & Component Usage
All 70 primitives are native Svelte components supporting slots, two-way bindings, and custom event dispatching:
<script lang="ts">
import {
CrmlNeubrutalCard,
CrmlButton,
CrmlBouncyButton,
CrmlInput,
CrmlCheckbox,
CrmlBadge,
CrmlStickerBadge,
CrmlRetroDialog,
CrmlMarquee
} from 'crml-ui-svelte';
let handle = '';
let active = true;
let dialogOpen = false;
function handleDeploy() {
alert(`Deployed for ${handle || 'Svelte Pilot'}!`);
}
</script>
<div style="padding: 2rem; background: #FAF9F6; min-height: 100vh; font-family: monospace;">
<!-- Marquee Announcement -->
<CrmlMarquee text="CRML-UI SVELTE /// 70 TACTILE PRIMITIVES /// 0% AMBIENT BLUR" variant="lime" />
<div style="max-width: 640px; margin: 2rem auto;">
<CrmlNeubrutalCard variant="cyan">
<div style="display: flex; gap: 0.5rem; margin-bottom: 1rem;">
<CrmlStickerBadge variant="pink" star>OFFICIAL DROP</CrmlStickerBadge>
<CrmlBadge variant="primary">SVELTE 5</CrmlBadge>
</div>
<h2 style="font-size: 1.75rem; font-weight: 900; margin: 0 0 1rem 0;">
TACTILE SVELTE INTERACTION
</h2>
<div style="display: flex; flex-direction: column; gap: 1rem;">
<CrmlInput
label="OPERATOR CALLSIGN"
placeholder="@svelte_pilot"
bind:value={handle}
/>
<CrmlCheckbox
label="Enable Spring Rebound Engine"
bind:checked={active}
variant="lime"
/>
<div style="display: flex; gap: 1rem; margin-top: 0.5rem;">
<CrmlBouncyButton variant="lime" on:click={handleDeploy}>
LAUNCH SEQUENCE 🚀
</CrmlBouncyButton>
<CrmlButton variant="outline" on:click={() => (dialogOpen = true)}>
OPEN DIALOG 🖲️
</CrmlButton>
</div>
</div>
</CrmlNeubrutalCard>
</div>
<!-- Retro OS Window Dialog -->
<CrmlRetroDialog
isOpen={dialogOpen}
title="SVELTE_CONFIRMATION.EXE"
on:close={() => (dialogOpen = false)}
>
<p>Tactile spring physics confirmed. No soft blurs detected.</p>
<div style="display: flex; justify-content: flex-end; gap: 0.5rem; margin-top: 1rem;">
<CrmlButton variant="lime" size="sm" on:click={() => (dialogOpen = false)}>
CONFIRM ACTION
</CrmlButton>
</div>
</CrmlRetroDialog>
</div>📋 Complete Catalog Inventory (70 Primitives)
crml-ui-svelte exports 70 production primitives partitioned into Atomic tiers:
⚡ Atoms (16 Primitives)
CrmlButton: Core tactile arcade button with mechanical displacement.CrmlBouncyButton: Exaggerated 4px spring rebound button.CrmlBadge: High-contrast pill chip for status and tags.CrmlStickerBadge: Tilted vinyl street badge (-4° to +6°) with adhesive peel hover.CrmlStampBadge: Weathered ink stencil stamps (APPROVED,SOLD OUT,REJECTED).CrmlInput/CrmlTextarea: Ink-bordered inputs with solid neon focus indicators.CrmlNumberInput: Tactile increment/decrement stepper input.CrmlCheckbox: Chunky square checkbox with solid spring checkmark.CrmlNeonSwitch: Cyber mecha toggle switch with neon halo illumination.CrmlBlobAvatar: Squircle & organic morphing avatar with status ring.CrmlMarquee: Continuous marquee announcement ticker crawler.CrmlProgress: Segmented ink bar charging indicator.CrmlKbd: Mechanical keyboard keycap indicator.CrmlDivider/CrmlWavyDivider: Sawtooth, organic wave, and ink-line SVG dividers.CrmlSpeechBubble: Comic dialogue balloon with angled pointer tail.CrmlPixelIconWrapper: 16-bit stepped pixel boundary wrapper.CrmlSkeleton: High-contrast geometric skeleton loader.CrmlTooltip: Solid ink popover tooltip.
🧩 Molecules (22 Primitives)
CrmlDatePicker: Tactile calendar with Month/Year grid and Range Mode.CrmlColorPicker: Neubrutalism HSV swatch & hex color selector.CrmlDualRangeSlider: Dual-handle minimum/maximum interval range slider.CrmlPillTabs: Segmented navigation selector with tactile sliding indicator.CrmlSegmentedControl: Inline mechanical mode switcher.CrmlDropdown: Multi-layer popover select menu.CrmlSearchTagFilter: Search command bar with dynamic tag filtration.CrmlEmojiRatingSlider: Expressive rating slider with animated mood changes.CrmlFloatingEmojiBar: Floating social reaction dock with spring counters.CrmlOtpInput: Segmented one-time authentication code input boxes.CrmlStepper: Multi-step progress flow controller.CrmlRadioGroup: Chunky radio button selection suite.CrmlPagination: Page number controller with tactile step arrows.CrmlBreadcrumb: Hierarchical breadcrumb pathway.CrmlAlert: High-visibility notification banners with category styling.CrmlCodeBlock: Terminal snippet box with syntax coloring & one-click copy.CrmlFaceIdToggle: Cyberpunk biometric scanner trigger toggle.CrmlStatusMatrix: System health grid telemetry widget.CrmlTagInput: Interactive tokenized tag creator.CrmlVaporwaveVisualizer: Synthwave cassette audio frequency visualizer.CrmlDoodleContainer: Hand-drawn sketchy border container.
🏛️ Organisms (32 Primitives)
CrmlNeubrutalCard/CrmlCard: Foundational ink containers with 4px drop shadow.CrmlGlassCard: Frosted mecha panel with solid stroke borders.CrmlStickyNote: Tilted desk memo note with push pin.CrmlRetroDialog: 90s OS window dialog modal with draggable titlebar.CrmlFunkyAccordion: Bouncy collapse FAQ accordion.CrmlToast: Floating tactile alert system.CrmlHypebeastDropBanner: Digital streetwear countdown release banner.CrmlFileUpload: Drag-and-drop file upload target zone.CrmlFormGroup: Form field group layout wrapper with validation text.CrmlTable: Dense data table with high-contrast sticky header.CrmlPriceTagWidget: Angled retail hanging price tag.CrmlPricingCard: Tiered subscription card with feature checkmarks.CrmlTimeline: Vertical historical milestone tracker.CrmlCommandPalette: Global shortcut overlay search dialog [⌘+K].CrmlFilterDrawer: Sliding tactile filter drawer.CrmlAiPromptInput: Generative AI prompt console bar.CrmlVideoPlayer: Custom retro mecha media video player controls.CrmlKanbanCard: Drag-ready task card with priority labels.CrmlSwipeCard: Interactive gesture card stack.CrmlRadarTelemetry: Circular radar scanner telemetry dial.CrmlSoundboard: 16-pad MPC arcade audio trigger matrix.CrmlNotificationDrawer: Slide-out user activity notification drawer.CrmlReviewQuoteCard: Testimonial review speech card.CrmlSpeedometerDial: Circular speed/bandwidth gauge.CrmlRichTextEditor: Tactical markdown WYSIWYG editor bar.CrmlNavbar: Sticky responsive top navigation header.CrmlSidebar: Collapsible application sidebar drawer.
🌐 Live Documentation & Playground
Explore live interactive demonstrations, API specifications, and code generation for all 70 components at the official documentation hub:
☕ Support the Ecosystem
CRML-UI is an open-source project distributed under the MIT License. If you love the tactile feel and use it in your apps, consider buying us a coffee!
☕ Buy Me a Coffee: buymeacoffee.com/crml
📄 License
MIT License © 2026 CRML-UI Ecosystem Team.
