Skip to content

[Feature]: Gridbox #2088

@mary-ext

Description

@mary-ext

Describe the feature

Alongside the <Listbox> control, I think it would be nice if Reka UI has primitives around grids.

<template>
  <Gridbox.Root>
    <Gridbox.Filter />

    <Gridbox.Content :columns="3">
      <Gridbox.Item>
        <Gridbox.ItemIndicator />
      </Gridbox.Item>
    </Gridbox.Content>
  </Gridbox.Root>
</template>

Grids are very simple (so long as you know the amount of columns), but I think they can still be prone, so it seems worthwhile that Reka UI implements it.

Related: https://next.melt-ui.com/components/spatialmenu/ (although calling it "spatial" feels wrong, grids are inherently much simpler than the spatial navigation that console/TV interfaces have)

Additional information

  • I intend to submit a PR for this feature.
  • I have already implemented and/or tested this feature.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions