Skip to content

Droppable

uitemplate

Droppable component

Installation

$ bunx termuijs add droppable

Copies the source into src/components/droppable/ and installs @termuijs/jsx, @termuijs/widgets.

Usage

ts
import { Droppable } from '@termuijs/ui'
ts
<Droppable title="My App">
  <YourContent />
</Droppable>

API Reference

Droppable

PropTypeDefaultDescription
childrenReactNoderequiredPage content
titlestringApp/page title
paddingnumber1Outer padding
#template#droppable