{"_id":"@artificialpoets/poeticui","_rev":"2-b6b03968d44a2d999d5965cbdcd13b80","name":"@artificialpoets/poeticui","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@artificialpoets/poeticui","version":"0.1.0","license":"Apache-2.0","_id":"@artificialpoets/poeticui@0.1.0","maintainers":[{"name":"matysanchez","email":"saitam06@gmail.com"}],"homepage":"https://github.com/artificialpoets/poeticui#readme","bugs":{"url":"https://github.com/artificialpoets/poeticui/issues"},"dist":{"shasum":"7e1ebaccb6f972de6faa8d220940c9990836b2e6","tarball":"https://registry.npmjs.org/@artificialpoets/poeticui/-/poeticui-0.1.0.tgz","fileCount":14,"integrity":"sha512-Kn0QHQQzZkDb/4TT8sZboHXAJcQyNjUArDVZcJpMrEhbpOJZGOEl4dAe4gUwQjoY0gNVly78iSt9e9o7+sbcbg==","signatures":[{"sig":"MEYCIQDoYbtULqAKVh6FKG8nHloPJycK774SqzmSchD6Fzm84gIhAKVCKWjhKrDumc/A5Vv1T1/O0dWzg6JCkFyIoH+CYL5e","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6821},"main":"./src/index.ts","type":"module","types":"./src/index.ts","exports":{".":"./src/index.ts","./lib":"./src/lib.ts","./core":"./src/core.ts","./misc":"./src/misc.ts","./forms":"./src/forms.ts","./icons":"./src/icons.ts","./layout":"./src/layout.ts","./tables":"./src/tables.ts","./feedback":"./src/feedback.ts","./navigation":"./src/navigation.ts","./data-display":"./src/data-display.ts","./styles/tokens":"./styles/tokens.css"},"gitHead":"077baa29ce54a7c0883440a0304330ec7a417bc0","_npmUser":{"name":"matysanchez","email":"saitam06@gmail.com"},"repository":{"url":"git+https://github.com/artificialpoets/poeticui.git","type":"git","directory":"packages/poeticui"},"_npmVersion":"10.8.2","description":"Poetic UI — one install for tokens + components. The single-package convenience layer over @artificialpoets/tokens and @artificialpoets/components.","directories":{},"sideEffects":["./styles/*.css"],"_nodeVersion":"20.20.2","dependencies":{"@artificialpoets/tokens":"^0.1.0","@artificialpoets/components":"^0.1.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"peerDependencies":{"clsx":"^2.0.0","react":"^19.0.0","react-dom":"^19.0.0","tailwind-merge":"^3.0.0","@headlessui/react":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/poeticui_0.1.0_1779170532161_0.7034273026934019","host":"s3://npm-registry-packages-npm-production"},"deprecated":"This package has been renamed. Install 'poeticui' instead: bun add poeticui"}},"time":{"created":"2026-05-19T06:02:12.096Z","modified":"2026-05-19T07:40:21.829Z","0.1.0":"2026-05-19T06:02:12.295Z"},"bugs":{"url":"https://github.com/artificialpoets/poeticui/issues"},"license":"Apache-2.0","homepage":"https://github.com/artificialpoets/poeticui#readme","repository":{"url":"git+https://github.com/artificialpoets/poeticui.git","type":"git","directory":"packages/poeticui"},"description":"Poetic UI — one install for tokens + components. The single-package convenience layer over @artificialpoets/tokens and @artificialpoets/components.","maintainers":[{"name":"matysanchez","email":"saitam06@gmail.com"}],"readme":"# @artificialpoets/poeticui\n\n> One install. Tokens + components in a single package. The convenience layer over `@artificialpoets/tokens` and `@artificialpoets/components`.\n\n```bash\nbun  add @artificialpoets/poeticui\npnpm add @artificialpoets/poeticui\nnpm  install @artificialpoets/poeticui\nyarn add @artificialpoets/poeticui\n```\n\nYou also need React 19 + the standard styling peers (most projects have these already):\n\n```bash\nbun add react@^19 react-dom@^19 @headlessui/react@^2 clsx@^2 tailwind-merge@^3\n```\n\nFor technical-content primitives (`<CodeBlock>`, `<BlockMath>`, `<PackageManagerTabs>`), install the separate content package — it has heavy peers (Shiki, KaTeX):\n\n```bash\nbun add @artificialpoets/content\n```\n\n## Quick start\n\n```tsx\nimport { Button } from \"@artificialpoets/poeticui\";\nimport { Card, Heading, Text, Badge } from \"@artificialpoets/poeticui\";\n\nexport default function Welcome() {\n  return (\n    <Card>\n      <Badge color=\"green\">v0.1.0</Badge>\n      <Heading as=\"h2\">Welcome to Poetic UI</Heading>\n      <Text>Built with @artificialpoets/poeticui.</Text>\n      <Button color=\"dark/zinc\">Get started</Button>\n    </Card>\n  );\n}\n```\n\nWire the CSS once in your app entry:\n\n```css\n@import \"tailwindcss\";\n@custom-variant dark (&:where(.dark, .dark *));\n@import \"@artificialpoets/poeticui/styles/tokens\";\n```\n\nThat's the full install. The library paints with a neutral theme by default; override the 6-slot theme contract in your own CSS to rebrand.\n\n## Two import styles\n\nPick whichever feels right — both are supported and tree-shake equally well:\n\n```tsx\n// Barrel — simplest\nimport { Button, Card, Heading, Input, Switch } from \"@artificialpoets/poeticui\";\n\n// Subpath — explicit category, slightly easier to grep for in big codebases\nimport { Button } from \"@artificialpoets/poeticui/core\";\nimport { Card, Heading } from \"@artificialpoets/poeticui/data-display\";\nimport { Input, Switch } from \"@artificialpoets/poeticui/forms\";\n```\n\n## Subpaths\n\n| Subpath | What it re-exports |\n|---|---|\n| `@artificialpoets/poeticui` | Everything from `@artificialpoets/components` |\n| `@artificialpoets/poeticui/core` | Button, Link, TouchTarget |\n| `@artificialpoets/poeticui/data-display` | Avatar, Badge, BadgeButton, Card, Code, DescriptionList family, Divider, Heading, Skeleton, Stat, Strong, Subheading, Table family, Text, TextLink |\n| `@artificialpoets/poeticui/forms` | Checkbox, Combobox, Fieldset family, Input, Select, Switch family, Textarea, Date-range-picker |\n| `@artificialpoets/poeticui/feedback` | Alert, Callout, Dialog family, EmptyState, Hint |\n| `@artificialpoets/poeticui/layout` | DrawerShell, PageHeader, SidebarLayout, StackedLayout |\n| `@artificialpoets/poeticui/navigation` | Breadcrumbs, Navbar family, Pagination, SegmentedTabs, Sidebar family, Tabs |\n| `@artificialpoets/poeticui/tables` | DataTable family, FilteredTable, TablePaginationFooter, useDataTableState |\n| `@artificialpoets/poeticui/misc` | Dropdown family, Popover |\n| `@artificialpoets/poeticui/icons` | ServiceIcon |\n| `@artificialpoets/poeticui/lib` | cx() helper |\n| `@artificialpoets/poeticui/styles/tokens` | CSS — OKLCH palette + semantic variables + Tailwind theme mapping + neutral default theme |\n\n## What this is (and isn't)\n\nThis package is a **thin wrapper** — it adds zero source code, zero behavior, and depends on the underlying packages via `^0.1.0`. Use it for ergonomics: one install command, one canonical import path. The underlying packages continue to work and remain installable standalone:\n\n```bash\n# Granular install style — also supported, identical components\nbun add @artificialpoets/components @artificialpoets/tokens\n```\n\nThe two styles are interchangeable. Pick whichever fits your project.\n\n## License\n\nApache-2.0. See [LICENSE](../../LICENSE) at the repo root.\n","readmeFilename":"README.md"}