Django CarbonDesign

Contents

  • Getting Started
  • Advanced Usage

Carbon Design Components

  • Accordion
  • Breadcrumb
  • Button
  • Checkbox
  • Code Snippet
  • Combo Box
  • Content Switcher
  • Copy Button
  • Data Table
  • Date Picker
  • Dropdown
  • File Uploader
  • Grid
  • Inline Loading
  • Link
  • List
  • List Box
  • Loading
  • Modal
  • Multi Select
  • Notification
  • Number Input
  • Overflow Menu
  • Pagination
  • Pagination Nav
  • Progress Indicator
  • Radio Button
  • Search
  • Select
  • Slider
  • Structured List
  • Tabs
  • Tag
  • Text Area
  • Text Input
  • Tile
  • Time Picker
  • Toggle
  • Toolbar
  • Tooltip
  • UI Shell
  • UI Shell Switcher
Django CarbonDesign
  • »
  • Search
  • View page source

Search

See: https://www.carbondesignsystem.com/components/search/usage/

Search enables users to specify a word or a phrase to find relevant pieces of content without the use of navigation.

Overview

Search offers users a way to explore a website or application using keywords. Search can be used as the primary means of discovering content, or as a filter to aid the user in finding content.

class carbondesign.tags.search.Search(*args, **kwargs)

Search component.

NODE_PROPS = ('id', 'size', 'light')

Extended Template Tag arguments.

CLASS_AND_PROPS = ('label',)

Prepare xxx_class and xxx_props values.

POSSIBLE_SIZE = ('sm', 'lg', 'xl')

Documentation only.

prepare(values, context)

Prepare values for rendering the templates.

render_default(values, context)

Output html of the component.

Previous Next

© Copyright 2022, Fahri Reza <i@dozy.moe>.

Built with Sphinx using a theme provided by Read the Docs.