### Install the component
Source: https://ui.gsxhq.dev/components/native-select
Command to add the native-select component to the project.
```bash
gsxui add native-select
```
--------------------------------
### Install gsx and gsxui CLIs
Source: https://ui.gsxhq.dev/docs/getting-started
Install the required command-line tools using Go.
```bash
go install github.com/gsxhq/gsx/cmd/gsx@latest
go install github.com/gsxhq/gsxui/cmd/gsxui@latest
```
--------------------------------
### Installation Command
Source: https://ui.gsxhq.dev/components/tooltip
Command to add the tooltip component to the project.
```bash
gsxui add tooltip
```
--------------------------------
### Install component
Source: https://ui.gsxhq.dev/components/input
Command to add the input component to the project.
```bash
gsxui add input
```
--------------------------------
### Installation Command
Source: https://ui.gsxhq.dev/components/dialog
Command to add the dialog component to the project.
```bash
gsxui add dialog
```
--------------------------------
### Installation Command
Source: https://ui.gsxhq.dev/components/card
Command to add the card component to your project.
```bash
gsxui add card
```
--------------------------------
### Installation Command
Source: https://ui.gsxhq.dev/components/button-group
Command to add the button-group component to the project.
```bash
gsxui add button-group
```
--------------------------------
### Install Command Component
Source: https://ui.gsxhq.dev/components/command
Command to add the component to the project.
```bash
gsxui add command
```
--------------------------------
### Installation Command
Source: https://ui.gsxhq.dev/components/field
Command to add the field component to your project.
```bash
gsxui add field
```
--------------------------------
### Installation Command
Source: https://ui.gsxhq.dev/components/avatar
Command to add the avatar component to the project.
```bash
gsxui add avatar
```
--------------------------------
### Install Textarea component
Source: https://ui.gsxhq.dev/components/textarea
Command to add the Textarea component to the project.
```bash
gsxui add textarea
```
--------------------------------
### Installation Command
Source: https://ui.gsxhq.dev/components/collapsible
Command to add the collapsible component to the project.
```bash
gsxui add collapsible
```
--------------------------------
### Install the Label component
Source: https://ui.gsxhq.dev/components/label
Use the CLI to add the Label component to your project.
```bash
gsxui add label
```
--------------------------------
### Install Switch component
Source: https://ui.gsxhq.dev/components/switch
Command to add the Switch component to the project.
```bash
gsxui add switch
```
--------------------------------
### Install OTP Component
Source: https://ui.gsxhq.dev/components/input-otp
Command to add the input-otp component to the project.
```bash
gsxui add input-otp
```
--------------------------------
### Install Toast Component
Source: https://ui.gsxhq.dev/components/toast
Command to add the toast component to the project.
```bash
gsxui add toast
```
--------------------------------
### Install Table Component
Source: https://ui.gsxhq.dev/components/table
Command to add the table component to the project.
```bash
gsxui add table
```
--------------------------------
### Install the Alert-dialog component
Source: https://ui.gsxhq.dev/components/alert-dialog
Command to add the alert-dialog component to the project.
```bash
gsxui add alert-dialog
```
--------------------------------
### Install pagination component
Source: https://ui.gsxhq.dev/components/pagination
Command to add the pagination component to the project.
```bash
gsxui add pagination
```
--------------------------------
### Install Menubar Component
Source: https://ui.gsxhq.dev/components/menubar
Command to add the menubar component to your project.
```bash
gsxui add menubar
```
--------------------------------
### Install Resizable Component
Source: https://ui.gsxhq.dev/components/resizable
Command to add the resizable component to the project.
```bash
gsxui add resizable
```
--------------------------------
### Install the empty component
Source: https://ui.gsxhq.dev/components/empty
Command to add the empty component to the project.
```bash
gsxui add empty
```
--------------------------------
### Install Chart Component
Source: https://ui.gsxhq.dev/components/chart
Command to add the chart component to the project.
```bash
gsxui add chart
```
--------------------------------
### Install drawer component
Source: https://ui.gsxhq.dev/components/drawer
Command to add the drawer component to the project.
```bash
gsxui add drawer
```
--------------------------------
### Install dropdown menu component
Source: https://ui.gsxhq.dev/components/dropdown-menu
Command to add the dropdown menu component to the project.
```bash
gsxui add dropdown-menu
```
--------------------------------
### Install icon package
Source: https://ui.gsxhq.dev/components/icon
Command to add the icon package to the project.
```bash
gsxui add icon
```
--------------------------------
### Install Kbd Component
Source: https://ui.gsxhq.dev/components/kbd
Command to add the Kbd component to the project.
```bash
gsxui add kbd
```
--------------------------------
### Install Progress Component
Source: https://ui.gsxhq.dev/components/progress
Command to add the progress component to your project.
```bash
gsxui add progress
```
--------------------------------
### Install Hover-card Component
Source: https://ui.gsxhq.dev/components/hover-card
Command to add the hover-card component to the project.
```bash
gsxui add hover-card
```
--------------------------------
### Install Aspect Ratio Component
Source: https://ui.gsxhq.dev/components/aspect-ratio
Command to add the aspect-ratio component to your project.
```bash
gsxui add aspect-ratio
```
--------------------------------
### Install Navigation Menu Component
Source: https://ui.gsxhq.dev/components/navigation-menu
Command to add the navigation menu component to the project.
```bash
gsxui add navigation-menu
```
--------------------------------
### Start development server
Source: https://ui.gsxhq.dev/docs/getting-started
Run the development loop to watch for changes and reload the browser.
```bash
go tool gsx dev
```
--------------------------------
### Initialize a GSX project
Source: https://ui.gsxhq.dev/docs/getting-started
Create a new GSX application and initialize gsxui within it.
```bash
gsx init app --yes
cd app
gsxui init
```
```text
gsxui initialized.
css: web/gsxui/index.css
js: web/gsxui/index.js
vite: Tailwind CSS configured
next: gsxui add button
```
--------------------------------
### Install Toggle-group
Source: https://ui.gsxhq.dev/components/toggle-group
Command to add the toggle-group component to your project.
```bash
gsxui add toggle-group
```
--------------------------------
### Implement a full-featured Menubar
Source: https://ui.gsxhq.dev/components/menubar
A comprehensive example demonstrating the use of Menubar, MenubarMenu, submenus, checkbox items, and radio groups.
```go
package menubar
import (
"github.com/gsxhq/gsxui/ui"
)
// Full mirrors shadcn's own menubar-demo.tsx (registry/new-york-v4/
// examples/menubar-demo.tsx) end to end: a File menu with a disabled item
// and a submenu, an Edit menu with checkbox items, a View menu with a
// radio group, and a Profiles-shaped menu — exercising every shared item
// type Task 1/2 already shipped (Item, CheckboxItem, RadioGroup/RadioItem,
// Sub/SubTrigger/SubContent) plus this task's own bar-level roving tabindex
// and open-follows-hover. Every `inset` prop shadcn's demo passes maps to
// the CSS-only data-inset attr axis (see docs/jsx-parity.md's
// ## dropdown-menu ledger).
component Full() {