curiousui
v0.1.0
Published
Curious, animated React components: effects, textures, motion and charts.
Maintainers
Readme
Curious UI
Curious, animated React components: effects, textures, motion and charts. Each one is a single self-contained component with no styling setup: no Tailwind, no CSS import.
Install
npm install curiousuiRequires React 18 or newer. Works in Next.js (App Router and Pages), Vite and any other React setup.
Every component is a client component ("use client" is already set).
Use
import { Honeycomb, PillSelect, SketchReveal } from "curiousui"
export default function Page() {
return (
<Honeycomb style={{ height: 320 }}>
<PillSelect options={["Day", "Week", "Month"]} />
</Honeycomb>
)
}Import one component by its own path if you prefer:
import { LumenReveal } from "curiousui/lumen-reveal"Components
| Component | Import | Category |
| --- | --- | --- |
| PillSelect | curiousui/pill-select | Component |
| LightfallChart | curiousui/lightfall-chart | Component |
| LumenReveal | curiousui/lumen-reveal | Effect |
| RimLight | curiousui/rim-light | Effect |
| SketchReveal | curiousui/sketch-reveal | Effect |
| Contour | curiousui/contour | Texture |
| Honeycomb | curiousui/honeycomb | Texture |
| Perforated | curiousui/perforated | Texture |
| BlindShadow | curiousui/blind-shadow | Texture |
| HandGesture | curiousui/hand-gesture | Motion |
Every prop is typed and documented in the editor. The full list, with live previews, is on the website.
HandGesture
HandGesture renders with three.js, so it needs three installed alongside, and it is imported
from its own path only:
npm install threeimport { HandGesture } from "curiousui/hand-gesture"Prefer owning the code?
The same components can be copied straight into your project with the shadcn CLI, so you can edit them freely.
See the website for the npx shadcn add command for each one.
License
MIT
