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

fb-min-design

v1.0.0

Published

A minimalist design system for V0 with clean UI components

Downloads

5

Readme

FB Min Design

A clean, minimalist design system built for V0 and React applications. Based on the original Figma design system with comprehensive UI components.

Installation

npm install fb-min-design

Quick Start

import { Button, Input, Message, tokens } from 'fb-min-design';

function App() {
  return (
    <div>
      <Button variant="primary">
        Click me
      </Button>
      
      <Input 
        label="Email"
        placeholder="Enter your email"
        type="email"
      />
      
      <Message 
        variant="success"
        message="Successfully saved!"
      />
    </div>
  );
}

Components

Button

A versatile button component with multiple variants and sizes.

import { Button } from 'fb-min-design';

// Basic usage
<Button variant="primary" size="md">
  Primary Button
</Button>

// With icon
<Button variant="secondary" icon={<IconUpload />}>
  Upload File
</Button>

// Disabled state
<Button variant="default" disabled>
  Disabled Button
</Button>

Props:

  • variant: 'primary' | 'secondary' | 'default' | 'neutral'
  • size: 'sm' | 'md' | 'lg'
  • disabled: boolean
  • icon: ReactNode
  • iconPosition: 'left' | 'right'

Input

A flexible input component with validation states and labels.

import { Input } from 'fb-min-design';

// Basic input
<Input 
  label="Full Name"
  placeholder="Enter your name"
  required
/>

// With validation
<Input 
  label="Email"
  type="email"
  variant="error"
  helperText="Please enter a valid email"
/>

// With icon
<Input 
  label="Search"
  placeholder="Search..."
  icon={<SearchIcon />}
/>

Props:

  • label: string
  • type: 'text' | 'email' | 'password' | 'number' | 'date' | 'tel' | 'url'
  • variant: 'normal' | 'focused' | 'filled' | 'success' | 'warning' | 'error'
  • helperText: string
  • icon: ReactNode

Checkbox

A customizable checkbox component.

import { Checkbox } from 'fb-min-design';

<Checkbox 
  label="Accept terms and conditions"
  checked={agreed}
  onChange={setAgreed}
/>

Radio

Radio button component for single selection.

import { Radio } from 'fb-min-design';

<Radio 
  label="Option 1"
  value="option1"
  name="selection"
  checked={selected === 'option1'}
  onChange={() => setSelected('option1')}
/>

Switch

A toggle switch component.

import { Switch } from 'fb-min-design';

<Switch 
  label="Enable notifications"
  checked={notifications}
  onChange={setNotifications}
/>

Message

Display success, error, warning, or notification messages.

import { Message } from 'fb-min-design';

// Success message
<Message 
  variant="success"
  message="Successfully saved!"
  onClose={() => setShowMessage(false)}
/>

// Error message
<Message 
  variant="error"
  message="Something went wrong. Please try again."
/>

// Notification
<Message 
  variant="notification"
  message="You have 2 new messages!"
/>

Props:

  • variant: 'success' | 'error' | 'warning' | 'notification'
  • message: string
  • onClose: () => void (optional)
  • icon: ReactNode (optional)

Dropdown

A customizable dropdown select component.

import { Dropdown } from 'fb-min-design';

const options = [
  { label: 'Option 1', value: 'opt1' },
  { label: 'Option 2', value: 'opt2' },
  { label: 'Option 3', value: 'opt3' },
];

<Dropdown 
  label="Select an option"
  options={options}
  value={selected}
  onChange={setSelected}
  placeholder="Choose..."
/>

Slider

A range slider component.

import { Slider } from 'fb-min-design';

<Slider 
  label="Volume"
  value={volume}
  onChange={setVolume}
  min={0}
  max={100}
/>

UserTile

Display user information with optional removal functionality.

import { UserTile } from 'fb-min-design';

<UserTile 
  name="John Doe"
  image="https://example.com/avatar.jpg"
  size="md"
  onRemove={() => removeUser(userId)}
/>

Design Tokens

Access design tokens for consistent styling:

import { tokens } from 'fb-min-design';

const customStyles = {
  color: tokens.colors.primary.blue,
  fontSize: tokens.typography.fontSize.lg,
  padding: tokens.spacing[4],
  borderRadius: tokens.borderRadius.lg,
};

Available Tokens

  • Colors: Primary, secondary, neutral, and semantic colors
  • Typography: Font families, sizes, weights, and line heights
  • Spacing: Consistent spacing scale (0-24)
  • Border Radius: Rounded corner options
  • Shadows: Elevation and depth effects
  • Breakpoints: Responsive design breakpoints

Color Palette

  • Primary Blue: #00A1F1
  • Secondary Blue: #005376
  • Accent Orange: #FF8C19
  • Success Green: #10B981
  • Warning Orange: #F59E0B
  • Error Red: #EF4444

Typography

Built with Lato font family and a modular scale:

  • Base size: 16px
  • Scale ratio: 1.333
  • Sizes: 12px - 50px

V0 Integration

This design system is optimized for use with V0. Simply import components and use them in your V0 projects:

import { Button, Input, Message } from 'fb-min-design';

export default function ContactForm() {
  return (
    <div className="max-w-md mx-auto p-6">
      <Input 
        label="Name"
        placeholder="Your name"
        className="mb-4"
      />
      <Input 
        label="Email"
        type="email"
        placeholder="[email protected]"
        className="mb-4"
      />
      <Button variant="primary" className="w-full">
        Submit
      </Button>
    </div>
  );
}

Development

# Install dependencies
npm install

# Build the package
npm run build

# Run in development mode
npm run dev

# Type checking
npm run type-check

# Linting
npm run lint

License

MIT License - feel free to use in your projects!

Contributing

Contributions are welcome! Please read our contributing guidelines and submit pull requests for any improvements.