@o2e-brands/pebble-web
v0.1.0-beta.2
Published
Tier 1 web components for Pebble UI: Button, Input, Card.
Readme
@o2e-brands/pebble-web
Tier 1 React components for Pebble UI: Button, Input, Card.
Install
pnpm add @o2e-brands/pebble-webPlus the foundation packages:
pnpm add @o2e-brands/pebble-tokens @o2e-brands/pebble-utils @o2e-brands/pebble-web-themeUsage
// Per-component imports (recommended for tree-shaking)
import { Button } from "@o2e-brands/pebble-web/button"
import { Input } from "@o2e-brands/pebble-web/input"
import { Card } from "@o2e-brands/pebble-web/card"
// Or barrel
import { Button, Input, Card } from "@o2e-brands/pebble-web"You also need:
<ThemeProvider theme={gj}>wrapping your app (from@o2e-brands/pebble-web-theme).pebblePresetin your Tailwind config.globals.cssimported once.
See @o2e-brands/pebble-web-theme README for setup.
Components in v0.1
- Button — 5 variants, 3 sizes, icon-only, loading. Matches Figma node 34:6.
- Input — default + error states, sized.
- Card — compound: Card.Header, Card.Title, Card.Description, Card.Body, Card.Footer.
Manifests
Each component ships a manifest.json describing its variants, slots, examples, and a11y.
