+
+ Roles help you group community members together and assign them certain
+ permissions. When people join the community, they are automatically
+ assigned the Members role.
+
+
+ Communities must always have the Admins and Members role.
+
+
+
+ {rolePanelList}
+
+
+ Create Role
+
+
+
+ );
+}
+
+export default CommunityRolesModal;
diff --git a/web/roles/role-panel-entry.css b/web/roles/role-panel-entry.css
new file mode 100644
--- /dev/null
+++ b/web/roles/role-panel-entry.css
@@ -0,0 +1,24 @@
+.rolePanelEntry {
+ display: flex;
+ flex-direction: row;
+ justify-content: space-between;
+ align-items: center;
+ padding: 12px;
+ color: var(--community-roles-text-color);
+ font-weight: 500;
+}
+
+.rolePanelNameEntry {
+ font-size: var(--s-font-14);
+}
+
+.rolePanelCountEntryContainer {
+ margin-right: 40px;
+ display: flex;
+ align-items: flex-end;
+}
+
+.rolePanelCountEntry {
+ font-size: var(--s-font-14);
+ margin-right: 2px;
+}
diff --git a/web/roles/role-panel-entry.react.js b/web/roles/role-panel-entry.react.js
new file mode 100644
--- /dev/null
+++ b/web/roles/role-panel-entry.react.js
@@ -0,0 +1,26 @@
+// @flow
+
+import * as React from 'react';
+
+import css from './role-panel-entry.css';
+import CommIcon from '../CommIcon.react.js';
+
+type RolePanelEntryProps = {
+ +roleName: string,
+ +memberCount: number,
+};
+
+function RolePanelEntry(props: RolePanelEntryProps): React.Node {
+ const { roleName, memberCount } = props;
+ return (
+