Add generic button component

This commit is contained in:
Hannah dagemark 2026-09-20 15:02:12 +02:00
commit 1293d40894
2 changed files with 19 additions and 0 deletions

View file

@ -1,3 +1,4 @@
import Button from "@/components/ui/Button";
import Form from "@/components/ui/Form";
import Hyperlink from "@/components/ui/Hyperlink";
import Referencelink from "@/components/ui/Referencelink";
@ -6,6 +7,9 @@ import RoundedContainer from "@/components/ui/RoundedContainer";
export default function Components() {
return (
<div className="flex flex-col items-center gap-4 w-full h-full">
<h1>Button</h1>
<Button title={"Button"} mode="DARK" />
<h1>Form</h1>
<Form action={"Action here"} submitText="Example submit button ">
<input type="text" name="text" placeholder="example placeholder text" />