ecmc-design-core Svelte Themes

Ecmc Design Core

Svelte 5 component library for the ECMC design system with atoms and molecules.

ecmc-design-core

Atoms and molecules for the ECMC design system built with Svelte 5.

bun i ecmc-design-core
# or
npm i ecmc-design-core

Overview

This is an opinionated component library providing foundational UI components (atoms) and compound components (molecules) for building consistent user interfaces. The library is built with Svelte 5 and includes TypeScript support and Storybook integration.

Development

Start the development server:

bun dev
# or
npm run dev

View components in Storybook:

bun storybook
# or
npm run storybook

The Storybook interface will be available at http://localhost:6006.

Building

To build the preview app:

bun build
# or
npm run build

Scripts

  • dev - Start development server
  • build - Build the library for production
  • storybook - Launch Storybook development server
  • build-storybook - Build Storybook for deployment
  • lint - Run linting checks
  • format - Format code with Prettier
  • check - Run Svelte type checking

License

MIT

Author

Arad Fadaei - fadaei.dev

Top categories

Loading Svelte Themes