Security News
Bun 1.2 Released with 90% Node.js Compatibility and Built-in S3 Object Support
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
@elastic/react-search-ui-views
Advanced tools
A collection of React UI components for building search experiences
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.
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>
);
}
A visual component reference is available locally. It is built with Storybook, and can be run locally with the following command:
npm run storybook
FAQs
A collection of React UI components for building search experiences
The npm package @elastic/react-search-ui-views receives a total of 20,713 weekly downloads. As such, @elastic/react-search-ui-views popularity was classified as popular.
We found that @elastic/react-search-ui-views demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.