Holo

Roles Matrix

Component

About

Role permissions matrix with hierarchy conflict detection.

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

Code

How Roles Matrix is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import * as React from "react"
import { RolesMatrix } from "@/components/ui/st-roles-matrix"

export default function RolesMatrixDemo() {
  return (
    <RolesMatrix
      defaultValue={{
        viewer: { read: true, comment: true },
        editor: { read: true, comment: true, edit: true, invite: true },
        admin: { read: true, comment: true, edit: true, publish: true },
        owner: { read: true, comment: true, edit: true, publish: true, invite: true, roles: true, billing: true, delete: true },
      }}
    />
  )
}

Dependencies

More by Holo

View all
  • Testimonial Coverflow

    Testimonial Coverflow

    68
  • Slot Week Picker

    Slot Week Picker

    67
  • Pricing Plan Tilt

    Pricing Plan Tilt

    46
  • Command Palette

    Command Palette

    32
  • Lens Reel

    Lens Reel

    30
  • Appearance Lab

    Appearance Lab

    23
  • Orbit Goals

    Orbit Goals

    20
  • Notification Matrix

    Notification Matrix

    18