diff --git a/src/app/ui/copy-text/copy-text.component.html b/src/app/ui/copy-text/copy-text.component.html
new file mode 100644
index 00000000..73c0c417
--- /dev/null
+++ b/src/app/ui/copy-text/copy-text.component.html
@@ -0,0 +1,9 @@
+
diff --git a/src/app/ui/copy-text/copy-text.component.scss b/src/app/ui/copy-text/copy-text.component.scss
new file mode 100644
index 00000000..e69de29b
diff --git a/src/app/ui/copy-text/copy-text.component.spec.ts b/src/app/ui/copy-text/copy-text.component.spec.ts
new file mode 100644
index 00000000..18a6c096
--- /dev/null
+++ b/src/app/ui/copy-text/copy-text.component.spec.ts
@@ -0,0 +1,25 @@
+import {async, ComponentFixture, TestBed} from '@angular/core/testing';
+
+import {CopyTextComponent} from './copy-text.component';
+
+describe('CopyTextComponent', () => {
+ let component: CopyTextComponent;
+ let fixture: ComponentFixture;
+
+ beforeEach(async(() => {
+ TestBed.configureTestingModule({
+ declarations: [CopyTextComponent]
+ })
+ .compileComponents();
+ }));
+
+ beforeEach(() => {
+ fixture = TestBed.createComponent(CopyTextComponent);
+ component = fixture.componentInstance;
+ fixture.detectChanges();
+ });
+
+ it('should create', () => {
+ expect(component).toBeTruthy();
+ });
+});
diff --git a/src/app/ui/copy-text/copy-text.component.ts b/src/app/ui/copy-text/copy-text.component.ts
new file mode 100644
index 00000000..27457fc5
--- /dev/null
+++ b/src/app/ui/copy-text/copy-text.component.ts
@@ -0,0 +1,26 @@
+import {Component, Input, OnInit} from '@angular/core';
+import {MessageService} from "primeng/api";
+
+@Component({
+ selector: 'framadate-copy-text',
+ templateUrl: './copy-text.component.html',
+ styleUrls: ['./copy-text.component.scss']
+})
+export class CopyTextComponent implements OnInit {
+ @Input() public textToCopy: any;
+
+ constructor(private messageService: MessageService,) {
+ }
+
+ ngOnInit() {
+ }
+
+ handleClick() {
+ this.messageService.add({
+ severity: 'success',
+ summary: 'Texte copiƩ',
+ detail: this.textToCopy
+ })
+ }
+
+}