@abeedoo/bigdesign-svelte
v0.3.1
Published
Svelte 5 port of BigCommerce's BigDesign component library
Downloads
443
Maintainers
Readme
BigDesign Svelte
Unofficial Svelte 5 port of BigCommerce's BigDesign React component library.
Disclaimer: This project is not affiliated with, endorsed by, or maintained by BigCommerce. BigDesign is a trademark of BigCommerce. This is an independent, community-driven port created to bring BigDesign's design language to the Svelte ecosystem.
Live Playground | npm | GitHub
What is this?
BigDesign is BigCommerce's open-source design system for building apps that integrate with the BigCommerce admin panel. The original library is built in React. This project ports those components to Svelte 5, matching the same visual appearance, props API, and accessibility behavior using modern Svelte patterns (runes, snippets, scoped CSS).
Original BigDesign Resources
- BigDesign Documentation - Official docs
- BigDesign Storybook - React component playground
- BigDesign GitHub - React source code
- BigDesign Theme - Design tokens
Getting Started
Install
npm install @abeedoo/bigdesign-svelteAdd the theme
Import the theme CSS once in your root +layout.svelte to load the design tokens (colors, spacing, typography, etc.) as CSS custom properties:
<script>
import '@abeedoo/bigdesign-svelte/theme';
</script>Use components
<script>
import { Button, Input, Panel, Alert } from '@abeedoo/bigdesign-svelte';
let name = $state('');
</script>
<Panel header="Create Product">
<Input label="Product Name" placeholder="Enter a name" bind:value={name} />
<Button variant="primary">Save</Button>
</Panel>
<Alert variant="success" header="Saved!">Your product has been created.</Alert>Browse all components with live, interactive demos at bigdesign-svelte.abeedoo.com.
Components
Layout
Box, Flex, FlexItem, Grid, GridItem, Panel
Actions
Button, Link, Dropdown
Forms
Form, FormGroup, Input, Textarea, Select, Checkbox, Radio, Switch, Fieldset
Data Display
Typography (H0-H4, Text, Small), HR, Badge, Table, StatefulTable
Feedback
Alert, InlineMessage
Navigation
Tabs, OffsetPagination
Overlays
Modal, Tooltip
Utilities
GlobalStyles
Key Differences from React BigDesign
| | React BigDesign | BigDesign Svelte |
|---|---|---|
| Framework | React 18+ | Svelte 5 |
| Styling | styled-components (CSS-in-JS) | Scoped CSS with --bd-* custom properties |
| Slots | children / render props | Svelte snippets |
| State | useState / useRef | $state / $bindable runes |
| Types | TypeScript interfaces | TypeScript interfaces |
Development
npm install
npm run dev # Dev server with interactive playground
npm run build # Build the playground site
npm run package # Build library to dist/
npm run check # TypeScript checkThe dev server runs an interactive playground site where you can browse and test all components with live demos.
Playground Site
The project includes a standalone playground site for browsing components. It builds as a static SPA and can be deployed via Docker:
docker build -t bigdesign-svelte .
docker run -p 8080:80 bigdesign-sveltePublishing
npm run package
npm publishAI Context
This project includes an llms.txt file following the llms.txt standard — a structured manifest that helps AI agents understand the library's components, props, and usage patterns. If you're building with an AI coding assistant, point it at this file for accurate component generation:
https://bigdesign-svelte.abeedoo.com/llms.txtThe file documents all 46 components with their props, types, defaults, and code examples in a format optimized for LLM consumption.
License
MIT
Built and maintained by Abeedoo Labs. Not affiliated with BigCommerce.
