A row with a heading, a line of supporting text, and a control at the end. Group items together for settings pages, account details, and lists of people or connections.
import { Avatar, Button, Dropdown, Item, Switch } from '@fluxui-dev/react';import { ArrowUpRightIcon, ChevronDownIcon } from '@fluxui-dev/react/icons';<Item> <Item.Media> <Avatar circle src="https://unavatar.io/x/calebporzio" /> </Item.Media> <Item.Heading>Caleb Porzio</Item.Heading> <Item.Subheading>[email protected]</Item.Subheading> <Item.Actions> <Button size="sm" iconTrailing={ArrowUpRightIcon}>Edit profile</Button> </Item.Actions></Item><Item.Group> <Item> <Item.Heading>Two-factor authentication</Item.Heading> <Item.Subheading>Ask for a code when you sign in on a new device.</Item.Subheading> <Item.Actions> <Switch aria-label="Two-factor authentication" defaultChecked /> </Item.Actions> </Item> <Item> <Item.Heading>Language</Item.Heading> <Item.Actions> <Dropdown align="end"> <Dropdown.Trigger> <Button size="sm" variant="ghost" iconTrailing={ChevronDownIcon} inset="right">English</Button> </Dropdown.Trigger> <Dropdown.Menu> <Dropdown.RadioGroup defaultValue="english"> <Dropdown.Radio value="english">English</Dropdown.Radio> <Dropdown.Radio value="spanish">Español</Dropdown.Radio> <Dropdown.Radio value="french">Français</Dropdown.Radio> </Dropdown.RadioGroup> </Dropdown.Menu> </Dropdown> </Item.Actions> </Item> <Item> <Item.Heading>Sign out everywhere else</Item.Heading> <Item.Subheading>You're signed in on 3 other devices.</Item.Subheading> <Item.Actions> <Button size="sm">Sign out</Button> </Item.Actions> </Item></Item.Group>
A single item doesn't need a group. On its own, it draws the same surface a group would.
<Item> <Item.Heading>Sign out</Item.Heading> <Item.Subheading>Your boards stay on this device.</Item.Subheading> <Item.Actions> <Button size="sm">Sign out</Button> </Item.Actions></Item>
The subheading is optional. Without one, an item is a single line, still as tall as a small button so rows stay even.
import { Item, Switch, Text } from '@fluxui-dev/react';<Item.Group> <Item> <Item.Heading>Subscribed since</Item.Heading> <Item.Actions> <Text>October 4, 2026</Text> </Item.Actions> </Item> <Item> <Item.Heading>Seats</Item.Heading> <Item.Actions> <Text>3 of 5 used</Text> </Item.Actions> </Item> <Item> <Item.Heading>Renew automatically</Item.Heading> <Item.Actions> <Switch aria-label="Renew automatically" defaultChecked /> </Item.Actions> </Item></Item.Group>
Put buttons, a switch, or a value in Item.Actions. It sits at the end of the row, centered on the heading and subheading beside it.
import { Button, Heading, Item, Switch } from '@fluxui-dev/react';<Item.Group> <Item> <Item.Heading>Claude Code</Item.Heading> <Item.Subheading>Not found on this computer.</Item.Subheading> <Item.Actions> <Button size="sm" variant="subtle">Browse…</Button> <Button size="sm">Install</Button> </Item.Actions> </Item> <Item> <Item.Heading>Send error reports</Item.Heading> <Item.Subheading>When something goes wrong, we get a report so it can be fixed.</Item.Subheading> <Item.Actions> <Switch aria-label="Send error reports" defaultChecked /> </Item.Actions> </Item> <Item> <Item.Heading>Next payment</Item.Heading> <Item.Subheading>December 4, 2026</Item.Subheading> <Item.Actions> <Heading>$60.00</Heading> </Item.Actions> </Item></Item.Group>
Put an avatar, an icon, or anything else that leads the row in Item.Media. It sits at the start, centered on the text beside it.
import { Avatar, Item } from '@fluxui-dev/react';import { CommandLineIcon } from '@fluxui-dev/react/icons';<Item.Group> <Item> <Item.Media> <Avatar size="sm" circle src="https://unavatar.io/x/calebporzio" /> </Item.Media> <Item.Heading>Caleb Porzio</Item.Heading> <Item.Subheading>[email protected]</Item.Subheading> </Item> <Item> <Item.Media> <Avatar size="sm" icon={CommandLineIcon} /> </Item.Media> <Item.Heading>Claude Code</Item.Heading> <Item.Subheading>Version 2.1.4</Item.Subheading> </Item> <Item> <Item.Media> <Avatar size="sm" initials="N" /> </Item.Media> <Item.Heading>Northwind</Item.Heading> <Item.Subheading>8 boards</Item.Subheading> </Item></Item.Group>
On a narrow item, like one on a phone, a labeled button moves under the text so the heading keeps its room, while switches, values, menus, and icon buttons stay at the end of the row.
<Item> <Item.Media> <Avatar circle src="https://unavatar.io/x/calebporzio" /> </Item.Media> <Item.Heading>Caleb Porzio</Item.Heading> <Item.Subheading>[email protected]</Item.Subheading> <Item.Actions> <Button size="sm" iconTrailing={ArrowUpRightIcon}>Edit profile</Button> </Item.Actions></Item><Item.Group> <Item> <Item.Heading>Claude Code</Item.Heading> <Item.Subheading>Not found on this computer.</Item.Subheading> <Item.Actions> <Button size="sm" variant="subtle">Browse…</Button> <Button size="sm">Install</Button> </Item.Actions> </Item> <Item> <Item.Heading>Send error reports</Item.Heading> <Item.Subheading>When something goes wrong, we get a report so it can be fixed.</Item.Subheading> <Item.Actions> <Switch aria-label="Send error reports" defaultChecked /> </Item.Actions> </Item></Item.Group>
People on a team, each with their role. Roles you can change open a menu.
import { Avatar, Button, Dropdown, Item, Text } from '@fluxui-dev/react';import { ChevronDownIcon, EllipsisHorizontalIcon, EnvelopeIcon } from '@fluxui-dev/react/icons';<Item.Group> <Item> <Item.Media> <Avatar size="sm" circle src="https://unavatar.io/x/calebporzio" /> </Item.Media> <Item.Heading>Caleb Porzio <Text inline variant="subtle">(you)</Text></Item.Heading> <Item.Subheading>[email protected]</Item.Subheading> <Item.Actions> <Text>Owner</Text> </Item.Actions> </Item> <Item> <Item.Media> <Avatar size="sm" circle src="https://unavatar.io/github/joshhanley" /> </Item.Media> <Item.Heading>Josh Hanley</Item.Heading> <Item.Subheading>[email protected]</Item.Subheading> <Item.Actions> <Dropdown align="end"> <Dropdown.Trigger> <Button size="sm" variant="ghost" iconTrailing={ChevronDownIcon} inset="right">Admin</Button> </Dropdown.Trigger> <Dropdown.Menu> <Dropdown.RadioGroup defaultValue="admin"> <Dropdown.Radio value="admin">Admin</Dropdown.Radio> <Dropdown.Radio value="member">Member</Dropdown.Radio> </Dropdown.RadioGroup> <Dropdown.Separator /> <Dropdown.Item variant="danger">Remove from team…</Dropdown.Item> </Dropdown.Menu> </Dropdown> </Item.Actions> </Item> <Item> <Item.Media> <Avatar size="sm" circle src="https://unavatar.io/github/hugosaintemarie" /> </Item.Media> <Item.Heading>Hugo Sainte-Marie</Item.Heading> <Item.Subheading>[email protected]</Item.Subheading> <Item.Actions> <Dropdown align="end"> <Dropdown.Trigger> <Button size="sm" variant="ghost" iconTrailing={ChevronDownIcon} inset="right">Member</Button> </Dropdown.Trigger> <Dropdown.Menu> <Dropdown.RadioGroup defaultValue="member"> <Dropdown.Radio value="admin">Admin</Dropdown.Radio> <Dropdown.Radio value="member">Member</Dropdown.Radio> </Dropdown.RadioGroup> <Dropdown.Separator /> <Dropdown.Item variant="danger">Remove from team…</Dropdown.Item> </Dropdown.Menu> </Dropdown> </Item.Actions> </Item> <Item> <Item.Media> <Avatar size="sm" circle icon={EnvelopeIcon} /> </Item.Media> <Item.Heading>[email protected]</Item.Heading> <Item.Subheading>Invited 2 days ago</Item.Subheading> <Item.Actions> <Dropdown align="end"> <Dropdown.Trigger> <Button size="sm" variant="ghost" icon={EllipsisHorizontalIcon} aria-label="Invite options" /> </Dropdown.Trigger> <Dropdown.Menu> <Dropdown.Item>Resend invite</Dropdown.Item> <Dropdown.Item variant="danger">Revoke invite</Dropdown.Item> </Dropdown.Menu> </Dropdown> </Item.Actions> </Item></Item.Group>
Apps with access to an account, when each was last used, and a menu to disconnect it.
<Item.Group> <Item> <Item.Heading>Grok Bot</Item.Heading> <Item.Actions> <Text>Used 4 minutes ago</Text> <Dropdown align="end"> <Dropdown.Trigger> <Button size="sm" variant="ghost" icon={EllipsisHorizontalIcon} aria-label="Grok Bot options" /> </Dropdown.Trigger> <Dropdown.Menu> <Dropdown.Item variant="danger">Disconnect…</Dropdown.Item> </Dropdown.Menu> </Dropdown> </Item.Actions> </Item> <Item> <Item.Heading>Amp</Item.Heading> <Item.Actions> <Text>Used yesterday</Text> <Dropdown align="end"> <Dropdown.Trigger> <Button size="sm" variant="ghost" icon={EllipsisHorizontalIcon} aria-label="Amp options" /> </Dropdown.Trigger> <Dropdown.Menu> <Dropdown.Item variant="danger">Disconnect…</Dropdown.Item> </Dropdown.Menu> </Dropdown> </Item.Actions> </Item> <Item> <Item.Heading>Cursor</Item.Heading> <Item.Actions> <Text>Never used</Text> <Dropdown align="end"> <Dropdown.Trigger> <Button size="sm" variant="ghost" icon={EllipsisHorizontalIcon} aria-label="Cursor options" /> </Dropdown.Trigger> <Dropdown.Menu> <Dropdown.Item variant="danger">Disconnect…</Dropdown.Item> </Dropdown.Menu> </Dropdown> </Item.Actions> </Item></Item.Group>
A plan and its status, what you pay next, and a way out to manage payment details.
import { Badge, Button, Heading, Item } from '@fluxui-dev/react';import { ArrowUpRightIcon } from '@fluxui-dev/react/icons';<Item.Group> <Item> <Item.Heading>Pro plan</Item.Heading> <Item.Subheading>$20 a month for each person</Item.Subheading> <Item.Actions> <Badge size="sm" color="green">Active</Badge> </Item.Actions> </Item> <Item> <Item.Heading>Next payment</Item.Heading> <Item.Subheading>December 4, 2026</Item.Subheading> <Item.Actions> <Heading>$60.00</Heading> </Item.Actions> </Item> <Item> <Item.Heading>Payment details and invoices</Item.Heading> <Item.Subheading>Managed by Stripe.</Item.Subheading> <Item.Actions> <Button size="sm" iconTrailing={ArrowUpRightIcon}>Manage billing</Button> </Item.Actions> </Item></Item.Group>
Teams you belong to, each with its mark and your role in it.
<Item.Group> <Item> <Item.Media> <Avatar size="sm" initials="P" /> </Item.Media> <Item.Heading>Paraframe</Item.Heading> <Item.Subheading>24 boards</Item.Subheading> <Item.Actions> <Badge size="sm">Owner</Badge> </Item.Actions> </Item> <Item> <Item.Media> <Avatar size="sm" initials="N" /> </Item.Media> <Item.Heading>Northwind</Item.Heading> <Item.Subheading>8 boards</Item.Subheading> <Item.Actions> <Badge size="sm">Member</Badge> </Item.Actions> </Item></Item.Group>
A list of preferences, each with a switch.
<Item.Group> <Item> <Item.Heading>Comments</Item.Heading> <Item.Subheading>When someone comments on a board you own.</Item.Subheading> <Item.Actions> <Switch aria-label="Comments" defaultChecked /> </Item.Actions> </Item> <Item> <Item.Heading>Mentions</Item.Heading> <Item.Subheading>When someone mentions you anywhere.</Item.Subheading> <Item.Actions> <Switch aria-label="Mentions" defaultChecked /> </Item.Actions> </Item> <Item> <Item.Heading>Weekly digest</Item.Heading> <Item.Subheading>A summary of what changed, every Monday.</Item.Subheading> <Item.Actions> <Switch aria-label="Weekly digest" /> </Item.Actions> </Item></Item.Group>
Actions that are hard to undo, kept together and apart from everything else.
<Item.Group> <Item> <Item.Heading>Transfer ownership</Item.Heading> <Item.Subheading>Give this team to someone else. You'll stay on as an admin.</Item.Subheading> <Item.Actions> <Button size="sm">Transfer…</Button> </Item.Actions> </Item> <Item> <Item.Heading>Delete team</Item.Heading> <Item.Subheading>Its boards are deleted for everyone. This can't be undone.</Item.Subheading> <Item.Actions> <Button size="sm" variant="outline" color="red">Delete…</Button> </Item.Actions> </Item></Item.Group>
|
Prop
|
Description
|
|---|---|
| children |
One or more Item components, drawn as one bordered surface with a rule between each.
|
|
CSS
|
Description
|
|---|---|
| className |
Additional CSS classes applied to the group.
|
|
Attribute
|
Description
|
|---|---|
| data-flux-item-group |
Applied to the root element for styling and identification.
|
|
Prop
|
Description
|
|---|---|
| children |
An optional Item.Media, an Item.Heading, an optional Item.Subheading, and optional Item.Actions. Used without a group, an item draws its own surface.
|
|
CSS
|
Description
|
|---|---|
| className |
Additional CSS classes applied to the item.
|
|
Attribute
|
Description
|
|---|---|
| data-flux-item |
Applied to the root element for styling and identification.
|
|
Prop
|
Description
|
|---|---|
| children |
An avatar, an icon, or anything else that leads the row. Sits at the start, centered on the heading and subheading. Several things sit side by side.
|
|
Prop
|
Description
|
|---|---|
| level |
The heading level to render, such as 3 for an h3. Default: renders as a div.
|
| size |
Size of the heading, as on Heading. Options: base, lg, xl, 2xl. Default: base.
|
| accent |
If true, applies accent color styling to the heading.
|
|
Prop
|
Description
|
|---|---|
| children |
Buttons, a switch, or a value. Sits at the end of the row, centered on the heading and subheading.
|