Skip to content
BigBang

Popular

    ↑↓Navigate↵OpenEscClose
    TR

    Components

    EmptyState

    An explanation and the next step shown when a page, panel or list is still empty or a search finds nothing.

    Storybook
    Storybook
    Source
    Source

    EmptyState explains why there is nothing to show and what to do, instead of a blank area: a list with no items yet, a search with no results, a panel with nothing to access.

    No items yet

    Your first item will be listed here once you add it.

    import { Button, EmptyState, Icon } from '@bigbang/ui';
    export default function Default() {
    return (
    <EmptyState
    title="No items yet"
    description="Your first item will be listed here once you add it."
    actions={
    <>
    <Button startIcon={<Icon name="plus" />}>Add item</Button>
    <Button variant="tertiary">Learn more</Button>
    </>
    }
    />
    );
    }
    1. Icon tile or illustration: Decorative.
    2. Title: A document heading.
    3. Description.
    4. Actions: One primary, at most one secondary.
    • It is centred and takes the width of its area; text lines stop at 440 px.
    • It fades in when it mounts.
    • Say in the title what is empty; avoid general phrases such as “No data”.
    • Explain the next step in the description.
    • Leave out actions when there is nothing the person can do.
    Turkish English
    Henüz öğe yok No items yet
    Sonuç bulunamadı No results found
    Filtreleri temizle Clear filters