@elastic/react-search-ui-views
A collection of React UI components for building search experiences
Last updated 8 months ago by yan.savitski .
Apache-2.0 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @elastic/react-search-ui-views 
SYNC missed versions from official npm registry.

react-search-ui-views

Part of the Search UI project.

This is the view layer for react-search-ui.

This library provides view implementations for all of React Search UI's components along with corresponding CSS, and a few layout components.

The components provided here have no logic behind them, they are simple, stateless, view-only components.

Usage

import React from "react";
import {
  Layout,
  PagingInfo,
  Result,
  SearchBox
} from "@elastic/react-search-ui-views";
import "@elastic/react-search-ui-views/lib/styles/styles.css";

export default function App() {
  return (
    <div>
      <Layout
        header={<SearchBox value="test" />}
        bodyHeader={
          <div className="meta">
            <PagingInfo
              end={10}
              searchTerm={"test"}
              start={1}
              totalResults={100}
            />
          </div>
        }
        bodyContent={
          <div>
            <Result
              title="A Result"
              fields={{ description: "This is an example of a result" }}
            />
          </div>
        }
      />
    </div>
  );
}

Storybook

A visual component reference is available locally. It is built with Storybook, and can be run locally with the following command:

npm run storybook

Current Tags

  • 1.24.2                                ...           latest (8 months ago)

106 Versions

  • 1.24.2                                ...           8 months ago
  • 1.24.1                                ...           10 months ago
  • 1.24.0                                ...           10 months ago
  • 1.23.1                                ...           a year ago
  • 1.23.0                                ...           a year ago
  • 1.22.2                                ...           a year ago
  • 1.22.1                                ...           a year ago
  • 1.22.0                                ...           a year ago
  • 1.21.5                                ...           2 years ago
  • 1.21.4                                ...           2 years ago
  • 1.21.3                                ...           2 years ago
  • 1.21.2                                ...           2 years ago
  • 1.21.1                                ...           2 years ago
  • 1.21.0                                ...           2 years ago
  • 1.20.2                                ...           3 years ago
  • 1.20.1                                ...           3 years ago
  • 1.20.0                                ...           3 years ago
  • 1.19.1                                ...           3 years ago
  • 1.19.0                                ...           3 years ago
  • 1.18.3                                ...           3 years ago
  • 1.18.2                                ...           3 years ago
  • 1.8.2                                ...           3 years ago
  • 1.18.1                                ...           4 years ago
  • 1.18.0                                ...           4 years ago
  • 1.17.1                                ...           4 years ago
  • 1.17.0                                ...           4 years ago
  • 1.16.0                                ...           4 years ago
  • 1.15.0                                ...           4 years ago
  • 1.14.0                                ...           4 years ago
  • 1.13.0                                ...           4 years ago
  • 1.12.1                                ...           4 years ago
  • 1.12.0                                ...           4 years ago
  • 1.11.3                                ...           4 years ago
  • 1.11.2                                ...           4 years ago
  • 1.11.1                                ...           4 years ago
  • 1.11.0                                ...           4 years ago
  • 1.11.0-canary.0                                ...           4 years ago
  • 1.10.2                                ...           4 years ago
  • 1.10.1                                ...           4 years ago
  • 1.10.0                                ...           4 years ago
  • 1.10.0-rc.1                                ...           4 years ago
  • 1.10.0-rc.0                                ...           4 years ago
  • 1.9.0                                ...           4 years ago
  • 1.8.0                                ...           4 years ago
  • 1.8.0-rc.0                                ...           4 years ago
  • 1.8.0-canary.1                                ...           4 years ago
  • 1.7.0                                ...           5 years ago
  • 1.6.1                                ...           5 years ago
  • 1.6.0                                ...           5 years ago
  • 1.5.1                                ...           5 years ago
  • 1.5.1-rc.0                                ...           5 years ago
  • 1.5.0                                ...           5 years ago
  • 1.5.0-rc.3                                ...           5 years ago
  • 1.5.0-rc.0                                ...           5 years ago
  • 1.4.1                                ...           6 years ago
  • 1.4.1-rc.0                                ...           6 years ago
  • 1.4.0                                ...           6 years ago
  • 1.4.0-rc.4                                ...           6 years ago
  • 1.4.0-rc.3                                ...           6 years ago
  • 1.3.3                                ...           6 years ago
  • 1.4.0-rc.0                                ...           6 years ago
  • 1.4.0-canary.6                                ...           6 years ago
  • 1.4.0-canary.5                                ...           6 years ago
  • 1.3.3-minor.8                                ...           6 years ago
  • 1.3.3-minor.3                                ...           6 years ago
  • 1.3.3-minor.2                                ...           6 years ago
  • 1.3.3-minor.1                                ...           6 years ago
  • 1.3.3-canary.1                                ...           6 years ago
  • 1.3.3-canary.0                                ...           6 years ago
  • 1.3.2                                ...           6 years ago
  • 1.3.1                                ...           6 years ago
  • 1.3.0                                ...           6 years ago
  • 1.3.0-canary.11                                ...           6 years ago
  • 1.2.0                                ...           7 years ago
  • 1.2.0-rc.0                                ...           7 years ago
  • 1.1.0                                ...           7 years ago
  • 1.0.1-canary1.22                                ...           7 years ago
  • 1.0.1-canary.22                                ...           7 years ago
  • 1.0.0                                ...           7 years ago
  • 1.0.0-rc.2                                ...           7 years ago
  • 1.0.0-rc.1                                ...           7 years ago
  • 1.0.0-canary.3                                ...           7 years ago
  • 1.0.0-alpha.1                                ...           7 years ago
  • 1.0.0-rc.0                                ...           7 years ago
  • 0.12.1                                ...           7 years ago
  • 0.12.0                                ...           7 years ago
  • 0.11.1-alpha.0                                ...           7 years ago
  • 0.11.0                                ...           7 years ago
  • 0.10.0                                ...           7 years ago
  • 0.9.2-alpha.6                                ...           7 years ago
  • 0.9.3                                ...           7 years ago
  • 0.9.2                                ...           7 years ago
  • 0.9.1                                ...           7 years ago
  • 0.9.0                                ...           7 years ago
  • 0.8.0                                ...           7 years ago
  • 0.7.0                                ...           7 years ago
  • 0.6.0                                ...           7 years ago
  • 0.5.3                                ...           7 years ago
  • 0.5.2                                ...           7 years ago
  • 0.5.1                                ...           7 years ago
  • 0.5.0                                ...           7 years ago
  • 0.4.0                                ...           7 years ago
  • 0.3.0                                ...           7 years ago
  • 0.2.1                                ...           7 years ago
  • 0.2.0                                ...           7 years ago
  • 0.1.0                                ...           7 years ago
Maintainers (2)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (4)
Dev Dependencies (10)

Copyright 2013 - present © cnpmjs.org | Home |