Skip to content

svar-widgets/react-toolbar

Repository files navigation

SVAR React Toolbar

npm License npm downloads

SVAR React Toolbar is a customizable React UI component that helps you build panels of buttons and icons, giving users quick access to key actions and tools in your app. It supports different button types, multi-line toolbars, collapsible button groups, and responsive layouts that adapt to different screen sizes. Compatible with React 18 and 19.

Svelte Toolbar Component

🛠️ How to Use

To use SVAR React Toolbar, simply import the package and include the component in to .jsx file:

    import { Toolbar } from "@svar-ui/react-toolbar";
    import "@svar-ui/react-toolbar/all.css";

    function MyComponent(){
        const items = [
            { id: 'label', text: 'Toolbar with icon buttons' },
            { id: 'search', comp: 'button', icon: 'wxi-search' },
            { comp: 'spacer' },
            { id: 'edit', comp: 'button', icon: 'wxi-edit-outline'}
        ];

        return (<Toolbar items={items} />);
    }

About

React toolbar component for building configurable panels with buttons, icons, dropdowns, etc.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •