diff --git a/front/packages/primitives/src/chip.tsx b/front/packages/primitives/src/chip.tsx
new file mode 100644
index 00000000..a2e75a5a
--- /dev/null
+++ b/front/packages/primitives/src/chip.tsx
@@ -0,0 +1,45 @@
+/*
+ * Kyoo - A portable and vast media library solution.
+ * Copyright (c) Kyoo.
+ *
+ * See AUTHORS.md and LICENSE file in the project root for full license information.
+ *
+ * Kyoo is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * any later version.
+ *
+ * Kyoo is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Kyoo. If not, see
theme.contrast, + bg: color ?? ((theme: Theme) => theme.accent), + }, + props, + )} + > + {label} +
+ ); +}; diff --git a/front/packages/primitives/src/index.ts b/front/packages/primitives/src/index.ts index dfad49fb..b665fcc8 100644 --- a/front/packages/primitives/src/index.ts +++ b/front/packages/primitives/src/index.ts @@ -34,6 +34,7 @@ export * from "./slider"; export * from "./menu"; export * from "./input"; export * from "./button"; +export * from "./chip"; export * from "./animated"; export * from "./utils"; diff --git a/front/packages/ui/src/browse/header.tsx b/front/packages/ui/src/browse/header.tsx index cbc5ba3c..49572029 100644 --- a/front/packages/ui/src/browse/header.tsx +++ b/front/packages/ui/src/browse/header.tsx @@ -18,9 +18,20 @@ * along with Kyoo. If not, see