Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@howells/stacksheet

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@howells/stacksheet

Typed, animated sheet stack system. Zustand store + Motion animations with Apple-style depth stacking.

Source
npmnpm
Version
1.2.0
Version published
Weekly downloads
24
-82.09%
Maintainers
1
Weekly downloads
 
Created
Source

Stacksheet

A typed, animated sheet stack for React. Powered by Zustand and Motion.

npm install @howells/stacksheet

Peer dependencies: react >= 18, react-dom >= 18.

Quick start

import { createStacksheet } from "@howells/stacksheet";
import "@howells/stacksheet/styles.css";

const { StacksheetProvider, useSheet } = createStacksheet();

function UserProfile({ userId }: { userId: string }) {
  const { close } = useSheet();
  return (
    <div>
      <h2>User {userId}</h2>
      <button onClick={close}>Done</button>
    </div>
  );
}

function App() {
  return (
    <StacksheetProvider>
      <YourApp />
    </StacksheetProvider>
  );
}

Open a sheet from any component:

const { open } = useSheet();
open(UserProfile, { userId: "u_abc" });

No registration, no type map, no config. The sheet slides in from the right on desktop, bottom on mobile, with focus trapping, scroll lock, drag-to-dismiss, and keyboard navigation built in.

Documentation

Full docs, interactive playground, and API reference:

stacksheet.danielhowells.com

License

MIT

Keywords

sheet

FAQs

Package last updated on 04 Apr 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts