React Suite Checkbox Group With Horizontal Layout Last Updated : 08 Jun, 2022 Comments Improve Suggest changes Like Article Like Report React Suite is an open-source front-end library that comes with a set of React components built for enterprise products. It is a developer-friendly UI framework and supports the latest releases of all the major modern browsers. In this article, we will be seeing React Suite Checkbox Group With Horizontal Layout. The checkbox elements inside a checkbox group can be displayed inline by using the inline attribute of the CheckboxGroup component. React Suite Checkbox Group Components: Checkbox: The Checkbox component is used to show a checkbox input to the user.CheckboxGroup: This component is used to group the checkboxes together. React Suite Checkbox Group With Horizontal Layout Attributes/Props: inline: It is a boolean attribute of the CheckboxGroup Component that when set display all the children of the checkbox group inline. Creating The React Application And Installing Module: Step 1: Create the React application using the npx command: npx create-react-app foldername Step 2: After creating the project folder, move to it using the cd command: cd foldername Step 3: After creating the ReactJS application, Install the rsuite module so that we can use the checkbox component using the following command: npm install rsuite After following the above steps, the project structure will look like this: Project Structure Let us see some examples to understand React Suite Checkbox Group With Horizontal Layout. Example 1: Now replace the code in the App.js file with the code below. In this example, we used the CheckboxGroup component with an inline attribute to make the child checkboxes display inline. src/App.js import "rsuite/dist/rsuite.min.css"; import { Checkbox, CheckboxGroup } from "rsuite"; import React from "react"; function App() { return ( <div className="App" style={{ display: "flex", alignItems: "center", flexDirection: "column" }}> <header style={{ textAlign: "center", display: "block", marginBottom: "30px" }}> <h3 style={{ color: "green" }}>GeeksforGeeks</h3> <h5>React Suite Checkbox Group With Horizontal Layout</h5> </header> {/* Inline Checkbox Group */} <p>Inline Checkbbox Group: </p> <CheckboxGroup inline name="checkboxGroup1"> <Checkbox value={1}>Checkbox 1</Checkbox> <Checkbox value={2}>Checkbox 2</Checkbox> <Checkbox disabled value={3}>Checkbox 3</Checkbox> <Checkbox value={4}>Checkbox 4</Checkbox> </CheckboxGroup> </div> ); } export default App; Run the Application: Run your app using the following command from the root directory of the project. npm start Output: Go to http://localhost:3000/ in your browser to see the output. Example 2: In this example, we showed the dark mode variation of the Horizontal layout of checkbox group using CustomProvider. src/App.js import "rsuite/dist/rsuite.min.css"; import { Checkbox, CheckboxGroup, CustomProvider } from "rsuite"; import React from "react"; function App() { return ( // CustomProvider for dark theme <CustomProvider theme="dark"> <div className="App" style={{ display: "flex", alignItems: "center", flexDirection: "column" }}> <header style={{ textAlign: "center", display: "block", marginBottom: "30px" }}> <h3 style={{ color: "green" }}> GeeksforGeeks </h3> <h5> React Suite Checkbox Group With Horizontal Layout </h5> </header> {/* Dark Mode Inline Checkbox Group */} <p>Inline Checkbbox Group: </p> <CheckboxGroup inline name="checkboxGroup1"> <Checkbox value={1}>Checkbox 1</Checkbox> <Checkbox value={2}>Checkbox 2</Checkbox> <Checkbox disabled value={3}>Checkbox 3</Checkbox> <Checkbox value={4}>Checkbox 4</Checkbox> </CheckboxGroup> </div> </CustomProvider> ); } export default App; Output: Reference: https://rsuitejs.com/components/checkbox/#checkbox-group-with-horizontal-layout Comment More infoAdvertise with us Next Article React Suite Checkbox Accessibility vpsop Follow Improve Article Tags : Web Technologies ReactJS React-Suite Components React-Suite Similar Reads AutoCompleteReact Suite Autocomplete disabled and read onlyReact suite is a library of React components, sensible UI design, and a friendly development experience. It is supported in all major browsers. It provides pre-built components of React which can be used easily in any web application. In this article, weâll learn about React suite Autocomplete disab 3 min read React Suite Autocomplete custom render itemReact suite is a library of React components, sensible UI design, and a friendly development experience. It is supported in all major browsers. It provides pre-built components of React which can be used easily in any web application. In this article, weâll learn about React suite Autocomplete custo 2 min read React Suite AutoComplete ComponentReact Suite is a popular front-end library with a set of React components that are designed for the middle platform and back-end products. AutoComplete component allows the user to auto-completing the free text value with the option value. We can use the following approach in ReactJS to use the Reac 3 min read React suite Autocomplete combined with inputgroupReact suite is a library of React components, sensible UI design, and a friendly development experience. It is supported in all major browsers. It provides pre-built components of React which can be used easily in any web application. In this article, weâll learn about React suite Autocomplete combi 3 min read React Suite Autocomplete controlledReact Suite is a library of React components, sensible UI design, and a friendly development experience. It is supported in all major browsers. It provides pre-built components of React which can be used easily in any web application. In this article, weâll learn about React Suite Autocomplete contr 3 min read React Suite Autocomplete Autocomplete suffixReact Suite is a library of React components, sensible UI design, and a friendly development experience. It is supported in all major browsers. It provides pre-built components of React which can be used easily in any web application. In this article, weâll learn about React Suite Autocomplete suffi 2 min read React Suite Autocomplete BasicReact Suite is a library of React components, sensible UI design, and a friendly development experience. It is supported in all major browsers. It provides pre-built components of React which can be used easily in any web application. In this article, weâll learn about React Suite Autocomplete Basic 3 min read CascaderReact Suite Cascader ComponentReact Suite is a popular front-end library with a set of React components that are designed for the middle platform and back-end products. Cascader component is used as a cascade selection box. It helps the user in a Single selection of data with a hierarchical relationship structure. We can use the 4 min read React Suite Cascader AppearanceReact Suite is a front-end library designed for the middle platform and back-end products. React Suite Cascader component is used as a single selection of data with a hierarchical relationship structure. The appearance prop defines the way how the Cascader will visually appear to the users. It has t 3 min read React Suite Cascader ControlledReact suite is a library of React components, sensible UI design, and a friendly development experience. It is supported in all major browsers. It provides pre-built components of React which can be used easily in any web application. In this article, weâll learn about React suite Cascader Controlle 6 min read CheckPickerReact Suite CheckPicker ComponentReact Suite is a popular front-end library with a set of React components that are designed for the middle platform and back-end products. CheckPicker component allows the user to select multiple data. This component also supports grouping. We can use the following approach in ReactJS to use the Rea 4 min read React Suite CheckPicker Container and prevent overflowReact suite is a library of React components, sensible UI design, and a friendly development experience. It is supported in all major browsers. It provides pre-built components of React which can be used easily in any web application. In this article, weâll learn about React suite Checkpicker Contai 5 min read React Suite CheckPicker ControlledReact suite is a library of React components, sensible UI design, and a friendly development experience. It is supported in all major browsers. It provides pre-built components of React which can be used easily in any web application. In this article, we'll learn about React suite Checkpicker contro 3 min read CheckTreeReact Suite CheckTreePicker ComponentReact Suite is a popular front-end library with a set of React components that are designed for the middle platform and back-end products. CheckTreePicker component is the combination of CheckPicker and TreePicker Component. It is used as multiple selectors for multiple selections of complex data st 4 min read React Suite CheckTreePicker PropsReact suite is a library of React components, sensible UI design, and a friendly development experience. It is supported in all major browsers. It provides pre-built components of React which can be used easily in any web application. In this article, we'll learn about React suite CheckTreePicker Pr 5 min read React Suite CheckTreePicker AsyncReact suite is a library of React components, sensible UI design, and a friendly development experience. It is supported in all major browsers. It provides pre-built components of React which can be used easily in any web application. In this article, we'll learn about React suite CheckTreePicker As 6 min read React Suite CheckTreePicker CascadeReact Suite is a front-end library for the middle platform and back-end products. React Suite CheckTreePicker component is used as multiple selectors for multiple selections of complex data structures. The cascade attribute is a boolean value that can set whether or not CheckTreePicker can consider 4 min read React Suite CheckTreePicker Custom OptionsReact suite is a library of React components, sensible UI design, and a friendly development experience. It is supported in all major browsers. It provides pre-built components of React which can be used easily in any web application. In this article, we'll learn about React suite CheckTreePicker Cu 3 min read React Suite CheckTreePicker PlacementReact Suite is a front-end library designed for the middle platform and back-end products. React Suite CheckTreePicker component is used as multiple selectors for multiple selections of complex data structures. The placement of the React Suite CheckTreePicker component defines the position of the Ch 3 min read React Suite CheckTreePicker Disabled and read onlyReact Suite is a popular front-end library with a set of React components that are designed for the middle platform and back-end products.CheckTreePicker is supported in multiple selectors for multiple selections of complex data structures. The disabled option is used to make some options/entire com 4 min read React Suite CheckTreePicker AppearanceReact Suite is a popular front-end library with a set of React components that are designed for the middle platform and back-end products.CheckTreePicker is supported in multiple selectors for multiple selections of complex data structures. React CheckTreePicker Appearance provides 2 types of appear 2 min read React Suite CheckTreePicker SizeReact Suite is a popular front-end library with a set of React components that are designed for the middle platform and back-end products.CheckTreePicker is supported in multiple selectors for multiple selections of complex data structures. React Suite CheckTreePicker Size helps the user to create C 2 min read CheckboxReact Suite Checkbox Disabled and read onlyReact Suite is a front-end library containing a set of react components that help developers create fast and responsive react interfaces. In this article, we will be seeing React Suite Checkbox Disabled and Read Only. The Checkbox component is generally used in groups to allow users to select one or 3 min read React Suite Checkbox Indeterminate StateReact Suite is a front-end library with a set of react components that are designed with keeping developers in mind. It helps to build scalable and responsive react interfaces in a fast and efficient way. In this article, we will be seeing React Suite Checkbox Indeterminate State. The Checkbox compo 4 min read React Suite Checkbox Group (Controlled)React suite is a library of React components that have a sensible UI design and a friendly development experience. It is supported in all major browsers. It provides pre-built components of React which can be used easily in any web application. In this article, we'll learn about React Suite Checkbox 3 min read React Suite Checkbox GroupReact Suite is an open-source front-end library that comes with a set of React components to make it easier for developers to develop a scalable and responsive website. In this article, we will be seeing React Suite Checkbox Group. The CheckboxGroup component is used to group similar checkboxes toge 3 min read React Suite Checkbox Group With Horizontal LayoutReact Suite is an open-source front-end library that comes with a set of React components built for enterprise products. It is a developer-friendly UI framework and supports the latest releases of all the major modern browsers. In this article, we will be seeing React Suite Checkbox Group With Horiz 3 min read React Suite Checkbox AccessibilityReact Suite is a library of React components, sensible UI design, and a friendly development experience. It is supported in all major browsers. It provides pre-built components of React which can be used easily in any web application. In this article, weâll learn about React suite Checkbox Accessibi 3 min read React Suite Checkbox ts:ValueType PropReact Suite is a popular front-end library with a set of React components that are designed for the middle platform and back-end products. It is a set of react component libraries for enterprise system products. It is a well-thought-out and developer-friendly UI framework. The checkbox component is 4 min read React Suite Checkbox ComponentReact Suite is a popular front-end library with a set of React components that are designed for the middle platform and back-end products. Checkbox component allows the user to make a binary choice from the given options. We can use the following approach in ReactJS to use the React Suite Checkbox C 3 min read React Suite Checkbox <CheckboxGroup> PropsReact Suite is a popular front-end library with a set of React components that are designed for the middle platform and back-end products. A React Suite CheckboxGroup allows the users to select one or more items from a list of choices. CheckboxGroup Props: defaultValue: It stores default values in a 3 min read DatePickerReact Suite DatePicker Usage AppearanceReact Suite is a front-end UI library that consists of a set of React components developed by keeping developers in mind. It is a well-thought-out and developer-friendly library. In this article, we will be seeing React Suite DatePicker Usage Appearance. The DatePicker Component is used to take the 3 min read React Suite DatePicker Usage Set the local languageReact suite is a library of React components, sensible UI design, and a friendly development experience. It is supported in all major browsers. It provides pre-built components of React which can be used easily in any web application. In this article, weâll learn about React suite DatePicker Usage S 3 min read React Suite DatePicker ComponentReact Suite is a popular front-end library with a set of React components that are designed for the middle platform and back-end products. DatePicker component allows the user to select or input a date or time. We can use the following approach in ReactJS to use the React Suite DatePicker Component. 4 min read React Suite DatePicker Usage PlaceholderReact Suite is a front-end UI library built on top of React that lets us many pre-built components to our react application. It is a developer-friendly library and is a great base for building scalable and beautiful websites and applications. In this article, we will be seeing React Suite DatePicker 3 min read DateRangePickerReact Suite DateRangePicker ControlledReact Suite is a popular front-end library with a set of React components that are designed for the middle platform and back-end products. It is a set of react component libraries for enterprise system products. It is a well-thought-out and developer-friendly UI framework. DateRangePicker component 3 min read React Suite DateRangePicker AppearanceReact Suite is a popular front-end library with a set of React components that are designed for the middle platform and back-end products. React Suite DateRangePicker component provides the user an interface to select a date range. React Suite DateRangePicker Component's appearance prop defines how 2 min read React Suite DateRangePicker PropsReact Suite is a library of React components, sensible UI design, and a friendly development experience. It is supported in all major browsers. It provides pre-built components of React which can be used easily in any web application. In this article, weâll learn about React suite DateRangePicker Pr 4 min read React Suite Input Component React Suite is a popular front-end library with a set of React components that are designed for the middle platform and back-end products. Input component allows the user to allow the user to create a basic widget for getting the user input is a text field. We can use the following approach in React 3 min read React Suite InputNumber Component React Suite is a popular front-end library with a set of React components that are designed for the middle platform and back-end products. InputNumber component allows the user to enter a number within a certain range with the help of a keyboard or mouse. We can use the following approach in ReactJS 3 min read React Suite InputPicker Component React Suite is a popular front-end library with a set of React components that are designed for the middle platform and back-end products. InputPicker component allows the user to use it as a single item selector with text box input. We can use the following approach in ReactJS to use the React Suit 4 min read Like