Preparing more simple components

This commit is contained in:
2026-04-20 16:30:30 +02:00
parent 82fc96fac4
commit 6fc32614b1
41 changed files with 1282 additions and 21 deletions

11
src/base/Fab.js Normal file
View File

@@ -0,0 +1,11 @@
// components/Fab.js
import { Tag } from "sigpro";
export const Fab = (props, children) => {
const { class: className, position = "bottom-6 right-6", ...rest } = props;
return Tag("div", {
...rest,
class: `absolute ${position} flex flex-col-reverse items-end gap-3 z-[100] ${className || ''}`.trim()
}, children);
};