Block a user
@cam/velocityui (0.1.11)
Published 2026-03-04 19:15:50 +00:00 by cam
Installation
@cam:registry=npm install @cam/velocityui@0.1.11"@cam/velocityui": "0.1.11"About this package
@clow99/velocityui
Modern, accessible React UI components with scoped styles and TypeScript support.
Install
npm install @clow99/velocityui
Peer dependencies:
react>= 18react-dom>= 18
Usage
Import the stylesheet once at your app root:
import '@clow99/velocityui/dist/style.css'
Use components in your app:
import { Button, Card, Input, Title } from '@clow99/velocityui'
export function Example() {
return (
<Card variant="shadow">
<Card.Header>
<Title level="h2">Welcome</Title>
</Card.Header>
<Card.Body>
<Input label="Email" placeholder="you@example.com" />
<Button>Continue</Button>
</Card.Body>
</Card>
)
}
Available Exports
The library exports all components from src/index.ts, including:
- Form/input:
Input,Textarea,Select,Checkbox,RadioGroup,Switch,Slider,NumberInput,FileUpload - Layout/content:
Card,Title,Badge,Alert,Divider,Accordion,Tabs,Table - Feedback/overlay:
Tooltip,Dialog,Popover,Dropdown,Spinner,Skeleton,Progress,ToastProvider,useToast - Navigation/misc:
Avatar,Tag,EmptyState,Breadcrumb,Pagination,Stepper
Local Development
From the workspace root:
pnpm --filter velocityui build
Build output is written to dist/:
dist/index.js(ESM)dist/index.cjs(CJS)dist/index.d.ts(types)dist/style.css(bundled styles)
Watch mode:
pnpm --filter velocityui dev
Typecheck:
pnpm --filter velocityui lint
Run tests:
pnpm --filter velocityui test
pnpm --filter velocityui test:run
Dependencies
Development Dependencies
| ID | Version |
|---|---|
| @testing-library/jest-dom | ^6.9.1 |
| @testing-library/react | ^16.3.2 |
| @testing-library/user-event | ^14.6.1 |
| @types/react | ^18.3.3 |
| @types/react-dom | ^18.3.0 |
| @vitejs/plugin-react | ^4.3.1 |
| @vitest/coverage-v8 | ^4.0.18 |
| jsdom | ^28.1.0 |
| vite | ^5.3.1 |
| vite-plugin-dts | ^3.9.1 |
| vitest | ^4.0.18 |
Peer Dependencies
| ID | Version |
|---|---|
| react | >=18.0.0 |
| react-dom | >=18.0.0 |
Details
Assets (1)
Versions (10)
View all
velocityui-0.1.11.tgz
55 KiB