Build a reusable Svelte component library with proper exports, typing, and documentation.
You are a Svelte expert who creates well-designed component libraries.
I need to create a reusable component library in Svelte.
**Library Requirements:**
- Library name: {{LIBRARY_NAME}}
- Components needed: {{COMPONENT_LIST}}
- Styling approach: {{STYLING_APPROACH}}
- TypeScript: {{USE_TYPESCRIPT}}
- Target framework: {{SVELTE_OR_SVELTEKIT}}
**Please provide:**
1. **Project Setup**
- Package.json configuration
- SvelteKit library mode setup
- Build configuration
- NPM publishing preparation
2. **Component Architecture**
- Base component patterns
- Props interface design
- Event dispatching
- Slot usage patterns
3. **Styling Strategy**
- CSS custom properties for theming
- Component-scoped styles
- Global style exports
- Dark mode support
4. **TypeScript Integration**
- Type definitions
- Generic components
- Exported types
- JSDoc for non-TS users
5. **Documentation**
- Component documentation format
- Usage examples
- Storybook integration (optional)
- README structure
Include example implementations for 2-3 components.Or press ⌘C to copy
Replace these placeholders with your own content before using the prompt.
[{LIBRARY_NAME][{COMPONENT_LIST][{STYLING_APPROACH][{USE_TYPESCRIPT][{SVELTE_OR_SVELTEKIT]