{"library":"react-slotify","type":"library","category":null,"description":"React Slotify is a lightweight (~500B) TypeScript library that introduces the 'Slots' concept into modern React applications, offering a semantic alternative to the 'render props' pattern. As of version 0.2.2, it provides a type-safe API for defining and consuming content slots within components, aiming for simplicity and improved readability. While a relatively new library, its focus on explicit content projection differentiates it from patterns like default `children` or explicit `render props` by allowing multiple, named content areas within a single component. Its release cadence is not explicitly stated, but it appears to be in active development, awaiting a 1.0 stable release, which suggests the API might evolve.","language":"javascript","status":"active","version":"0.2.2","tags":["javascript","typescript"],"install":[{"cmd":"npm install react-slotify","imports":["import { createSlot } from 'react-slotify';","import { createSlot } from 'react-slotify';\nexport const MyParamSlot = createSlot<{ myParam: string }>();","import { createSlot } from 'react-slotify';\nexport const MySlot = createSlot();"]},{"cmd":"yarn add react-slotify","imports":[]},{"cmd":"pnpm add react-slotify","imports":[]}],"homepage":null,"github":null,"docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/react-slotify","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/react-slotify/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Sat Jul 18","install_tag":null}}