Skip to content

The open alternative to Salesforce, designed for AI.

feat: Create a ThreadBottomBar component (#3474)

Irfan Kceddd211cff3
diff --git a/packages/twenty-front/src/modules/activities/emails/components/ThreadBottomBar.tsx b/packages/twenty-front/src/modules/activities/emails/components/ThreadBottomBar.tsx
new file mode 100644
index 00000000000..0174832819a
--- /dev/null
+++ b/packages/twenty-front/src/modules/activities/emails/components/ThreadBottomBar.tsx
@@ -0,0 +1,38 @@
+import styled from '@emotion/styled';
+
+import { IconArrowBackUp, IconUserCircle } from '@/ui/display/icon';
+import { Button } from '@/ui/input/button/components/Button';
+
+const StyledThreadBottomBar = styled.div`
+ align-items: center;
+ display: flex;
+ gap: ${({ theme }) => theme.spacing(2)};
+ padding-left: ${({ theme }) => theme.spacing(6)};
+ padding-right: ${({ theme }) => theme.spacing(6)};
+ padding-top: ${({ theme }) => theme.spacing(4)};
+`;
+
+export const ThreadBottomBar = () => {
+ return (
+ <StyledThreadBottomBar>
+ <Button
+ Icon={IconArrowBackUp}
+ title="Reply"
+ variant="secondary"
+ accent="default"
+ />
+ <Button
+ Icon={IconArrowBackUp}
+ title="Reply to all"
+ variant="secondary"
+ accent="default"
+ />
+ <Button
+ Icon={IconUserCircle}
+ title="Share"
+ variant="secondary"
+ accent="default"
+ />
+ </StyledThreadBottomBar>
+ );
+};
diff --git a/packages/twenty-front/src/modules/ui/display/icon/index.ts b/packages/twenty-front/src/modules/ui/display/icon/index.ts
index e30d8cf3451..75fc8b3a142 100644
--- a/packages/twenty-front/src/modules/ui/display/icon/index.ts
+++ b/packages/twenty-front/src/modules/ui/display/icon/index.ts
@@ -7,6 +7,7 @@ export {
IconApps,
IconArchive,
IconArchiveOff,
+ IconArrowBackUp,
IconArrowDown,
IconArrowLeft,
IconArrowRight,