JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 12
  • Score
    100M100P100Q60294F
  • License MIT

A collection of reusable React components (atoms and molecules) built with Next.js and TypeScript.

Package Exports

  • atomic-uds-next-app
  • atomic-uds-next-app/dist/index.js
  • atomic-uds-next-app/dist/index.mjs

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (atomic-uds-next-app) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

smart-uds-atoms-nextjs-typescript

Screenshot 2025-02-27 at 1 46 29 AM Screenshot 2025-02-27 at 1 40 37 AM Screenshot 2025-02-27 at 1 57 33 AM

Overview

Smart UDS Atoms is a component library built with Next.js and TypeScript, following atomic design principles. It provides reusable UI components (atoms, molecules, organisms, etc.) to streamline development and maintain consistency across projects. This repository serves as a foundation for building scalable web applications with modern tooling.

Typical Atoms Components

Component Name Description Example Props/Features Button Basic interactive button variant, size, onClick, disabled Input Text input field type, placeholder, onChange, error Icon SVG/icon display name (icon type), size, color Typography Text elements (headings, paragraphs) variant (h1-h6, body), align, color Avatar User/profile image src, alt, size, shape (circle/square) Badge Small status indicator count, variant (success/error), position Spinner Loading indicator size, color, speed Checkbox Toggle checkbox checked, onChange, disabled Radio Radio button selected, onChange, label Chip Compact element for tags/filters label, onDelete, color Divider Horizontal/vertical separator orientation, thickness, color ProgressBar Visual progress indicator value, max, variant (linear/circular)

Configuration

Step 1:

npm i atomic-uds-next-app

Step 2:

npm i @heroicons/react ajv enzyme next react react-dom

Step 3:

replace your tailwind.config.ts with https://github.com/devprakashduve/smart-uds-atoms-nextjs-typescript/blob/main/tailwind.config.ts

Step 4:

replace https://github.com/devprakashduve/smart-uds-atoms-nextjs-typescript/blob/main/src/app/globals.css

you can start using components

for component reference you can clone the repo in local and run

npm run storybook