1 slot open this monthBy the makers of shadcnregistryWe built shadcnregistry. Now we build your product.Book a callCheck availability
1 slot open this monthAI features?We build AI features into your product.Book a callCheck availability
1 slot open this month๐Ÿšจ Slop police๐Ÿšจ Slop police: we clean up vibe-coded apps.Report itReport your app
shadcnregistry
shadcnregistry
RegistryHealthInspect
Terms of ServicePrivacy Policy
  1. Registries
  2. mangacn
  3. Reaction Picker

Reaction Picker

component

A row of reactions drawn as manpu marks (anger, sweat, surprise, question, sparkle, gloom, love, sigh), each a toggle chip with its count in the SFX face: 2px ink frame, sharp corners. A chip is a button with aria-pressed; reacted = ink flat sweeping in (G2), hover thickens the line (G3, small cells), a click hits with speed lines (G4) and the count takes the hit when it changes; new chips pop in (G5). A "+" chip opens the kit Popover bubble (G6) with the eight marks as labelled buttons ("React with anger"); picking one toggles it and closes. Arrow keys move inside the grid. The row wraps; 44px targets under 640px. Controlled: pass reactions and toggle them in onReact. max caps the different kinds in the row; disabled makes it read-only (dashed chips). Exports ReactionChip and ReactionGrid for custom layouts and frozen previews.

pnpm dlx shadcn@latest add "https://mangacn.romain-sonnet.fr/r/reaction-picker.json"
Premium blocks for shadcn/uiShadcnblocks.com ยท AffiliateExplore
  • cn
@components/manga/reaction-picker.tsx