Skip to content

Components Library

A comprehensive Vue 3 component library built with TypeScript, PrimeVue, and Tailwind CSS, shared across all Samna frontend applications.

Overview

The Samna Components Library provides a unified set of UI components that ensure visual consistency across the Samna Portal, Bookable Portal, Sign Portal, and all other frontend applications. It includes 75+ PrimeVue components with custom Samna styling, a complete icon system with 92 custom icons, and specialized components for common use cases.

Storybook

The component library is documented with Storybook, hosted on Azure Static Web Apps (requires authentication). Run it locally with:

bash
pnpm storybook

Key Components

CategoryComponents
PrimeVue Components75+ components with custom Samna styling (Button, DataTable, Dialog, Dropdown, etc.)
Icon System92 custom icons with consistent sizing and styling
Date & Time PickersSpecialized picker components with advanced functionality
AI InputAI powered input with send/stop functionality and auto-resizing
Code EditorFull featured code editor with syntax highlighting and full screen mode
Dynamic TableConfigurable data table component

Installation

bash
pnpm add @nimling/samna-vue-components
typescript
import { Button, DataTable, Dialog } from "@nimling/samna-vue-components"
import "@nimling/samna-vue-components/dist/style.css"

Repository

nimling/samna-vue-components