Search Results
Search interface with input, result cards, and result count.
Preview
Search in your library
Filter results by category and query.
Dashboard overview
LandingA marketing layout built for high-contrast product launches.
User onboarding flow
OnboardingAn onboarding flow with bold CTAs and clear guidance.
Tiered pricing table
PricingPricing table with sharp comparisons and highlights.
Hyperwave search
LandingSearch UX with punchy filters and clean cards.
Installation
terminal
Other package managers
bunx --bun shadcn@latest add https://trents.tech/r/search-results.jsonUsage
search-results-demo.tsx
import SearchResults from "@/components/blocks/search-results"
export default function SearchResultsDemo() {
return (
<SearchResults
// Update copy and results as needed.
title="Search in your library"
description="Filter results by category and query."
queryPlaceholder="Search blocks, docs, or templates..."
results={[
{
title: "Dashboard overview",
description:
"A marketing layout built for high-contrast product launches.",
tag: "Landing",
},
{
title: "User onboarding flow",
description: "An onboarding flow with bold CTAs and clear guidance.",
tag: "Onboarding",
},
{
title: "Tiered pricing table",
description: "Pricing table with sharp comparisons and highlights.",
tag: "Pricing",
},
{
title: "Hyperwave search",
description: "Search UX with punchy filters and clean cards.",
tag: "Landing",
},
]}
/>
)
}