Skip to content

Rating

Star rating input/display.

Terminal window
npx github:truongnat/rnui#cli add rating

or directly via the shadcn CLI:

Terminal window
npx shadcn add https://<registry-base>/r/nativewind/rating.json # or /uniwind/

npm dependencies installed automatically: lucide-react-native

components/ui/rating.tsx
// See the source file for the API:
  • components/ui/rating.tsx

Installs together with: utils, theme