Developer Programs

Learn

Docs

Well

Components > Content Layout > Well
Use this component to...
Visually highlight a small block of text or record detail

Overview

Use the well pattern to visually highlight a small block of text or record detail within a display block.

The well element is only themed to support text or record detail elements. It should not contain other elements.

The well element has a relatively heavy visual footprint, so it should be used sparingly.

This short block of text is displayed within a well
Powder chocolate sweet candy canes pie. Halvah chocolate jelly jelly beans sugar plum. Cheesecake ice cream sweet roll toffee brownie shortbread.

Development

Web component development

Component reference

rui-well
rui-well
Module: rui-layout - Package: @jkhy/responsive-ui-wc

The well element can be used to contain a small block of text or record detail (but no other elements) within a display block.

No properties or events

Implementation

Begin by importing the rui-layout module into your application.

Import the module
// import into app.module
import '@jkhy/responsive-ui-wc/components/rui-layout/rui-layout-imports';

Wrap text or record detail content in a rui-well component.

Well example
<rui-well>
    Powder chocolate sweet candy canes pie. Halvah chocolate jelly jelly beans sugar plum. Cheesecake ice cream sweet roll
    toffee brownie shortbread.
</rui-well>

Angular wrapper development

Wrapper reference

jha-well
jha-well
Module: JhaLayoutModule - Package: @jkhy/responsive-ui-angular

The well element can be used to contain a small block of text or record detail (but no other elements) within a display block.

No properties or events

Implementation

Begin by importing the JhaLayoutModule module into your application.

Import the module
// import into app.module
import { JhaLayoutModule } from '@jkhy/responsive-ui-angular/jha-layout';

@NgModule({
    imports: [
        ...
        JhaLayoutModule,
        ...
    ]
})

export class AppModule(){}

Wrap text or record detail content in a jha-well component.

Well example
<jha-well>
    Powder chocolate sweet candy canes pie. Halvah chocolate jelly jelly beans sugar plum. Cheesecake ice cream sweet roll
    toffee brownie shortbread.
</jha-well>

Component playground


Design

Figma design

Figma design info
You can find this component in the Components - Content Layout page in the Figma UI Kit.
Dev ComponentDesign Component Name
WellRUI / Layout / Well

First add a well component to the artboard.

Then layer text and/or record detail elements above the well element. Size the well element to fit the content.


Adobe XD design

Adobe XD design info
You can find this component in these artboards in the Adobe XD design samples:
  • Sample App - Content Layout
Dev ComponentDesign Component Name
WellJHA / Layout / Well

First add a well component to the artboard.

Then layer text and/or record detail elements above the well element. Size the well element to fit the content.


Support options
Have questions on this topic?
Join the Responsive UI team in Microsoft Teams to connect with the community.
See something in this page that needs to change?
Send us feedback on this page.
Last updated Wed Sep 25 2024