šŸš€ Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more →
Socket
DemoInstallSign in
Socket

astrobits

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

astrobits

![astrobits-preview-image](https://patroninc.b-cdn.net/astrobit-component-library.png)

0.0.3
latest
npm
Version published
Weekly downloads
108
414.29%
Maintainers
1
Weekly downloads
Ā 
Created
Source

Astrobits

astrobits-preview-image

yarn add astrobits

About

I wanted a set of retro 16-bit inspired components for the marketing website of Patron and decided it would be best to make an actual component library for it.

All components in this library have styles following the BEM guidelines enforced with stylelint. Tailwind v4 is used through the @apply directive. This should be easy for others to contribute to if they so wish.

Colors can be easily customized by overriding the variables in src/styles/global.css.

šŸš€ Project Structure

Inside of your Astro project, you'll see the following folders and files:

/
ā”œā”€ā”€ index.ts
ā”œā”€ā”€ src
│   └── components
|     └── Component
|       ā”œā”€ā”€ Component.astro
|       ā”œā”€ā”€ Component.css
ā”œā”€ā”€ tsconfig.json
ā”œā”€ā”€ package.json

The index.ts file is the "entry point" for your package. Export your components in index.ts to make them importable from your package.

Keywords

astro-component

FAQs

Package last updated on 19 May 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts