A list of buttons and button groups used throughout the app.
import { Button } from "@/ui/input/button/components/Button"; export const MyComponent = () => { return ( <Button className Icon={null} title="Title" fullWidth={false} variant="primary" size="medium" position="standalone" accent="default" soon={false} disabled={false} focus={true} onClick={() => console.log("click")} /> ); };
import { Button } from "@/ui/input/button/components/Button"; import { ButtonGroup } from "@/ui/input/button/components/ButtonGroup"; export const MyComponent = () => { return ( <ButtonGroup variant="primary" size="large" accent="blue" className> <Button className Icon={null} title="Button 1" fullWidth={false} variant="primary" size="medium" position="standalone" accent="blue" soon={false} disabled={false} focus={false} onClick={() => console.log("click")} /> <Button className Icon={null} title="Button 2" fullWidth={false} variant="secondary" size="medium" position="left" accent="blue" soon={false} disabled={false} focus={false} onClick={() => console.log("click")} /> <Button className Icon={null} title="Button 3" fullWidth={false} variant="tertiary" size="medium" position="right" accent="blue" soon={false} disabled={false} focus={false} onClick={() => console.log("click")} /> </ButtonGroup> ); };
import { FloatingButton } from "@/ui/input/button/components/FloatingButton"; import { IconSearch } from "@tabler/icons-react"; export const MyComponent = () => { return ( <FloatingButton className Icon={IconSearch} title="Title" size="medium" position="standalone" applyShadow={true} applyBlur={true} disabled={false} focus={true} /> ); };
import { FloatingButton } from "@/ui/input/button/components/FloatingButton"; import { FloatingButtonGroup } from "@/ui/input/button/components/FloatingButtonGroup"; import { IconClipboardText, IconCheckbox } from "@tabler/icons-react"; export const MyComponent = () => { return ( <FloatingButtonGroup size="small"> <FloatingButton className Icon={IconClipboardText} title size="small" position="standalone" applyShadow={true} applyBlur={true} disabled={false} focus={true} /> <FloatingButton className Icon={IconCheckbox} title size="small" position="standalone" applyShadow={true} applyBlur={true} disabled={false} /> </FloatingButtonGroup> ); };
import { FloatingIconButton } from "@/ui/input/button/components/FloatingIconButton"; import { IconSearch } from "@tabler/icons-react"; export const MyComponent = () => { return ( <FloatingIconButton className Icon={IconSearch} size="small" position="standalone" applyShadow={true} applyBlur={true} disabled={false} focus={false} onClick={() => console.log("click")} isActive={true} /> ); };
import { FloatingIconButtonGroup } from "@/ui/input/button/components/FloatingIconButtonGroup"; import { IconClipboardText, IconCheckbox } from "@tabler/icons-react"; export const MyComponent = () => { const iconButtons = [ { Icon: IconClipboardText, onClick: () => console.log("Button 1 clicked"), isActive: true, }, { Icon: IconCheckbox, onClick: () => console.log("Button 2 clicked"), isActive: true, }, ]; return ( <FloatingIconButtonGroup className size="small" iconButtons={iconButtons} /> ); };
import { LightButton } from "@/ui/input/button/components/LightButton"; export const MyComponent = () => { return <LightButton className icon={null} title="Title" accent="secondary" active={false} disabled={false} focus={true} onClick={()=>console.log('click')} />; };
import { LightIconButton } from "@/ui/input/button/components/LightIconButton"; import { IconSearch } from "@tabler/icons-react"; export const MyComponent = () => { return ( <LightIconButton className testId="test1" Icon={IconSearch} title="Title" size="small" accent="secondary" active={true} disabled={false} focus={true} onClick={() => console.log("click")} /> ); };
import { MainButton } from "@/ui/input/button/components/MainButton"; import { IconCheckbox } from "@tabler/icons-react"; export const MyComponent = () => { return ( <MainButton title="Checkbox" fullWidth={false} variant="primary" soon={false} Icon={IconCheckbox} /> ); };
import { RoundedIconButton } from "@/ui/input/button/components/RoundedIconButton"; import { IconSearch } from "@tabler/icons-react"; export const MyComponent = () => { return ( <RoundedIconButton Icon={IconSearch} /> ); };
As an open-source company, we welcome contributions through Github. Help us keep it up-to-date, accurate, and easy to understand by getting involved and sharing your ideas!