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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@curatordev/mantine

v0.1.5

Published

React admin UI components for Mantine v8 + Refine.js

Readme

@curatordev/mantine

React admin UI components for Mantine v8 and Refine.js.

Installation

pnpm add @curatordev/mantine @mantine/core @mantine/dates @mantine/hooks @mantine/modals @refinedev/core dayjs react-hook-form

Features

  • Layout: Page layouts (Create, Edit, List, Show views with breadcrumbs and actions)
  • Fields: Display components (Text, Number, Boolean, Date, Email, URL, Image, File, Markdown, Reference, Tag, Array, Computed)
  • Inputs: Form inputs (Text, Number, Boolean, Date, DateTime, Select, MultiSelect, Autocomplete, File, Image, ManyToMany editor)
  • Buttons: Action buttons (Create, Edit, Delete, Show, List, Save, Refresh, Export)
  • Filters: Query filters (Text, Numeric, Boolean, Select, List, DateRange)
  • Actions: Perform operations on multiple selected records with "select all" support
  • Forms: Pre-built form layouts (EditForm)
  • Overlays: Modal dialogs (Create, Edit overlays)
  • Context: Data management (ManyToMany relationships)
  • Utilities: General purpose utils (Export, Files)

Quick Start

import { Edit, EditForm, TextFieldInput, BooleanFieldInput } from '@curatordev/mantine';

function UserEdit({ id }: { id: string }) {
  return (
    <Edit resource="users" id={id}>
      {(user, { resource, id }) => (
        <EditForm data={user} resource={resource} id={id}>
          <TextFieldInput source="first_name" label="First Name" />
          <TextFieldInput source="last_name" label="Last Name" />
          <BooleanFieldInput source="is_active" label="Active" />
        </EditForm>
      )}
    </Edit>
  );
}

Component Categories

Layout

Page layout components:

  • Create - Create page with breadcrumbs and back button
  • Edit - Edit page with breadcrumbs and action buttons
  • List - List page with breadcrumbs and create button
  • Show - Show/detail page with breadcrumbs and action buttons

Fields

Read-only display components for showing data:

  • TextField - Display text values
  • NumberField - Display numbers with formatting
  • BooleanField - Display boolean as checkmark/x
  • DateField - Display dates with formatting
  • EmailField - Display email as mailto link
  • UrlField - Display URL as link
  • ImageField - Display image with lightbox
  • FileField - Display file with download link
  • MarkdownField - Render markdown content
  • ReferenceField - Display related record
  • TagField - Display value as tag/badge
  • ArrayField - Display array items
  • ComputedField - Display computed value
  • LabeledField - Wrapper for label + field

Inputs

Form input components that work with react-hook-form:

  • TextFieldInput - Text/textarea input
  • NumberFieldInput - Number input
  • BooleanFieldInput - Checkbox/switch input
  • DateFieldInput - Date picker
  • DateTimeFieldInput - Date + time picker
  • SelectFieldInput - Single select dropdown
  • MultiSelectFieldInput - Multi-select dropdown
  • AutocompleteFieldInput - Autocomplete with search
  • FileFieldInput - File upload
  • ImageFieldInput - Image upload with preview
  • ManyToManyTableEditor - Edit many-to-many relationships in a table

Buttons

Action buttons that integrate with Refine.js resource actions:

  • CreateButton - Navigate to create page
  • EditButton - Navigate to edit page
  • ShowButton - Navigate to show/detail page
  • DeleteButton - Delete a record with confirmation
  • ListButton - Navigate back to list page
  • SaveButton - Submit form
  • RefreshButton - Refresh current data
  • ExportButton - Export all filtered records to CSV (or custom format)

Filters

Query filter components for list pages:

  • TextFilter - Text search filter
  • NumericFilter - Number range filter
  • BooleanFilter - Boolean toggle filter
  • SelectFilter - Single/multi select filter
  • ListFilter - Filter by IDs
  • DateRangeFilter - Date range filter with presets

Actions

Perform operations on multiple selected records:

  • BulkActions - UI component for bulk operations with dropdown and "select all" functionality
  • useRecordSelection - Hook to manage record selection state

Forms

Pre-built form layouts:

  • EditForm - Standard edit/create form layout with save button

Overlays

Modal dialog components:

  • CreateOverlay - Create form in a modal
  • EditOverlay - Edit form in a modal

Context

Data management:

  • ManyToManyProvider - Provider for many-to-many relationship data
  • useManyToMany - Hook to access many-to-many context

Utilities

Utilities for exporting data:

  • fetchAllRecords - Fetch all records across pages with filters
  • fetchAllIds - Fetch all record IDs across pages
  • recordsToCSV - Convert records to CSV format
  • downloadFile - Trigger browser file download
  • generateExportFilename - Generate timestamped filename

Backend Integration

Curator components are designed to work with REST APIs that implement structured pagination, sorting, and filtering. For Go backends, check out dewey, which provides utilities for building these capabilities into your API endpoints.

License

MIT - see LICENSE for details.