Skip to content

Commit 6f5a148

Browse files
authored
docs(components): add accordion, breadcrumbs, media, and otp input to components page (#4186)
1 parent e5822ed commit 6f5a148

13 files changed

+46
-20
lines changed

docs/components.md

Lines changed: 46 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,13 @@ Ionic apps are made of high-level building blocks called Components, which allow
2424
<intro-end />
2525

2626
<DocsCards>
27-
<DocsCard header="Action Sheet" href="api/action-sheet" img="/icons/feature-component-actionsheet-icon.png">
28-
<p>Action Sheets display a set of options with the ability to confirm or cancel an action.</p>
29-
</DocsCard>
27+
<DocsCard header="Accordion" href="api/accordion" img="/icons/feature-component-accordion-icon.png">
28+
<p>Accordions provide collapsible sections in your content to reduce vertical space while providing a way of organizing and grouping information.</p>
29+
</DocsCard>
30+
31+
<DocsCard header="Action Sheet" href="api/action-sheet" icon="/icons/component-action-sheet-icon.png">
32+
<p>Action Sheets display a set of options with the ability to confirm or cancel an action.</p>
33+
</DocsCard>
3034

3135
<DocsCard header="Alert" href="api/alert" icon="/icons/component-alert-icon.png">
3236
<p>Alerts are a great way to offer the user the ability to choose a specific action or list of actions.</p>
@@ -36,6 +40,10 @@ Ionic apps are made of high-level building blocks called Components, which allow
3640
<p>Badges are a small component that typically communicate a numerical value to the user.</p>
3741
</DocsCard>
3842

43+
<DocsCard header="Breadcrumbs" href="api/breadcrumbs" icon="/icons/component-breadcrumbs-icon.png">
44+
<p>Breadcrumbs are navigation items that are used to indicate where a user is on an app.</p>
45+
</DocsCard>
46+
3947
<DocsCard header="Button" href="api/button" icon="/icons/component-button-icon.png">
4048
<p>Buttons let your users take action. They're an essential way to interact with and navigate through an app.</p>
4149
</DocsCard>
@@ -57,22 +65,22 @@ Ionic apps are made of high-level building blocks called Components, which allow
5765
<p>Content is the quintessential way to interact with and navigate through an app.</p>
5866
</DocsCard>
5967

60-
<DocsCard header="Date & Time Pickers" href="api/datetime" icon="/icons/component-datetimepicker-icon.png">
68+
<DocsCard header="Date & Time Pickers" href="api/datetime" img="/icons/feature-component-datetime-icon.png">
6169
<p>Date & time pickers are used to present an interface that makes it easy for users to select dates and times.</p>
6270
</DocsCard>
6371

6472
<DocsCard header="Floating Action Button" href="api/fab" icon="/icons/component-fab-icon.png">
6573
<p>Floating action buttons are circular buttons that perform a primary action on a screen.</p>
6674
</DocsCard>
6775

68-
<DocsCard header="Icons" href="api/icon" img="/icons/feature-component-icons-icon.png">
69-
<p>Beautifully designed icons for use in web, iOS, and Android apps.</p>
70-
</DocsCard>
71-
7276
<DocsCard header="Grid" href="api/grid" icon="/icons/component-grid-icon.png">
7377
<p>The grid is a powerful mobile-first system for building custom layouts.</p>
7478
</DocsCard>
7579

80+
<DocsCard header="Icons" href="api/icon" icon="/icons/component-icons-icon.png">
81+
<p>Beautifully designed icons for use in web, iOS, and Android apps.</p>
82+
</DocsCard>
83+
7684
<DocsCard header="Infinite Scroll" href="api/infinite-scroll" icon="/icons/component-infinitescroll-icon.png">
7785
<p>Infinite scroll allows you to load new data as the user scrolls through your app.</p>
7886
</DocsCard>
@@ -81,16 +89,22 @@ Ionic apps are made of high-level building blocks called Components, which allow
8189
<p>Inputs provides a way for users to enter data in your app.</p>
8290
</DocsCard>
8391

84-
<DocsCard header="Item" href="api/item" icon="/icons/component-item-icon.png">
85-
<p>Items are an all-purpose UI container that can be used as part of a list.</p>
92+
<DocsCard header="Item" href="api/item" img="/icons/feature-component-item-icon.png">
93+
<p>
94+
Items are elements that can contain text, icons, avatars, images, inputs, and any other native or custom elements.
95+
Items can be swiped, deleted, reordered, edited, and more.
96+
</p>
8697
</DocsCard>
8798

8899
<DocsCard header="List" href="api/list" icon="/icons/component-lists-icon.png">
89100
<p>Lists can display rows of information, such as a contact list, playlist, or menu.</p>
90101
</DocsCard>
91102

92-
<DocsCard header="Navigation" href="api/nav" img="/icons/feature-component-navigation-icon.png">
93-
<p>Navigation is how users move between different pages in your app.</p>
103+
<DocsCard header="Media" href="api/avatar" icon="/icons/component-media-icon.png">
104+
<p>
105+
A collection of media components, including avatars, icons, images, and thumbnails, designed to enhance visual
106+
content.
107+
</p>
94108
</DocsCard>
95109

96110
<DocsCard header="Menu" href="api/menu" icon="/icons/component-menu-icon.png">
@@ -101,6 +115,14 @@ Ionic apps are made of high-level building blocks called Components, which allow
101115
<p>Modals slide in and off screen to display a temporary UI and are often used for login or sign-up pages.</p>
102116
</DocsCard>
103117

118+
<DocsCard header="Navigation" href="api/nav" icon="/icons/component-navigation-icon.png">
119+
<p>Navigation is how users move between different pages in your app.</p>
120+
</DocsCard>
121+
122+
<DocsCard header="OTP Input" href="api/input-otp" icon="/icons/component-input-otp-icon.png">
123+
<p>OTP inputs offer a simple way to enter one-time passwords using multiple boxes with automatic focus.</p>
124+
</DocsCard>
125+
104126
<DocsCard header="Popover" href="api/popover" icon="/icons/component-popover-icon.png">
105127
<p>Popover provides an easy way to present information or options without changing contexts.</p>
106128
</DocsCard>
@@ -113,14 +135,10 @@ Ionic apps are made of high-level building blocks called Components, which allow
113135
<p>Radio inputs allow you to present a set of exclusive options.</p>
114136
</DocsCard>
115137

116-
<DocsCard header="Refresher" href="api/refresher" icon="/icons/component-refresher-icon.png">
138+
<DocsCard header="Refresher" href="api/refresher" img="/icons/feature-component-refresher-icon.png">
117139
<p>Refresher provides pull-to-refresh functionality on a content component.</p>
118140
</DocsCard>
119141

120-
<DocsCard header="Searchbar" href="api/searchbar" img="/icons/feature-component-search-icon.png">
121-
<p>Searchbar is used to search or filter items, usually from a toolbar.</p>
122-
</DocsCard>
123-
124142
<DocsCard header="Reorder" href="api/reorder" icon="/icons/component-reorder-icon.png">
125143
<p>Reorder lets users drag and drop to reorder a list of items.</p>
126144
</DocsCard>
@@ -129,6 +147,10 @@ Ionic apps are made of high-level building blocks called Components, which allow
129147
<p>Routing allows navigation based on the current path.</p>
130148
</DocsCard>
131149

150+
<DocsCard header="Searchbar" href="api/searchbar" icon="/icons/component-searchbar-icon.png">
151+
<p>Searchbar is used to search or filter items, usually from a toolbar.</p>
152+
</DocsCard>
153+
132154
<DocsCard header="Segment" href="api/segment" icon="/icons/component-segment-icon.png">
133155
<p>Segments provide a set of exclusive buttons that can be used as a filter or view switcher.</p>
134156
</DocsCard>
@@ -149,7 +171,11 @@ Ionic apps are made of high-level building blocks called Components, which allow
149171
<p>Toggles are an input for binary options, often used for options and switches.</p>
150172
</DocsCard>
151173

152-
<DocsCard header="Toolbar" href="api/toolbar" icon="/icons/component-toolbar-icon.png">
153-
<p>Toolbars are used to house information and actions relating to your app.</p>
154-
</DocsCard>
174+
<DocsCard header="Toolbar" href="api/toolbar" icon="/icons/component-toolbar-icon.png">
175+
<p>Toolbars are used to house information and actions relating to your app.</p>
176+
</DocsCard>
177+
178+
<DocsCard header="Typography" href="api/text" icon="/icons/component-typography-icon.png">
179+
<p>Text is used to style or change the color of text within an application.</p>
180+
</DocsCard>
155181
</DocsCards>
2.03 KB
Loading
1.19 KB
Loading

static/icons/component-icons-icon.png

1.12 KB
Loading
1.58 KB
Loading

static/icons/component-media-icon.png

1.47 KB
Loading
1.63 KB
Loading
1.51 KB
Loading
-21 Bytes
Loading
Loading

0 commit comments

Comments
 (0)