Drupal Radix Theme
  • Introduction
    • Overview & Support
  • Installation
    • Requirements
    • Getting Started
    • Setup with ddev
  • Understanding Radix
    • Individual files and directories
    • Bootstrap Build
    • Bootswatch
  • Working with the components
    • Components: Intro
    • Components: A deep dive
    • An example component
    • The drupal-radix-cli
    • Copy and modify a component
  • Components
    • Accordion
    • Alerts
    • Badge
    • Block
    • Buttons
    • Button Group
    • Breadcrumb
    • Card
    • Carousel
    • Close button
    • Comment
    • Collapse
    • Details
    • Dropdown menu
    • Field
    • Field Comment
    • Fieldset
    • Figure
    • Form
    • Form: Element
    • Form Element Label
    • Form Element: Radio Checkbox
    • Heading
    • HTML
    • Image
    • Input
    • List group
    • Local Tasks
    • Media
    • Modal
    • Nav
    • Nav Item
    • Navbar
    • Navbar Brand
    • Node
    • Offcanvas
    • Page
    • Page: Content
    • Page: Footer
    • Page: Navigation
    • Page: Title
    • Pagination
    • Progress
    • Radios
    • Region
    • Select
    • Spinners
    • Table
    • Taxonomy
    • Textarea
    • Toasts
    • Tooltips
    • User
    • Views: view
    • Views: view--grid
    • Views: view--table
    • Views: view--unformatted
  • Misc
    • Migration and upgrading
    • Roadmap
    • Credits & Contributions
Powered by GitBook
On this page
  • Key Features
  • Customization Options
  • Usage

Was this helpful?

  1. Components

Local Tasks

Drupal local tasks are the tabs that appear at the top of the page. They are mainly for administrative tasks, but can be used for other purposes as well.

Key Features

  • Primary Local Tasks: Handles the display of main navigation tasks, commonly known as primary tabs.

  • Secondary Local Tasks: Manages secondary tasks, typically used for sub-navigation or secondary actions related to the primary content.

  • Accessible Design: Includes visually hidden headers for screen readers, ensuring better accessibility.

Customization Options

  • Tab and Pill Styles: Primary tasks are displayed as tabs, while secondary tasks are shown as pills, offering a distinct visual difference.

  • Flexible Integration: Can be easily customized and integrated into various parts of a web application where local task navigation is required.

Usage

{% include 'radix:local-tasks' with {
  primary: primary_local_tasks,
  secondary: secondary_local_tasks
} %}
PreviousList groupNextMedia

Last updated 1 year ago

Was this helpful?