diff --git a/apps/demo/index.html b/apps/demo/index.html index b998c73..0c9a9cc 100644 --- a/apps/demo/index.html +++ b/apps/demo/index.html @@ -5,11 +5,60 @@ React Pixel UI - CSS Pixel Art Library for React - - + + + + + + + + + + + + + + + + +
diff --git a/apps/demo/public/llms.txt b/apps/demo/public/llms.txt new file mode 100644 index 0000000..ddd9ac7 --- /dev/null +++ b/apps/demo/public/llms.txt @@ -0,0 +1,42 @@ +# React Pixel UI + +> React Pixel UI is a pure-CSS pixel art component library for React. Wrap any element with the `` component and its rendered output is automatically transformed into a low-resolution pixel-art look — no Canvas, no pre-rendering, SSR compatible. + +## Why pure CSS + +The pixelation is achieved with a combination of `clip-path`, RGBA PNG gradient masks, and `drop-shadow` filters — meaning the output is real DOM/CSS, so it works under server-side rendering and is accessible. + +## Usage + +```jsx +import { Pixel } from "@react-pixel-ui/react"; + + + + +``` + +Anything inside `` (Tailwind, inline styles, CSS modules, even SVGs) is pixelated as-is. + +## Packages + +- **@react-pixel-ui/react** — React component (``) and hooks. Main entry. +- **@react-pixel-ui/core** — Framework-agnostic core (CSS generation utilities). + +## Links + +- npm (React): https://www.npmjs.com/package/@react-pixel-ui/react +- GitHub: https://github.com/Todari/react-pixel-ui +- Demo: https://react-pixel-ui.vercel.app + +## Compatibility + +- React 18+ +- SSR: yes (Next.js, Remix, etc.) +- Browsers: any with `clip-path` and `drop-shadow` support (all modern browsers) + +## Author + +Todari (https://todari.dev / https://github.com/Todari) diff --git a/apps/demo/public/robots.txt b/apps/demo/public/robots.txt new file mode 100644 index 0000000..fe99225 --- /dev/null +++ b/apps/demo/public/robots.txt @@ -0,0 +1,4 @@ +User-agent: * +Allow: / + +Sitemap: https://react-pixel-ui.vercel.app/sitemap.xml diff --git a/apps/demo/public/sitemap.xml b/apps/demo/public/sitemap.xml new file mode 100644 index 0000000..6f6b0c4 --- /dev/null +++ b/apps/demo/public/sitemap.xml @@ -0,0 +1,8 @@ + + + + https://react-pixel-ui.vercel.app/ + monthly + 1.0 + +