Cnippet

Role Permissions Picker

Forms 14

About

A permissions picker with a checkbox list where each access level has a colored badge showing its scope.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Role Permissions Picker to your project and fits it to your theme.

Code

How Role Permissions Picker is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import RolePermissionsPicker from "@/components/ui/role-permissions-picker";

export default function Default() {
  return (
    <div className="flex min-h-svh w-full items-center justify-center p-6">
      <RolePermissionsPicker />
    </div>
  );
}

More by Cnippet

View all
  • Team

    Team

    1.3K
  • Davincho Hero-1

    Davincho Hero-1

    692
  • Aero Hero-3

    Aero Hero-3

    593
  • Features

    Features

    522
  • Random Letter Swap Navigation

    Random Letter Swap Navigation

    521
  • Services with Animated Hover Modal

    Services with Animated Hover Modal

    476
  • Blogs

    Blogs

    400
  • Aero Hero-1

    Aero Hero-1

    370

More in Forms

View all
  • Form

    Form

    137
  • Premium Auth

    Premium Auth

    544
  • Contact Card

    Contact Card

    1.1K
  • Login 1

    Login 1

    59
  • Card Studio

    Card Studio

    46
  • Login 2

    Login 2

    10
  • Book A Demo 1

    Book A Demo 1

    81
  • SignInPage

    SignInPage

    713

Explore more

Part of Cnippet — browse the full library on 21st.dev.