@7pmlabs/design-system
v1.0.9
Published
A Vue 3 component library built with TypeScript, Tailwind CSS 4, and Ant Design inspiration. 51 components covering forms, data display, feedback, navigation, and layout.
Maintainers
Readme
@7pmlabs/design-system
A Vue 3 component library built with TypeScript, Tailwind CSS 4, and Ant Design inspiration. 51 components covering forms, data display, feedback, navigation, and layout.
Installation
npm install @7pmlabs/design-system
# or
bun add @7pmlabs/design-systemUsage
import { BButton, BInput, BModal } from '@7pmlabs/design-system'
import '@7pmlabs/design-system/style.css'Components
General
BButton · BDivider · BFloatButton · BIcon
Form
BAutoComplete · BCascader · BCheckbox · BColorPicker · BDatePicker · BForm · BInput · BInputNumber · BMentions · BRadio · BRate · BSelect · BSlider · BSwitch · BTimePicker · BUpload
Data Display
BAvatar · BBadge · BCard · BCollapse · BDescriptions · BEmpty · BImage · BMasonry · BPagination · BSegmented · BSteps · BTable · BTabs · BTag · BTimeline · BTree · BTour
Feedback
BAlert · BMessage · BModal · BNotification · BProgress · BSpin
Navigation
BAnchor · BBreadcrumb · BDrawer · BDropdown · BMenu · BPopconfirm · BPopover · BTooltip
Tech Stack
- Framework: Vue 3.5 (Composition API,
<script setup>) - Language: TypeScript 5.9 (strict)
- Styling: Tailwind CSS 4 with
b:prefix + scoped CSS custom properties - Build: Vite 8 + Rolldown (library mode, ES modules)
- Testing: Vitest, Playwright, Storybook vitest addon
- Storybook: v10.4
Development
bun install # Install dependencies
bun run dev # Vite dev server
bun run storybook # Storybook dev server (port 6006)Testing
bun run test:unit # Unit tests (Vitest)
bun run test:storybook # Storybook interaction & a11y tests
bun run test:e2e # End-to-end tests (Playwright)Build
bun run build # Lint + build library + generate types
bun run build-storybook # Build static StorybookLinting & Formatting
bun run lint-all # ESLint + oxlint + type-check
bun run format # PrettierLicense
MIT
