exo-ds
v0.0.1
Published
A collection of tree-shakeable Astro components
Maintainers
Readme
Exo - Astro Components Library
A tree-shakeable collection of Astro components published as a single npm package.
🚀 Project Structure
/
├── src/
│ └── components/
│ └── toggle-group/
│ └── ToggleGroup.astro
├── package.json
├── tsconfig.json
└── README.md📦 Installation
npm install exo-ds🎯 Usage
The package is tree-shakeable, so you can import only the components you need:
---
import ToggleGroup from 'exo-ds/toggle-group';
---
<ToggleGroup items={['Option 1', 'Option 2', 'Option 3']} />🧞 Commands
| Command | Action |
| :------ | :----- |
| npm install | Install all dependencies |
| npm publish | Publish the package to npm |
📝 Publishing
To publish the package:
- Update the version in
package.jsonif needed - Run
npm publish
🔧 Development
The package uses Astro components and TypeScript. All components are located in src/components/ and can be imported individually for optimal tree-shaking.
📦 Available Components
- ToggleGroup - Toggle group component (
exo-ds/toggle-group)
