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

refelt-design

v1.1.14

Published

Minimal, Fast, LLM-Friendly Svelte UI Kit

Readme

Refelt UI Kit - LLM Reference

Pattern: component--modifier

Semantic props (behavior) + modifier classes (styling). NO inline styles.

Components

Text

<Text as="p|span|h1-h6" class="text--xs|sm|base|lg|xl|xxl text--muted|subtle|bold|error">

Button

<Button variant="default|secondary|accent|destructive|outline|ghost|link" 
        type="button|submit|reset" disabled 
        class="btn--sm|md|lg btn--rounded" on:click>

Badge

<Badge variant="success|warning|error|info|pending" class="badge--sm|md">

Card

<Card variant="default|elevated" class="card--border-dashed|border-only card--p-sm|lg card--transparent|glass">
  <div slot="header">...</div>
  content
  <div slot="footer">...</div>
</Card>

CardHeader / CardFooter

<CardHeader title="...">
  <Text>...</Text>
  <div slot="action"><Button/></div>
</CardHeader>
<CardFooter>buttons</CardFooter>

Stack

<Stack class="stack--vertical|horizontal stack--gap-sm|md|lg|xl|xxl stack--align-start|center|end">

Grid

<Grid columns="auto-fit|auto-fill|number" rows="auto|number" preset="sm|md|lg"
      class="grid--gap-sm|md|lg|xl|xxl grid--lg-1|2|3 grid--md-1|2|3 grid--sm-1|2">

Presets: sm=240px, md=280px, lg=320px

Separator

<Separator orientation="horizontal|vertical" decorative 
           class="separator--dashed|dotted|space separator--spacing-sm|md|lg|xl|xxl|none">

Container

<Container>content</Container>

Input

<Input type="text|email|password|number" label="..." placeholder="..." 
       bind:value disabled min max step id
       class="input--sm|md|lg" on:input on:focus on:blur>

Number type has +/- buttons & arrow key support.

Textarea

<Textarea label="..." placeholder="..." rows={4} bind:value disabled id
          class="textarea--sm|md|lg textarea--resize-none|vertical|horizontal|both"
          on:input on:focus on:blur>

Checkbox

<Checkbox label="..." bind:checked disabled id class="checkbox--sm|md|lg" on:change>

Radio

<Radio bind:group value name label disabled id class="radio--sm|md|lg" on:change>

Switch

<Switch label="..." bind:checked disabled id class="switch--sm|md|lg" on:change>

Label

<Label for="..." required class="label--sm|md|lg label--muted|bold">

Tokens

/* Spacing (8px grid) */
--space-sm: 8px, --space-md: 16px, --space-lg: 24px, --space-xl: 48px, --space-xxl: 64px

/* Type */
--font-size-xs: 12px, sm: 14px, base: 16px, lg: 18px, xl: 20px, xxl: 36px

/* Radius */
--radius-sm: 4px, md: 8px, lg: 10px, full: 999px

/* Breakpoints */
--breakpoint-sm: 640px, md: 768px, lg: 1024px

/* Colors (OKLCH dark) */
--bg, --bg-elevated, --bg-card, --border, --text, --text-muted
--accent, --destructive, --primary, --secondary
--status-success/warning/error/info (+ -bg variants)

Theme Toggle

document.documentElement.setAttribute('data-theme', 'light|dark');

Import

import { Text, Button, Badge, Card, CardHeader, CardFooter, 
         Container, Stack, Grid, Separator,
         Input, Textarea, Checkbox, Radio, Switch, Label } from '$lib/uikit';

Patterns

<!-- Form -->
<Stack class="stack--gap-md">
  <Label for="x" required>Name</Label>
  <Input id="x" bind:value={name}/>
  <Checkbox label="Accept" bind:checked/>
  <Button variant="accent">Submit</Button>
</Stack>

<!-- Layout -->
<Container>
  <Stack class="stack--gap-lg">
    <Card>
      <CardHeader title="Title"/>
      <Grid preset="md" class="grid--gap-md">
        <Card class="card--p-sm">...</Card>
      </Grid>
      <CardFooter><Button/></CardFooter>
    </Card>
  </Stack>
</Container>

Rules

✅ Use semantic props: variant, disabled, bind:value
✅ Use modifier classes: btn--lg, text--muted
✅ Combine: <Button variant="accent" class="btn--lg">
❌ NO inline styles: style="..."
❌ NO custom values: use tokens only