npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@scttlnd/fintech-design-system

v0.5.0

Published

Shared design foundations for Funder, Portare and Investor

Downloads

914

Readme

Fintech Design System

Shared Funder-derived design foundations for Portare, Investor and Funder. Each brand and product remains independent.

Develop with Vite+

npm ci
npm run check
npm test
npm run build
npm pack --dry-run

The project-local vite-plus package provides vp pack, vp check and vp test. Global vp is optional.

Use in frontend (after npm release)

npm install @scttlnd/fintech-design-system

At the app root import the shared styles. Studio is included by default:

import "@scttlnd/fintech-design-system/styles.css";
import { Button } from "@scttlnd/fintech-design-system";

Studio panels are flat by default. Explicit Funder, Investor and Portare themes retain their soft glow and film grain (data-fds-grain="off" opts out); see Foundation tokens.

Read AGENTS.md and adoption guide before integrating. Planned component roadmap: component plan. Original Funder palette is sourced from nicklaslind/Funder/src/app/globals.css. Portare's light theme is a proposed product-specific adaptation.

Showcase

The component showcase (npm run showcase:dev locally, npm run showcase:build for a static build) in showcase/index.html is deployed to GitHub Pages by .github/workflows/pages.yml when its components, styles, dependencies, or showcase change on main: https://scottlinddk.github.io/fintech-design-system/. One-time setup: repository Settings → Pages → Source: GitHub Actions.

Components

| Component | Purpose | Origin | | --------------------------------------------- | ----------------------------------------------------------------------- | ---------------------------------------------------------------- | | Button | Primary / secondary / ghost actions | Shared | | Panel | Titled surface with eyebrow, help text and action; labelled <section> | Funder Panel, Investor .panel | | Metric, KeyValue | Label/value tiles for pre-formatted figures | Funder Metric / KeyValue, Investor .metrics | | Badge | Status chip (neutral, accent, success, warn, danger) | Funder Pill, Investor .status-badge | | Notice, EmptyState | Inline messages (danger = role="alert") and empty placeholders | Investor .notice, .empty-state | | Field, Input, Select, Textarea | Label/hint/error wiring with 44px touch targets and 16px mobile font | Investor .form-grid/.field-hint, Funder form sizing standard | | Meter, SegmentedMeter, DistributionList | Bounded bars, discrete scale, ranked share bars (role="meter") | Funder EvidenceBar, RiskBars, ExposureList | | Menu | Action menu with Escape/arrow-key support and focus return | Funder Menu |

Components render only --fds-* styled markup. Formatting, locale, currency and calculations stay in the consuming app (pass pre-formatted strings, or formatValue). The published modules for Button, Menu, Field (including its native controls), and Panel carry "use client". The root barrel and static primitives such as Badge remain server-compatible. Event handlers, Menu.items callbacks and Field.children render functions still belong in a consumer client component because functions cannot cross the server/client boundary. See Next.js verification.

Cascade layer

Package styles and themes live in @layer fds. Normal unlayered consumer CSS overrides them regardless of specificity or import order. This changes cascade behaviour in Phase 0; review consumer resets and focus rules before upgrading. Layered apps can declare @layer reset, fds, app;. See cascade migration notes.

npm publishing

Releases are automated by .github/workflows/release.yml (Changesets) on every push to main, using npm trusted publishing (OIDC). Requires the npm user/scope @scttlnd (npm username scttlnd; the GitHub owner scottlinddk is a different name), a one-time bootstrap publication because npm can only attach a Trusted Publisher to an existing package, and then a Trusted Publisher configured on npmjs.com for GitHub scottlinddk/fintech-design-system, workflow filename release.yml. Releases default to a minor bump on ordinary pushes to main; an explicit patch/minor/major changeset overrides that default. Merging the generated version PR publishes without starting another bump. See the release policy and staging recovery guide.

Studio theme

The package and showcase default to Studio: a Shadcn Studio-inspired foundation with forest-green depth, sage surfaces, restrained lime accents, and a spacious Vite+-inspired composition. Funder, Investor, and Portare retain their existing token values.

import "@scttlnd/fintech-design-system/styles.css";

No theme attribute or additional stylesheet is needed for Studio. The explicit themes/studio.css export and data-fds-theme="studio" remain supported for existing integrations and named subtrees. Studio uses flat panels. Add data-fds-mode="dark" to the app root (<html> for a full-page theme) for its dark palette; omit it or use "light" for light. Remove the mode attribute when switching to another product theme. All existing components and --fds-* token names work unchanged.

The Studio font stack prefers DM Sans. The showcase self-hosts its variable webfont under showcase/assets/ with its SIL Open Font License. Consumers can load DM Sans themselves or override --fds-font-sans with their own brand font; the package does not load fonts or make network requests.

Try ?theme=studio&mode=dark in the showcase. Its preview tabs support arrow keys, Home, and End; settings, saved views, component actions, and command copying are interactive browser-local examples.

Studio exposes --fds-brand-* tokens for the forest, sage, and lime decorative fields in the showcase. Use --fds-brand-foreground and --fds-brand-muted on the forest/deep surfaces, and --fds-brand-ink on lime/sage surfaces. These accents complement the semantic --fds-success, --fds-warn, and --fds-danger tokens; they do not replace status meaning.

Choosing a product theme

To keep the original Funder, Investor, or Portare appearance, import exactly one product theme after the base stylesheet:

import "@scttlnd/fintech-design-system/styles.css";
import "@scttlnd/fintech-design-system/themes/funder.css"; // or investor.css / portare.css

These imports work with or without a matching data-fds-theme attribute. Set that attribute when selecting named subtrees; remove Studio's data-fds-mode when switching products. Existing product theme colors, typography, and panel treatments are preserved.

Upgrading from the implicit dark default: styles.css alone now selects Studio light. Add themes/funder.css to preserve the previous implicit appearance, or use data-fds-mode="dark" to adopt Studio dark. Consumers already importing a product theme require no changes. The default change takes effect in the next published npm release; the package does not change consumer dependency versions automatically.