@ulubit/ui
v0.1.2
Published
Reusable Astro UI components built by UluBit
Readme
@ulubit/ui
Reusable Astro UI components built by UluBit.
The package provides accessible, project-independent UI components as Astro source files.
Requirements
- Astro 7
- Sass support
@ulubit/foundations
Installation
pnpm add @ulubit/ui @ulubit/foundationsThe consuming application must already support Sass.
Foundations
Load the global foundations once from the application's main stylesheet:
@use "@ulubit/foundations";The UI components use the shared foundation tokens for their visual styling.
Usage
Import components from the package root:
---
import { Button } from "@ulubit/ui";
---
<Button>Continue</Button>Multiple components can be imported together:
---
import {
Button,
IconButton,
TextField
} from "@ulubit/ui";
---Components
ButtonButtonLinkIconButtonTextInputTextField
