# With label prefix

> Static text label leading a group of action buttons, useful for labelled sort or filter controls.

A shadcn/ui block from the [@flx](https://ui.flexnative.com) registry, listed on [shadcn.exchange](https://shadcn.exchange/r/flx/button-20).

- Page, with a live preview: https://shadcn.exchange/r/flx/button-20
- Screenshot: https://abzjhwgwpdpz7ua5.public.blob.vercel-storage.com/shots/flx/button-20-light-352480a51bd5e640.png
- Registry item: https://ui.flexnative.com/r/button-20.json
- Listed: 2026-10-13, source last changed 2026-10-13

## Install

```bash
npx shadcn@latest add https://ui.flexnative.com/r/button-20.json
```

Run it in a project that has shadcn/ui set up. It adds the files below and installs what they depend on.

## Dependencies

- Registry items: `button`, `button-group`

## Files

### `registry/patterns/button/button-20.tsx`

```tsx
import { Button } from '@/components/ui/button'
import { ButtonGroup, ButtonGroupText } from '@/components/ui/button-group'

export function Button20() {
  return (
    <ButtonGroup>
      <ButtonGroupText>Sort by</ButtonGroupText>
      <Button variant="outline">Newest</Button>
      <Button variant="outline">Oldest</Button>
      <Button variant="outline">Popular</Button>
    </ButtonGroup>
  )
}
```
